diff options
Diffstat (limited to 'include/crypto/internal/hash.h')
-rw-r--r-- | include/crypto/internal/hash.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/crypto/internal/hash.h b/include/crypto/internal/hash.h index 1d4f365d8f03..f6d9af3efa45 100644 --- a/include/crypto/internal/hash.h +++ b/include/crypto/internal/hash.h | |||
@@ -166,6 +166,16 @@ static inline struct ahash_instance *ahash_alloc_instance( | |||
166 | return crypto_alloc_instance2(name, alg, ahash_instance_headroom()); | 166 | return crypto_alloc_instance2(name, alg, ahash_instance_headroom()); |
167 | } | 167 | } |
168 | 168 | ||
169 | static inline void ahash_request_complete(struct ahash_request *req, int err) | ||
170 | { | ||
171 | req->base.complete(&req->base, err); | ||
172 | } | ||
173 | |||
174 | static inline u32 ahash_request_flags(struct ahash_request *req) | ||
175 | { | ||
176 | return req->base.flags; | ||
177 | } | ||
178 | |||
169 | static inline struct crypto_ahash *crypto_spawn_ahash( | 179 | static inline struct crypto_ahash *crypto_spawn_ahash( |
170 | struct crypto_ahash_spawn *spawn) | 180 | struct crypto_ahash_spawn *spawn) |
171 | { | 181 | { |