diff options
Diffstat (limited to 'crypto/cryptd.c')
| -rw-r--r-- | crypto/cryptd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/cryptd.c b/crypto/cryptd.c index 35335825a4ef..f8ae0d94a647 100644 --- a/crypto/cryptd.c +++ b/crypto/cryptd.c | |||
| @@ -711,6 +711,13 @@ struct crypto_shash *cryptd_ahash_child(struct cryptd_ahash *tfm) | |||
| 711 | } | 711 | } |
| 712 | EXPORT_SYMBOL_GPL(cryptd_ahash_child); | 712 | EXPORT_SYMBOL_GPL(cryptd_ahash_child); |
| 713 | 713 | ||
| 714 | struct shash_desc *cryptd_shash_desc(struct ahash_request *req) | ||
| 715 | { | ||
| 716 | struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); | ||
| 717 | return &rctx->desc; | ||
| 718 | } | ||
| 719 | EXPORT_SYMBOL_GPL(cryptd_shash_desc); | ||
| 720 | |||
| 714 | void cryptd_free_ahash(struct cryptd_ahash *tfm) | 721 | void cryptd_free_ahash(struct cryptd_ahash *tfm) |
| 715 | { | 722 | { |
| 716 | crypto_free_ahash(&tfm->base); | 723 | crypto_free_ahash(&tfm->base); |
