diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-08-30 03:36:14 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:55:39 -0400 |
commit | 1ae978208e2ee9ba1b01d309164bc5e590cd242d (patch) | |
tree | 89dac5bceddd383836de9a4da6cc7d381f374e3f /crypto/Kconfig | |
parent | e2ee95b8c69e542d6afef3f6f38ea598cc146ba7 (diff) |
[CRYPTO] api: Add aead crypto type
This patch adds crypto_aead which is the interface for AEAD
(Authenticated Encryption with Associated Data) algorithms.
AEAD algorithms perform authentication and encryption in one
step. Traditionally users (such as IPsec) would use two
different crypto algorithms to perform these. With AEAD
this comes down to one algorithm and one operation.
Of course if traditional algorithms were used we'd still
be doing two operations underneath. However, real AEAD
algorithms may allow the underlying operations to be
optimised as well.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r-- | crypto/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 981497c89752..f42bc7715f48 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -28,6 +28,10 @@ config CRYPTO_ABLKCIPHER | |||
28 | tristate | 28 | tristate |
29 | select CRYPTO_BLKCIPHER | 29 | select CRYPTO_BLKCIPHER |
30 | 30 | ||
31 | config CRYPTO_AEAD | ||
32 | tristate | ||
33 | select CRYPTO_ALGAPI | ||
34 | |||
31 | config CRYPTO_BLKCIPHER | 35 | config CRYPTO_BLKCIPHER |
32 | tristate | 36 | tristate |
33 | select CRYPTO_ALGAPI | 37 | select CRYPTO_ALGAPI |