Home
last modified time | relevance | path

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

/Linux-v4.19/crypto/
Dhmac.c29 struct hmac_ctx { struct
38 static inline struct hmac_ctx *hmac_ctx(struct crypto_shash *tfm) in hmac_ctx() function
53 struct hmac_ctx *ctx = align_ptr(opad + ss, in hmac_setkey()
102 struct hmac_ctx *ctx = hmac_ctx(pdesc->tfm); in hmac_import()
163 struct hmac_ctx *ctx = hmac_ctx(parent); in hmac_init_tfm()
178 struct hmac_ctx *ctx = hmac_ctx(__crypto_shash_cast(tfm)); in hmac_exit_tfm()
229 inst->alg.base.cra_ctxsize = sizeof(struct hmac_ctx) + in hmac_create()
/Linux-v4.19/drivers/crypto/chelsio/
Dchcr_crypto.h242 struct hmac_ctx { struct
249 struct hmac_ctx hmacctx[0]; argument
Dchcr_algo.c109 static inline struct hmac_ctx *HMAC_CTX(struct chcr_context *ctx) in HMAC_CTX()
1473 struct hmac_ctx *hmacctx = HMAC_CTX(h_ctx(tfm)); in create_hash_wr()
2033 struct hmac_ctx *hmacctx = HMAC_CTX(h_ctx(tfm)); in chcr_ahash_setkey()
2139 struct hmac_ctx *hmacctx = HMAC_CTX(h_ctx(rtfm)); in chcr_hmac_init()
2162 struct hmac_ctx *hmacctx = HMAC_CTX(ctx); in chcr_hmac_cra_init()
2177 struct hmac_ctx *hmacctx = HMAC_CTX(ctx); in chcr_hmac_cra_exit()
4216 #define SZ_AHASH_H_CTX (sizeof(struct chcr_context) + sizeof(struct hmac_ctx))