Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/caam/
Dcaamalg_desc.h60 u32 *nonce, const u32 ctx1_iv_off,
67 const u32 ctx1_iv_off, const bool is_qi, int era);
72 u32 *nonce, const u32 ctx1_iv_off,
101 const u32 ctx1_iv_off);
105 const u32 ctx1_iv_off);
109 const u32 ctx1_iv_off);
Dcaamalg_desc.c295 u32 *nonce, const u32 ctx1_iv_off, const bool is_qi, in cnstr_shdsc_aead_encap() argument
321 (ctx1_iv_off << LDST_OFFSET_SHIFT)); in cnstr_shdsc_aead_encap()
344 ((ctx1_iv_off + CTR_RFC3686_IV_SIZE) << in cnstr_shdsc_aead_encap()
391 const u32 ctx1_iv_off, const bool is_qi, int era) in cnstr_shdsc_aead_decap() argument
417 (ctx1_iv_off << LDST_OFFSET_SHIFT)); in cnstr_shdsc_aead_decap()
449 (ctx1_iv_off << LDST_OFFSET_SHIFT)); in cnstr_shdsc_aead_decap()
451 (ctx1_iv_off << MOVE_OFFSET_SHIFT) | ivsize); in cnstr_shdsc_aead_decap()
458 ((ctx1_iv_off + CTR_RFC3686_IV_SIZE) << in cnstr_shdsc_aead_decap()
462 if (ctx1_iv_off) in cnstr_shdsc_aead_decap()
508 u32 *nonce, const u32 ctx1_iv_off, in cnstr_shdsc_aead_givencap() argument
[all …]
Dcaamalg_qi.c71 u32 ctx1_iv_off = 0; in aead_set_sh_desc() local
89 ctx1_iv_off = 16; in aead_set_sh_desc()
96 ctx1_iv_off = 16 + CTR_RFC3686_NONCE_SIZE; in aead_set_sh_desc()
129 ctx1_iv_off, true, ctrlpriv->era); in aead_set_sh_desc()
154 is_rfc3686, nonce, ctx1_iv_off, true, in aead_set_sh_desc()
182 ctx1_iv_off, true, ctrlpriv->era); in aead_set_sh_desc()
600 u32 ctx1_iv_off = 0; in ablkcipher_setkey() local
616 ctx1_iv_off = 16; in ablkcipher_setkey()
624 ctx1_iv_off = 16 + CTR_RFC3686_NONCE_SIZE; in ablkcipher_setkey()
634 is_rfc3686, ctx1_iv_off); in ablkcipher_setkey()
[all …]
Dcaamalg.c176 u32 ctx1_iv_off = 0; in aead_set_sh_desc() local
197 ctx1_iv_off = 16; in aead_set_sh_desc()
204 ctx1_iv_off = 16 + CTR_RFC3686_NONCE_SIZE; in aead_set_sh_desc()
241 ctx->authsize, is_rfc3686, nonce, ctx1_iv_off, in aead_set_sh_desc()
274 nonce, ctx1_iv_off, false, ctrlpriv->era); in aead_set_sh_desc()
308 ctx1_iv_off, false, ctrlpriv->era); in aead_set_sh_desc()
660 u32 ctx1_iv_off = 0; in ablkcipher_setkey() local
676 ctx1_iv_off = 16; in ablkcipher_setkey()
684 ctx1_iv_off = 16 + CTR_RFC3686_NONCE_SIZE; in ablkcipher_setkey()
695 ctx1_iv_off); in ablkcipher_setkey()
[all …]