Home
last modified time | relevance | path

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

/linux/crypto/
H A Dsha256.c185 #define HMAC_SHA224_CTX(desc) ((struct hmac_sha224_ctx *)shash_desc_ctx(desc)) macro
196 hmac_sha224_init(HMAC_SHA224_CTX(desc), HMAC_SHA224_KEY(desc->tfm)); in crypto_hmac_sha224_init()
203 hmac_sha224_update(HMAC_SHA224_CTX(desc), data, len); in crypto_hmac_sha224_update()
209 hmac_sha224_final(HMAC_SHA224_CTX(desc), out); in crypto_hmac_sha224_final()
223 return __crypto_sha256_export(&HMAC_SHA224_CTX(desc)->ctx.sha_ctx, out); in crypto_hmac_sha224_export()
228 struct hmac_sha224_ctx *ctx = HMAC_SHA224_CTX(desc); in crypto_hmac_sha224_import()
236 return __crypto_sha256_export_core(&HMAC_SHA224_CTX(desc)->ctx.sha_ctx, in crypto_hmac_sha224_export_core()
243 struct hmac_sha224_ctx *ctx = HMAC_SHA224_CTX(desc); in crypto_hmac_sha224_import_core()