[PATCH 0/5] lib/crypto: Handle large lengths in poly1305 and chacha20poly1305

Eric Biggers ebiggers at kernel.org
Wed Oct 14 08:29:09 PDT 2026


On Tue, Oct 13, 2026 at 07:35:08PM +0200, Eric Biggers wrote:
> Thanks!  Patches 1-3 look good.  I'm less sure about patches 4-5, since
> they go through some trouble to work around (some implementations of)
> poly1305_blocks() and chacha_crypt_arch() not taking size_t.  Wouldn't
> it make sense to convert those to size_t at the same time?

I think we should just get this out of the way by converting each
algorithm entirely to size_t.  The series
https://lore.kernel.org/r/20261014152604.323310-1-ebiggers@kernel.org
does this.

- Eric



More information about the linux-riscv mailing list