summaryrefslogtreecommitdiff
path: root/crypto
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
commitee5bbc9fd3a1fb81e9f6103d6c52ab88926a9603 (patch)
tree26829c1bdd2ad3d97871e8d79c6d50a2cf3c876e /crypto
parentcf718eaa8f9b2cb8a372dcfd5ef701188e233558 (diff)
downloadlwn-ee5bbc9fd3a1fb81e9f6103d6c52ab88926a9603.tar.gz
lwn-ee5bbc9fd3a1fb81e9f6103d6c52ab88926a9603.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')
-rw-r--r--crypto/tcrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 0590a9204562..e7fb87e114a5 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