diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2006-08-19 08:24:23 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2006-09-20 21:46:17 -0400 |
commit | 055bcee3102dc35f019b69df9c2618e9d6dd1c09 (patch) | |
tree | 3f7c68abbbb5041d570e4cb8588f3943530bc0b7 /crypto/Kconfig | |
parent | 7226bc877a22244e8003924031435a4bffd52654 (diff) |
[CRYPTO] digest: Added user API for new hash type
The existing digest user interface is inadequate for support asynchronous
operations. For one it doesn't return a value to indicate success or
failure, nor does it take a per-operation descriptor which is essential
for the issuing of requests while other requests are still outstanding.
This patch is the first in a series of steps to remodel the interface
for asynchronous operations.
For the ease of transition the new interface will be known as "hash"
while the old one will remain as "digest".
This patch also changes sg_next to allow chaining.
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 be5eb0cb7c30..69c5f992bcd4 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -20,6 +20,10 @@ config CRYPTO_BLKCIPHER | |||
20 | tristate | 20 | tristate |
21 | select CRYPTO_ALGAPI | 21 | select CRYPTO_ALGAPI |
22 | 22 | ||
23 | config CRYPTO_HASH | ||
24 | tristate | ||
25 | select CRYPTO_ALGAPI | ||
26 | |||
23 | config CRYPTO_MANAGER | 27 | config CRYPTO_MANAGER |
24 | tristate "Cryptographic algorithm manager" | 28 | tristate "Cryptographic algorithm manager" |
25 | select CRYPTO_ALGAPI | 29 | select CRYPTO_ALGAPI |