From ebff34563712beec55577cbaf0251b4c0c13d324 Mon Sep 17 00:00:00 2001 From: Thomas Coratger <60488569+tcoratger@users.noreply.github.com> Date: Fri, 13 Dec 2024 16:19:05 +0100 Subject: [PATCH] polyval: fix typo in `karatsuba1` comment (#222) --- polyval/src/backend/pmull.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polyval/src/backend/pmull.rs b/polyval/src/backend/pmull.rs index 82ad6bc..0c9eb53 100644 --- a/polyval/src/backend/pmull.rs +++ b/polyval/src/backend/pmull.rs @@ -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