Searched refs:HMAC_SHA512_CTX (Results 1 – 1 of 1) sorted by relevance
258 #define HMAC_SHA512_CTX(desc) ((struct hmac_sha512_ctx *)shash_desc_ctx(desc)) macro269 hmac_sha512_init(HMAC_SHA512_CTX(desc), HMAC_SHA512_KEY(desc->tfm)); in crypto_hmac_sha512_init()276 hmac_sha512_update(HMAC_SHA512_CTX(desc), data, len); in crypto_hmac_sha512_update()282 hmac_sha512_final(HMAC_SHA512_CTX(desc), out); in crypto_hmac_sha512_final()296 return __crypto_sha512_export(&HMAC_SHA512_CTX(desc)->ctx.sha_ctx, out); in crypto_hmac_sha512_export()301 struct hmac_sha512_ctx *ctx = HMAC_SHA512_CTX(desc); in crypto_hmac_sha512_import()309 return __crypto_sha512_export_core(&HMAC_SHA512_CTX(desc)->ctx.sha_ctx, in crypto_hmac_sha512_export_core()316 struct hmac_sha512_ctx *ctx = HMAC_SHA512_CTX(desc); in crypto_hmac_sha512_import_core()