/drivers/crypto/caam/ |
D | caamhash.c | 103 int ctx_len; member 143 int ctx_len) in map_seq_out_ptr_ctx() argument 145 state->ctx_dma_len = ctx_len; in map_seq_out_ptr_ctx() 147 ctx_len, DMA_FROM_DEVICE); in map_seq_out_ptr_ctx() 154 append_seq_out_ptr(desc, state->ctx_dma, ctx_len, 0); in map_seq_out_ptr_ctx() 184 struct caam_hash_state *state, int ctx_len, in ctx_map_to_sec4_sg() argument 187 state->ctx_dma_len = ctx_len; in ctx_map_to_sec4_sg() 188 state->ctx_dma = dma_map_single(jrdev, state->caam_ctx, ctx_len, flag); in ctx_map_to_sec4_sg() 195 dma_to_sec4_sg_one(sec4_sg, state->ctx_dma, ctx_len, 0); in ctx_map_to_sec4_sg() 212 cnstr_shdsc_ahash(desc, &ctx->adata, OP_ALG_AS_UPDATE, ctx->ctx_len, in ahash_set_sh_desc() [all …]
|
D | caamhash_desc.c | 29 int digestsize, int ctx_len, bool import_ctx, int era) in cnstr_shdsc_ahash() argument 58 append_seq_load(desc, ctx_len, LDST_CLASS_2_CCB | in cnstr_shdsc_ahash() 88 int digestsize, int ctx_len) in cnstr_shdsc_sk_hash() argument 110 append_seq_load(desc, ctx_len, LDST_CLASS_1_CCB | in cnstr_shdsc_sk_hash()
|
D | caamhash_desc.h | 25 int digestsize, int ctx_len, bool import_ctx, int era); 28 int digestsize, int ctx_len);
|
D | caamalg_qi2.c | 3062 int ctx_len; member 3115 struct caam_hash_state *state, int ctx_len, in ctx_map_to_qm_sg() argument 3118 state->ctx_dma_len = ctx_len; in ctx_map_to_qm_sg() 3119 state->ctx_dma = dma_map_single(dev, state->caam_ctx, ctx_len, flag); in ctx_map_to_qm_sg() 3126 dma_to_qm_sg_one(qm_sg, state->ctx_dma, ctx_len, 0); in ctx_map_to_qm_sg() 3142 cnstr_shdsc_ahash(desc, &ctx->adata, OP_ALG_AS_UPDATE, ctx->ctx_len, in ahash_set_sh_desc() 3143 ctx->ctx_len, true, priv->sec_attr.era); in ahash_set_sh_desc() 3154 cnstr_shdsc_ahash(desc, &ctx->adata, OP_ALG_AS_INIT, ctx->ctx_len, in ahash_set_sh_desc() 3155 ctx->ctx_len, false, priv->sec_attr.era); in ahash_set_sh_desc() 3167 ctx->ctx_len, true, priv->sec_attr.era); in ahash_set_sh_desc() [all …]
|
/drivers/crypto/chelsio/ |
D | chcr_algo.h | 170 #define FILL_KEY_CTX_HDR(ck_size, mk_size, d_ck, opad, ctx_len) \ argument 177 KEY_CONTEXT_CTX_LEN_V((ctx_len))) 179 #define FILL_KEY_CRX_HDR(ck_size, mk_size, d_ck, opad, ctx_len) \ argument 186 TLS_KEYCTX_RXFLIT_CNT_V((ctx_len)))
|
/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
D | chcr_common.h | 51 #define FILL_KEY_CTX_HDR(ck_size, mk_size, ctx_len) \ argument 56 KEY_CONTEXT_CTX_LEN_V((ctx_len)))
|
/drivers/crypto/ccp/ |
D | ccp-crypto-sha.c | 140 rctx->cmd.u.sha.ctx_len = SHA1_DIGEST_SIZE; in ccp_do_sha_update() 143 rctx->cmd.u.sha.ctx_len = SHA224_DIGEST_SIZE; in ccp_do_sha_update() 146 rctx->cmd.u.sha.ctx_len = SHA256_DIGEST_SIZE; in ccp_do_sha_update() 149 rctx->cmd.u.sha.ctx_len = SHA384_DIGEST_SIZE; in ccp_do_sha_update() 152 rctx->cmd.u.sha.ctx_len = SHA512_DIGEST_SIZE; in ccp_do_sha_update()
|
D | ccp-ops.c | 1505 if (sha->ctx_len < SHA1_DIGEST_SIZE) in ccp_run_sha_cmd() 1510 if (sha->ctx_len < SHA224_DIGEST_SIZE) in ccp_run_sha_cmd() 1515 if (sha->ctx_len < SHA256_DIGEST_SIZE) in ccp_run_sha_cmd() 1521 || sha->ctx_len < SHA384_DIGEST_SIZE) in ccp_run_sha_cmd() 1527 || sha->ctx_len < SHA512_DIGEST_SIZE) in ccp_run_sha_cmd() 1808 hmac_cmd.u.sha.ctx_len = sha->ctx_len; in ccp_run_sha_cmd()
|