]> asedeno.scripts.mit.edu Git - linux.git/commit
crypto: gcm - helper functions for assoclen/authsize check
authorIuliana Prodan <iuliana.prodan@nxp.com>
Wed, 31 Jul 2019 13:05:54 +0000 (16:05 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 9 Aug 2019 05:11:41 +0000 (15:11 +1000)
commit65526f638efc6435b9658d45a3ddd07e6fdbbb7d
treefdcca374538f5484e5bafaf6b242f7d405cd763c
parent1bfaac7c53f5cfe9c44d2093263fa50630a81b63
crypto: gcm - helper functions for assoclen/authsize check

Added inline helper functions to check authsize and assoclen for
gcm, rfc4106 and rfc4543.
These are used in the generic implementation of gcm, rfc4106 and
rfc4543.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/gcm.c
include/crypto/gcm.h