Home
last modified time | relevance | path

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

/Linux-v6.1/crypto/
Dhmac.c25 struct hmac_ctx { struct
34 static inline struct hmac_ctx *hmac_ctx(struct crypto_shash *tfm) in hmac_ctx() argument
49 struct hmac_ctx *ctx = align_ptr(opad + ss, in hmac_setkey()
97 struct hmac_ctx *ctx = hmac_ctx(pdesc->tfm); in hmac_import()
150 struct hmac_ctx *ctx = hmac_ctx(parent); in hmac_init_tfm()
165 struct hmac_ctx *ctx = hmac_ctx(parent); in hmac_exit_tfm()
219 inst->alg.base.cra_ctxsize = sizeof(struct hmac_ctx) + in hmac_create()
/Linux-v6.1/drivers/crypto/chelsio/
Dchcr_crypto.h243 struct hmac_ctx { struct
251 DECLARE_FLEX_ARRAY(struct hmac_ctx, hmacctx); argument
Dchcr_algo.c109 static inline struct hmac_ctx *HMAC_CTX(struct chcr_context *ctx) in HMAC_CTX()
1566 struct hmac_ctx *hmacctx = HMAC_CTX(ctx); in create_hash_wr()
2197 struct hmac_ctx *hmacctx = HMAC_CTX(h_ctx(tfm)); in chcr_ahash_setkey()
2317 struct hmac_ctx *hmacctx = HMAC_CTX(h_ctx(rtfm)); in chcr_hmac_init()
2340 struct hmac_ctx *hmacctx = HMAC_CTX(ctx); in chcr_hmac_cra_init()
2355 struct hmac_ctx *hmacctx = HMAC_CTX(ctx); in chcr_hmac_cra_exit()
4421 #define SZ_AHASH_H_CTX (sizeof(struct chcr_context) + sizeof(struct hmac_ctx))