diff options
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2013-04-07 16:43:41 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-04-25 21:01:46 +0800 |
commit | 31dd4d840115fef6f72894c816fc39c46abfd77d (patch) | |
tree | 1cbbbe6eb61c2498bc1e1bf69e2c455b7274372d /crypto/Kconfig | |
parent | 2d77f19bf5b715bba31c0f59bb88d79b5546bc09 (diff) | |
download | linux-crypto-31dd4d840115fef6f72894c816fc39c46abfd77d.tar.gz linux-crypto-31dd4d840115fef6f72894c816fc39c46abfd77d.zip |
crypto: gcm - make GMAC work when dst and src are different
The GMAC code assumes that dst==src, which causes problems when trying to add
rfc4543(gcm(aes)) test vectors.
So fix this code to work when source and destination buffer are different.
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r-- | crypto/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index a654b13a..6cc27f11 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -198,6 +198,7 @@ config CRYPTO_GCM select CRYPTO_CTR select CRYPTO_AEAD select CRYPTO_GHASH + select CRYPTO_NULL help Support for Galois/Counter Mode (GCM) and Galois Message Authentication Code (GMAC). Required for IPSec. |