Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/crypto/caam/
H A 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,
105 unsigned int ivsize, const bool is_rfc3686,
109 unsigned int ivsize, const bool is_rfc3686,
H A Dcaamalg_desc.c213 const bool is_rfc3686, u32 *nonce, int era) in init_sh_desc_key_aead() argument
230 if (is_rfc3686) in init_sh_desc_key_aead()
254 if (is_rfc3686) { in init_sh_desc_key_aead()
290 unsigned int icvsize, const bool is_rfc3686, in cnstr_shdsc_aead_encap() argument
295 init_sh_desc_key_aead(desc, cdata, adata, is_rfc3686, nonce, era); in cnstr_shdsc_aead_encap()
337 if (is_rfc3686) in cnstr_shdsc_aead_encap()
386 const bool is_rfc3686, u32 *nonce, in cnstr_shdsc_aead_decap() argument
390 init_sh_desc_key_aead(desc, cdata, adata, is_rfc3686, nonce, era); in cnstr_shdsc_aead_decap()
451 if (is_rfc3686) in cnstr_shdsc_aead_decap()
502 unsigned int icvsize, const bool is_rfc3686, in cnstr_shdsc_aead_givencap() argument
[all …]
H A Dcaamalg.c196 const bool is_rfc3686 = alg->caam.rfc3686; in aead_set_sh_desc() local
217 if (is_rfc3686) { in aead_set_sh_desc()
246 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc()
257 ctx->authsize, is_rfc3686, nonce, ctx1_iv_off, in aead_set_sh_desc()
268 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc()
279 ctx->authsize, alg->caam.geniv, is_rfc3686, in aead_set_sh_desc()
292 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc()
303 ctx->authsize, is_rfc3686, nonce, in aead_set_sh_desc()
739 const bool is_rfc3686 = alg->caam.rfc3686; in skcipher_setkey() local
750 cnstr_shdsc_skcipher_encap(desc, &ctx->cdata, ivsize, is_rfc3686, in skcipher_setkey()
[all …]
H A Dcaamalg_qi.c92 const bool is_rfc3686 = alg->caam.rfc3686; in aead_set_sh_desc() local
110 if (is_rfc3686) { in aead_set_sh_desc()
136 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc()
145 ivsize, ctx->authsize, is_rfc3686, nonce, in aead_set_sh_desc()
151 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc()
161 is_rfc3686, nonce, ctx1_iv_off, true, in aead_set_sh_desc()
169 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc()
178 ivsize, ctx->authsize, is_rfc3686, nonce, in aead_set_sh_desc()
626 const bool is_rfc3686 = alg->caam.rfc3686; in skcipher_setkey() local
638 is_rfc3686, ctx1_iv_off); in skcipher_setkey()
[all …]
H A Dcaamalg_qi2.c183 const bool is_rfc3686 = alg->caam.rfc3686; in aead_set_sh_desc() local
200 if (is_rfc3686) { in aead_set_sh_desc()
224 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc()
237 ivsize, ctx->authsize, is_rfc3686, in aead_set_sh_desc()
242 ivsize, ctx->authsize, is_rfc3686, nonce, in aead_set_sh_desc()
252 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc()
264 is_rfc3686, nonce, ctx1_iv_off, true, in aead_set_sh_desc()
948 const bool is_rfc3686 = alg->caam.rfc3686; in skcipher_setkey() local
960 cnstr_shdsc_skcipher_encap(desc, &ctx->cdata, ivsize, is_rfc3686, in skcipher_setkey()
970 cnstr_shdsc_skcipher_decap(desc, &ctx->cdata, ivsize, is_rfc3686, in skcipher_setkey()