Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4b400d17 authored by Bernhard Thoben's avatar Bernhard Thoben
Browse files

include: crypto: Added missing function declaration.

Change-Id: I6aebce09e029a8770f9eb61234d572567b1c47bf
parent 9f0cbfb4
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -260,6 +260,12 @@ static inline void ahash_request_free(struct ahash_request *req)
	kzfree(req);
}

static inline void ahash_request_zero(struct ahash_request *req)
{
	memzero_explicit(req, sizeof(*req) +
			      crypto_ahash_reqsize(crypto_ahash_reqtfm(req)));
}

static inline struct ahash_request *ahash_request_cast(
	struct crypto_async_request *req)
{