]> git.baikalelectronics.ru Git - kernel.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)
commit8df5c52763f54470477bf26bdb56e27cb1eb9bcc
treefdcca374538f5484e5bafaf6b242f7d405cd763c
parent4c761ec82036236dce29301e10f93a6585c3e087
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