Skip to content

Commit

Permalink
polyval: fix typo in karatsuba1 comment (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
tcoratger authored Dec 13, 2024
1 parent 49e0767 commit ebff345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polyval/src/backend/pmull.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ impl Polyval {
unsafe fn karatsuba1(x: uint8x16_t, y: uint8x16_t) -> (uint8x16_t, uint8x16_t, uint8x16_t) {
// First Karatsuba step: decompose x and y.
//
// (x1*y0 + x0*y1) = (x1+x0) * (y1+x0) + (x1*y1) + (x0*y0)
// (x1*y0 + x0*y1) = (x1+x0) * (y1+y0) + (x1*y1) + (x0*y0)
// M H L
//
// m = x.hi^x.lo * y.hi^y.lo
Expand Down

0 comments on commit ebff345

Please sign in to comment.