From: Mark Wooding Date: Tue, 16 Jan 2024 13:46:58 +0000 (+0000) Subject: utils/gcm-ref (poly64_mul_simple): Strip padding off the product. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb/commitdiff_plain/91a8f88843c05f3b10e7da8f6db57f15490aa26e?hp=91a8f88843c05f3b10e7da8f6db57f15490aa26e utils/gcm-ref (poly64_mul_simple): Strip padding off the product. Rather than leaving this job to the caller. I'm going to decree that it's the presentation-function's job to show padding in the right place, rather than the multiplier's job to retain it. This means that we need to keep track of the padding properly, but it's pretty easy. The most important effect is that there's no longer a rather strange bodge in `poly64_common' to strip the padding in one particular case because `poly64_mul_simple' has done it properly in every case. ---