summaryrefslogtreecommitdiffstats
path: root/include/crypto/gcm.h
Commit message (Collapse)AuthorAgeFilesLines
* crypto: gcm - helper functions for assoclen/authsize checkIuliana Prodan2019-08-091-0/+55
| | | | | | | | | | 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 - add GCM IV size constantCorentin LABBE2017-09-221-0/+8
Many GCM users use directly GCM IV size instead of using some constant. This patch add all IV size constant used by GCM. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>