fix comment issue

The algorithm is not karatsuba multiplication.

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2023-03-13 10:09:34 +08:00
parent 1ac7f6b09d
commit 49b4367eee

View file

@ -310,8 +310,8 @@ static inline uint8x16_t pmull_high(uint8x16_t a, uint8x16_t b)
vreinterpretq_p64_u8(b)));
}
/* GHASH do 128b karatsuba polynomial multiplication on block on GF(2^128)
* defined by `x^128 + x^7 + x^2 + x + 1`.
/* GHASH do 128b polynomial multiplication on block on GF(2^128) defined by
* `x^128 + x^7 + x^2 + x + 1`.
*
* Arm64 only has 64b->128b polynomial multipliers, we need to do 4 64b
* multiplies to generate a 128b.