summaryrefslogtreecommitdiff
path: root/arch/arm/crypto/nhpoly1305-neon-glue.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/crypto/nhpoly1305-neon-glue.c')
-rw-r--r--arch/arm/crypto/nhpoly1305-neon-glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/crypto/nhpoly1305-neon-glue.c b/arch/arm/crypto/nhpoly1305-neon-glue.c
index ae5aefc44a4d..ffa8d73fe722 100644
--- a/arch/arm/crypto/nhpoly1305-neon-glue.c
+++ b/arch/arm/crypto/nhpoly1305-neon-glue.c
@@ -30,7 +30,7 @@ static int nhpoly1305_neon_update(struct shash_desc *desc,
return crypto_nhpoly1305_update(desc, src, srclen);
do {
- unsigned int n = min_t(unsigned int, srclen, PAGE_SIZE);
+ unsigned int n = min_t(unsigned int, srclen, SZ_4K);
kernel_neon_begin();
crypto_nhpoly1305_update_helper(desc, src, n, _nh_neon);