aboutsummaryrefslogtreecommitdiffstats
path: root/include/crypto/internal/hash.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2008-07-10crypto: hash - Move ahash functions into crypto/hash.hHerbert Xu1-0/+37
All new crypto interfaces should go into individual files as much as possible in order to ensure that crypto.h does not collapse under its own weight. This patch moves the ahash code into crypto/hash.h and crypto/internal/hash.h respectively. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2008-07-10crypto: hash - Added scatter list walking helperHerbert Xu1-0/+41
This patch adds the walking helpers for hash algorithms akin to those of block ciphers. This is a necessary step before we can reimplement existing hash algorithms using the new ahash interface. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>