Re: [PATCH 0/5] lib/crypto: Handle large lengths in poly1305 and chacha20poly1305
From: Eric Biggers
Date: Wed Oct 14 2026 - 11:39:54 EST
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@xxxxxxxxxx
does this.
- Eric