mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 02:23:05 +00:00
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:0f961f9f67("crypto: x86/nhpoly1305 - add AVX2 accelerated NHPoly1305") Fixes:012c82388c("crypto: x86/nhpoly1305 - add SSE2 accelerated NHPoly1305") Fixes:a00fa0c887("crypto: arm64/nhpoly1305 - add NEON-accelerated NHPoly1305") Fixes:16aae3595a("crypto: arm/nhpoly1305 - add NEON-accelerated NHPoly1305") Cc: [email protected] Signed-off-by: Jason A. Donenfeld <[email protected]> Reviewed-by: Eric Biggers <[email protected]> Signed-off-by: Herbert Xu <[email protected]>