diff options
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2013-04-07 15:43:41 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-04-25 15:01:46 +0200 |
commit | 9489667d3e3d39ba452037585e48a89ce44ccbfe (patch) | |
tree | 130eaf3e4184eea42dc5f5ff409cf0b4f76fa76e /crypto/Kconfig | |
parent | hwrng: timeriomem - added devicetree hooks (diff) | |
download | linux-9489667d3e3d39ba452037585e48a89ce44ccbfe.tar.xz linux-9489667d3e3d39ba452037585e48a89ce44ccbfe.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 a654b13ae004..6cc27f111551 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. |