Searched refs:hmac_ctx (Results 1 – 4 of 4) sorted by relevance
25 struct hmac_ctx { struct34 static inline struct hmac_ctx *hmac_ctx(struct crypto_shash *tfm) in hmac_ctx() function49 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 *sctx = hmac_ctx(src); in hmac_clone_tfm()166 struct hmac_ctx *dctx = hmac_ctx(dst); in hmac_clone_tfm()179 struct hmac_ctx *ctx = hmac_ctx(parent); in hmac_exit_tfm()234 inst->alg.base.cra_ctxsize = sizeof(struct hmac_ctx) + in hmac_create()
243 struct hmac_ctx { struct251 struct hmac_ctx hmacctx; argument
109 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()2318 struct hmac_ctx *hmacctx = HMAC_CTX(h_ctx(rtfm)); in chcr_hmac_init()2341 struct hmac_ctx *hmacctx = HMAC_CTX(ctx); in chcr_hmac_cra_init()2356 struct hmac_ctx *hmacctx = HMAC_CTX(ctx); in chcr_hmac_cra_exit()4423 #define SZ_AHASH_H_CTX (sizeof(struct chcr_context) + sizeof(struct hmac_ctx))
1862 struct hmac_sm3_ctx hmac_ctx;1872 hmac_sm3_set_key(&hmac_ctx, 32, data);1873 hmac_sm3_update(&hmac_ctx, 64, data);1874 hmac_sm3_digest(&hmac_ctx, 32, output);