Home
last modified time | relevance | path

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

/linux/crypto/
H A Dsha512.c257 #define HMAC_SHA512_KEY(tfm) ((struct hmac_sha512_key *)crypto_shash_ctx(tfm)) macro
263 hmac_sha512_preparekey(HMAC_SHA512_KEY(tfm), raw_key, keylen); in crypto_hmac_sha512_setkey()
269 hmac_sha512_init(HMAC_SHA512_CTX(desc), HMAC_SHA512_KEY(desc->tfm)); in crypto_hmac_sha512_init()
290 hmac_sha512(HMAC_SHA512_KEY(desc->tfm), data, len, out); in crypto_hmac_sha512_digest()
303 ctx->ctx.ostate = HMAC_SHA512_KEY(desc->tfm)->key.ostate; in crypto_hmac_sha512_import()
318 ctx->ctx.ostate = HMAC_SHA512_KEY(desc->tfm)->key.ostate; in crypto_hmac_sha512_import_core()