diff options
Diffstat (limited to 'include/crypto/mcryptd.h')
| -rw-r--r-- | include/crypto/mcryptd.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/crypto/mcryptd.h b/include/crypto/mcryptd.h index c23ee1f7ee80..4a53c0d38cd2 100644 --- a/include/crypto/mcryptd.h +++ b/include/crypto/mcryptd.h | |||
| @@ -39,7 +39,7 @@ struct mcryptd_instance_ctx { | |||
| 39 | }; | 39 | }; |
| 40 | 40 | ||
| 41 | struct mcryptd_hash_ctx { | 41 | struct mcryptd_hash_ctx { |
| 42 | struct crypto_shash *child; | 42 | struct crypto_ahash *child; |
| 43 | struct mcryptd_alg_state *alg_state; | 43 | struct mcryptd_alg_state *alg_state; |
| 44 | }; | 44 | }; |
| 45 | 45 | ||
| @@ -59,13 +59,13 @@ struct mcryptd_hash_request_ctx { | |||
| 59 | struct crypto_hash_walk walk; | 59 | struct crypto_hash_walk walk; |
| 60 | u8 *out; | 60 | u8 *out; |
| 61 | int flag; | 61 | int flag; |
| 62 | struct shash_desc desc; | 62 | struct ahash_request areq; |
| 63 | }; | 63 | }; |
| 64 | 64 | ||
| 65 | struct mcryptd_ahash *mcryptd_alloc_ahash(const char *alg_name, | 65 | struct mcryptd_ahash *mcryptd_alloc_ahash(const char *alg_name, |
| 66 | u32 type, u32 mask); | 66 | u32 type, u32 mask); |
| 67 | struct crypto_shash *mcryptd_ahash_child(struct mcryptd_ahash *tfm); | 67 | struct crypto_ahash *mcryptd_ahash_child(struct mcryptd_ahash *tfm); |
| 68 | struct shash_desc *mcryptd_shash_desc(struct ahash_request *req); | 68 | struct ahash_request *mcryptd_ahash_desc(struct ahash_request *req); |
| 69 | void mcryptd_free_ahash(struct mcryptd_ahash *tfm); | 69 | void mcryptd_free_ahash(struct mcryptd_ahash *tfm); |
| 70 | void mcryptd_flusher(struct work_struct *work); | 70 | void mcryptd_flusher(struct work_struct *work); |
| 71 | 71 | ||
