Skip to content

Commit ee5bbc9

Browse files
Ard Biesheuvelherbertx
authored andcommitted
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>
1 parent cf718ea commit ee5bbc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crypto/tcrypt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ static char *check[] = {
8181
NULL
8282
};
8383

84-
static u32 block_sizes[] = { 16, 64, 256, 1024, 8192, 0 };
84+
static u32 block_sizes[] = { 16, 64, 256, 1024, 1472, 8192, 0 };
8585
static u32 aead_sizes[] = { 16, 64, 256, 512, 1024, 2048, 4096, 8192, 0 };
8686

8787
#define XBUFSIZE 8

0 commit comments

Comments
 (0)