Home
last modified time | relevance | path

Searched refs:HMAC_SHA1_CTX (Results 1 – 1 of 1) sorted by relevance

/linux/crypto/
H A Dsha1.c120 #define HMAC_SHA1_CTX(desc) ((struct hmac_sha1_ctx *)shash_desc_ctx(desc)) macro
131 hmac_sha1_init(HMAC_SHA1_CTX(desc), HMAC_SHA1_KEY(desc->tfm)); in crypto_hmac_sha1_init()
138 hmac_sha1_update(HMAC_SHA1_CTX(desc), data, len); in crypto_hmac_sha1_update()
144 hmac_sha1_final(HMAC_SHA1_CTX(desc), out); in crypto_hmac_sha1_final()
157 return __crypto_sha1_export(&HMAC_SHA1_CTX(desc)->sha_ctx, out); in crypto_hmac_sha1_export()
162 struct hmac_sha1_ctx *ctx = HMAC_SHA1_CTX(desc); in crypto_hmac_sha1_import()
170 return __crypto_sha1_export_core(&HMAC_SHA1_CTX(desc)->sha_ctx, out); in crypto_hmac_sha1_export_core()
175 struct hmac_sha1_ctx *ctx = HMAC_SHA1_CTX(desc); in crypto_hmac_sha1_import_core()