Home
last modified time | relevance | path

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

/linux/crypto/
H A Dsha1.c119 #define HMAC_SHA1_KEY(tfm) ((struct hmac_sha1_key *)crypto_shash_ctx(tfm)) macro
125 hmac_sha1_preparekey(HMAC_SHA1_KEY(tfm), raw_key, keylen); in crypto_hmac_sha1_setkey()
131 hmac_sha1_init(HMAC_SHA1_CTX(desc), HMAC_SHA1_KEY(desc->tfm)); in crypto_hmac_sha1_init()
151 hmac_sha1(HMAC_SHA1_KEY(desc->tfm), data, len, out); in crypto_hmac_sha1_digest()
164 ctx->ostate = HMAC_SHA1_KEY(desc->tfm)->ostate; in crypto_hmac_sha1_import()
177 ctx->ostate = HMAC_SHA1_KEY(desc->tfm)->ostate; in crypto_hmac_sha1_import_core()