]> git.baikalelectronics.ru Git - kernel.git/commit
[CRYPTO] digest: Added user API for new hash type
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 19 Aug 2006 12:24:23 +0000 (22:24 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 Sep 2006 01:46:17 +0000 (11:46 +1000)
commit0630fcd67d20aff2e720cf74545ef5c9178b3b66
tree3f7c68abbbb5041d570e4cb8588f3943530bc0b7
parent315a4d33603169e1a3e32765b85af96b66960bce
[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>
crypto/Kconfig
crypto/Makefile
crypto/digest.c
crypto/hash.c [new file with mode: 0644]
crypto/hmac.c
crypto/scatterwalk.h
include/crypto/algapi.h
include/linux/crypto.h