Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/caam/
Dcaamalg_desc.h59 unsigned int icvsize, const bool is_rfc3686,
66 const bool is_rfc3686, u32 *nonce,
71 unsigned int icvsize, const bool is_rfc3686,
100 unsigned int ivsize, const bool is_rfc3686,
104 unsigned int ivsize, const bool is_rfc3686,
108 unsigned int ivsize, const bool is_rfc3686,
Dcaamalg_desc.c217 const bool is_rfc3686, u32 *nonce, int era) in init_sh_desc_key_aead() argument
234 if (is_rfc3686) in init_sh_desc_key_aead()
258 if (is_rfc3686) { in init_sh_desc_key_aead()
294 unsigned int icvsize, const bool is_rfc3686, in cnstr_shdsc_aead_encap() argument
299 init_sh_desc_key_aead(desc, cdata, adata, is_rfc3686, nonce, era); in cnstr_shdsc_aead_encap()
341 if (is_rfc3686) in cnstr_shdsc_aead_encap()
390 const bool is_rfc3686, u32 *nonce, in cnstr_shdsc_aead_decap() argument
394 init_sh_desc_key_aead(desc, cdata, adata, is_rfc3686, nonce, era); in cnstr_shdsc_aead_decap()
455 if (is_rfc3686) in cnstr_shdsc_aead_decap()
507 unsigned int icvsize, const bool is_rfc3686, in cnstr_shdsc_aead_givencap() argument
[all …]
Dcaamalg_qi.c77 const bool is_rfc3686 = alg->caam.rfc3686; in aead_set_sh_desc() local
95 if (is_rfc3686) { in aead_set_sh_desc()
109 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc()
128 ivsize, ctx->authsize, is_rfc3686, nonce, in aead_set_sh_desc()
134 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc()
154 is_rfc3686, nonce, ctx1_iv_off, true, in aead_set_sh_desc()
162 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc()
181 ivsize, ctx->authsize, is_rfc3686, nonce, in aead_set_sh_desc()
603 const bool is_rfc3686 = (ctr_mode && strstr(alg_name, "rfc3686")); in ablkcipher_setkey() local
623 if (is_rfc3686) { in ablkcipher_setkey()
[all …]
Dcaamalg.c182 const bool is_rfc3686 = alg->caam.rfc3686; in aead_set_sh_desc() local
203 if (is_rfc3686) { in aead_set_sh_desc()
220 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc()
241 ctx->authsize, is_rfc3686, nonce, ctx1_iv_off, in aead_set_sh_desc()
252 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc()
273 ctx->authsize, alg->caam.geniv, is_rfc3686, in aead_set_sh_desc()
286 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc()
307 ctx->authsize, is_rfc3686, nonce, in aead_set_sh_desc()
663 const bool is_rfc3686 = (ctr_mode && in ablkcipher_setkey() local
683 if (is_rfc3686) { in ablkcipher_setkey()
[all …]