summaryrefslogtreecommitdiff
path: root/crypto/tcrypt.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2018-12-04 14:13:31 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-12-13 18:24:40 +0800
commit4ba17f69bb210cc61a15ac64547994be7ad46100 (patch)
tree74da03ed9f6fcc001bb2f975f4c583fbb7732df8 /crypto/tcrypt.c
parent34a1f4a16e4f4a2176b575b5e4667b9cf30e7143 (diff)
downloadlinux-crypto-4ba17f69bb210cc61a15ac64547994be7ad46100.tar.gz
linux-crypto-4ba17f69bb210cc61a15ac64547994be7ad46100.zip
crypto: tcrypt - add block size of 1472 to skcipher template
In order to have better coverage of algorithms operating on block sizes that are in the ballpark of a VPN packet, add 1472 to the block_sizes array. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/tcrypt.c')
-rw-r--r--crypto/tcrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 0590a920..e7fb87e1 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -81,7 +81,7 @@ static char *check[] = {
NULL
};
-static u32 block_sizes[] = { 16, 64, 256, 1024, 8192, 0 };
+static u32 block_sizes[] = { 16, 64, 256, 1024, 1472, 8192, 0 };
static u32 aead_sizes[] = { 16, 64, 256, 512, 1024, 2048, 4096, 8192, 0 };
#define XBUFSIZE 8