Home
last modified time | relevance | path

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

/linux/crypto/
H A Dsha256.c251 #define HMAC_SHA256_KEY(tfm) ((struct hmac_sha256_key *)crypto_shash_ctx(tfm)) macro
257 hmac_sha256_preparekey(HMAC_SHA256_KEY(tfm), raw_key, keylen); in crypto_hmac_sha256_setkey()
263 hmac_sha256_init(HMAC_SHA256_CTX(desc), HMAC_SHA256_KEY(desc->tfm)); in crypto_hmac_sha256_init()
284 hmac_sha256(HMAC_SHA256_KEY(desc->tfm), data, len, out); in crypto_hmac_sha256_digest()
297 ctx->ctx.ostate = HMAC_SHA256_KEY(desc->tfm)->key.ostate; in crypto_hmac_sha256_import()
312 ctx->ctx.ostate = HMAC_SHA256_KEY(desc->tfm)->key.ostate; in crypto_hmac_sha256_import_core()