Loading include/crypto/hash.h +6 −0 Original line number Diff line number Diff line Loading @@ -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) { Loading Loading
include/crypto/hash.h +6 −0 Original line number Diff line number Diff line Loading @@ -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) { Loading