Searched refs:HMAC_SHA256_CTX (Results 1 – 1 of 1) sorted by relevance
252 #define HMAC_SHA256_CTX(desc) ((struct hmac_sha256_ctx *)shash_desc_ctx(desc)) macro263 hmac_sha256_init(HMAC_SHA256_CTX(desc), HMAC_SHA256_KEY(desc->tfm)); in crypto_hmac_sha256_init()270 hmac_sha256_update(HMAC_SHA256_CTX(desc), data, len); in crypto_hmac_sha256_update()276 hmac_sha256_final(HMAC_SHA256_CTX(desc), out); in crypto_hmac_sha256_final()290 return __crypto_sha256_export(&HMAC_SHA256_CTX(desc)->ctx.sha_ctx, out); in crypto_hmac_sha256_export()295 struct hmac_sha256_ctx *ctx = HMAC_SHA256_CTX(desc); in crypto_hmac_sha256_import()303 return __crypto_sha256_export_core(&HMAC_SHA256_CTX(desc)->ctx.sha_ctx, in crypto_hmac_sha256_export_core()310 struct hmac_sha256_ctx *ctx = HMAC_SHA256_CTX(desc); in crypto_hmac_sha256_import_core()