utils/gcm-ref (poly64_mul_simple): Pad v based on the length of v.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 16 Jan 2024 13:36:33 +0000 (13:36 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 16 Jan 2024 13:44:00 +0000 (13:44 +0000)
commit1dfa221e51f3c5cae10eac71657f4ad1dbc4d91c
tree60413f9d4ab7285ee14eaa3098da16bd4156405b
parent58094286b7ee355f281f41c2ba5b6fe9869e4743
utils/gcm-ref (poly64_mul_simple): Pad v based on the length of v.

Not the already-padded length of u, which doesn't make any sense.  Now
we actually calculate 96-bit products correctly using the `poly64'
multiplication machinery.
utils/gcm-ref