Home
last modified time | relevance | path

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

/linux/drivers/crypto/caam/
H A Dcaamalg_desc.h62 unsigned int icvsize, const bool is_rfc3686,
69 const bool is_rfc3686, u32 *nonce,
74 unsigned int icvsize, const bool is_rfc3686,
108 unsigned int ivsize, const bool is_rfc3686,
112 unsigned int ivsize, const bool is_rfc3686,
H A Dcaamalg_desc.c214 const bool is_rfc3686, u32 *nonce, int era) in init_sh_desc_key_aead() argument
231 if (is_rfc3686) in init_sh_desc_key_aead()
255 if (is_rfc3686) { in init_sh_desc_key_aead()
291 unsigned int icvsize, const bool is_rfc3686, in cnstr_shdsc_aead_encap() argument
296 init_sh_desc_key_aead(desc, cdata, adata, is_rfc3686, nonce, era); in cnstr_shdsc_aead_encap()
338 if (is_rfc3686) in cnstr_shdsc_aead_encap()
387 const bool is_rfc3686, u32 *nonce, in cnstr_shdsc_aead_decap() argument
391 init_sh_desc_key_aead(desc, cdata, adata, is_rfc3686, nonce, era); in cnstr_shdsc_aead_decap()
452 if (is_rfc3686) in cnstr_shdsc_aead_decap()
503 unsigned int icvsize, const bool is_rfc3686, in cnstr_shdsc_aead_givencap() argument
[all …]
H A Dcaamalg_qi.c97 const bool is_rfc3686 = alg->caam.rfc3686; in aead_set_sh_desc() local
115 if (is_rfc3686) { in aead_set_sh_desc()
141 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc()
150 ivsize, ctx->authsize, is_rfc3686, nonce, in aead_set_sh_desc()
156 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc()
166 is_rfc3686, nonce, ctx1_iv_off, true, in aead_set_sh_desc()
174 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc()
183 ivsize, ctx->authsize, is_rfc3686, nonce, in aead_set_sh_desc()
631 const bool is_rfc3686 = alg->caam.rfc3686; in skcipher_setkey() local
643 is_rfc3686, ctx1_iv_off); in skcipher_setkey()
[all …]
H A Dcaamalg.c211 const bool is_rfc3686 = alg->caam.rfc3686; in aead_set_sh_desc() local
232 if (is_rfc3686) { in aead_set_sh_desc()
261 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc()
272 ctx->authsize, is_rfc3686, nonce, ctx1_iv_off, in aead_set_sh_desc()
283 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc()
294 ctx->authsize, alg->caam.geniv, is_rfc3686, in aead_set_sh_desc()
307 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc()
318 ctx->authsize, is_rfc3686, nonce, in aead_set_sh_desc()
755 const bool is_rfc3686 = alg->caam.rfc3686; in skcipher_setkey() local
771 cnstr_shdsc_skcipher_encap(desc, &ctx->cdata, ivsize, is_rfc3686, in skcipher_setkey()
[all …]
H A Dcaamalg_qi2.c189 const bool is_rfc3686 = alg->caam.rfc3686; in aead_set_sh_desc() local
206 if (is_rfc3686) { in aead_set_sh_desc()
230 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc()
243 ivsize, ctx->authsize, is_rfc3686, in aead_set_sh_desc()
248 ivsize, ctx->authsize, is_rfc3686, nonce, in aead_set_sh_desc()
258 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc()
270 is_rfc3686, nonce, ctx1_iv_off, true, in aead_set_sh_desc()
955 const bool is_rfc3686 = alg->caam.rfc3686; in skcipher_setkey() local
967 cnstr_shdsc_skcipher_encap(desc, &ctx->cdata, ivsize, is_rfc3686, in skcipher_setkey()
977 cnstr_shdsc_skcipher_decap(desc, &ctx->cdata, ivsize, is_rfc3686, in skcipher_setkey()