]> asedeno.scripts.mit.edu Git - linux.git/commit
crypto: api - Extend algorithm name limit to 128 bytes
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 6 Apr 2017 08:16:11 +0000 (16:16 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 10 Apr 2017 11:17:27 +0000 (19:17 +0800)
commitf437a3f477cce402dbec6537b29e9e33962c9f73
tree29e0a8cb8d08330954af0eb065bc7c4adbc3a504
parent633439f5b7e9e2a88fb2ead38bc12c5061897cf2
crypto: api - Extend algorithm name limit to 128 bytes

With the new explicit IV generators, we may now exceed the 64-byte
length limit on the algorithm name, e.g., with

echainiv(authencesn(hmac(sha256-generic),cbc(des3_ede-generic)))

This patch extends the length limit to 128 bytes.

Reported-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Tested-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
include/linux/crypto.h