On Wed, Apr 22, 2020 at 05:18:54PM -0600, Jason A. Donenfeld wrote: > Rather than chunking via PAGE_SIZE, this commit changes the arch > implementations to chunk in explicit 4k parts, so that calculations on > maximum acceptable latency don't suddenly become invalid on platforms > where PAGE_SIZE isn't 4k, such as arm64. > > Fixes: 0f961f9f670e ("crypto: x86/nhpoly1305 - add AVX2 accelerated NHPoly1305") > Fixes: 012c82388c03 ("crypto: x86/nhpoly1305 - add SSE2 accelerated NHPoly1305") > Fixes: a00fa0c88774 ("crypto: arm64/nhpoly1305 - add NEON-accelerated NHPoly1305") > Fixes: 16aae3595a9d ("crypto: arm/nhpoly1305 - add NEON-accelerated NHPoly1305") > Cc: Eric Biggers <ebiggers@xxxxxxxxxx> > Cc: stable@xxxxxxxxxxxxxxx > Signed-off-by: Jason A. Donenfeld <Jason@xxxxxxxxx> arm64 normally uses PAGE_SIZE == 4k, so this commit message is a little misleading. Anyway, I agree with using 4k, so: Reviewed-by: Eric Biggers <ebiggers@xxxxxxxxxx> - Eric