diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-12 09:25:20 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-14 00:58:08 -0400 |
commit | 7eddf95ec5440d60f10963f453e27f82f394044e (patch) | |
tree | 4b1ba4bbf01f381a45d5bd6d26811f51ab81a3ff /include | |
parent | 6941c3a0aabb6ad4167827360f384e9daed7dd7f (diff) |
crypto: shash - Export async functions
This patch exports the async functions so that they can be reused
by cryptd when it switches over to using shash.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include')
-rw-r--r-- | include/crypto/internal/hash.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/crypto/internal/hash.h b/include/crypto/internal/hash.h index 2d1b10f23c91..6e283495374e 100644 --- a/include/crypto/internal/hash.h +++ b/include/crypto/internal/hash.h | |||
@@ -63,6 +63,9 @@ int crypto_init_shash_spawn(struct crypto_shash_spawn *spawn, | |||
63 | 63 | ||
64 | struct shash_alg *shash_attr_alg(struct rtattr *rta, u32 type, u32 mask); | 64 | struct shash_alg *shash_attr_alg(struct rtattr *rta, u32 type, u32 mask); |
65 | 65 | ||
66 | int shash_ahash_update(struct ahash_request *req, struct shash_desc *desc); | ||
67 | int shash_ahash_digest(struct ahash_request *req, struct shash_desc *desc); | ||
68 | |||
66 | static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) | 69 | static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) |
67 | { | 70 | { |
68 | return crypto_tfm_ctx(&tfm->base); | 71 | return crypto_tfm_ctx(&tfm->base); |