diff options
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2013-04-08 03:48:44 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-04-25 09:01:47 -0400 |
commit | 93b5e86a6d13c5dec18c6611933fb38d7d80f0d2 (patch) | |
tree | d30e88d098a44877a8701320f2a17073da37ff71 /crypto/Kconfig | |
parent | e448370d7377f064c2fef55f72e9b45184bf0926 (diff) |
crypto: add CMAC support to CryptoAPI
Patch adds support for NIST recommended block cipher mode CMAC to CryptoAPI.
This work is based on Tom St Denis' earlier patch,
http://marc.info/?l=linux-crypto-vger&m=135877306305466&w=2
Cc: Tom St Denis <tstdenis@elliptictech.com>
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r-- | crypto/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 6cc27f111551..c1142f31a00c 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -283,6 +283,17 @@ config CRYPTO_XTS | |||
283 | 283 | ||
284 | comment "Hash modes" | 284 | comment "Hash modes" |
285 | 285 | ||
286 | config CRYPTO_CMAC | ||
287 | tristate "CMAC support" | ||
288 | select CRYPTO_HASH | ||
289 | select CRYPTO_MANAGER | ||
290 | help | ||
291 | Cipher-based Message Authentication Code (CMAC) specified by | ||
292 | The National Institute of Standards and Technology (NIST). | ||
293 | |||
294 | https://tools.ietf.org/html/rfc4493 | ||
295 | http://csrc.nist.gov/publications/nistpubs/800-38B/SP_800-38B.pdf | ||
296 | |||
286 | config CRYPTO_HMAC | 297 | config CRYPTO_HMAC |
287 | tristate "HMAC support" | 298 | tristate "HMAC support" |
288 | select CRYPTO_HASH | 299 | select CRYPTO_HASH |