crypto: gcm - add GCM IV size constant
authorCorentin LABBE <clabbe.montjoie@gmail.com>
Tue, 22 Aug 2017 08:08:08 +0000 (10:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Feb 2018 16:38:49 +0000 (17:38 +0100)
commitcffaf2b6b179227b31f8e21d7f65b68630fc6606
treef80258536599a28c4bf2a5a9252289d8b48d04d8
parente50f1d7c0d0747378aa49cf5ef4863dcebd6a485
crypto: gcm - add GCM IV size constant

commit ef780324592dd639e4bfbc5b9bf8934b234b7c99 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/crypto/gcm.h [new file with mode: 0644]