diff options
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2013-04-07 09:43:41 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-04-25 09:01:46 -0400 |
commit | 9489667d3e3d39ba452037585e48a89ce44ccbfe (patch) | |
tree | 130eaf3e4184eea42dc5f5ff409cf0b4f76fa76e /crypto/Kconfig | |
parent | b149a30d87d165e1079163fdab6f14e48b2f57b2 (diff) |
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 | |||
198 | select CRYPTO_CTR | 198 | select CRYPTO_CTR |
199 | select CRYPTO_AEAD | 199 | select CRYPTO_AEAD |
200 | select CRYPTO_GHASH | 200 | select CRYPTO_GHASH |
201 | select CRYPTO_NULL | ||
201 | help | 202 | help |
202 | Support for Galois/Counter Mode (GCM) and Galois Message | 203 | Support for Galois/Counter Mode (GCM) and Galois Message |
203 | Authentication Code (GMAC). Required for IPSec. | 204 | Authentication Code (GMAC). Required for IPSec. |