Home
last modified time | relevance | path

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

/linux-6.15/drivers/crypto/caam/
H A 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,
106 const u32 ctx1_iv_off);
110 const u32 ctx1_iv_off);
H A Dcaamalg_desc.c317 (ctx1_iv_off << LDST_OFFSET_SHIFT)); in cnstr_shdsc_aead_encap()
445 (ctx1_iv_off << LDST_OFFSET_SHIFT)); in cnstr_shdsc_aead_decap()
458 if (ctx1_iv_off) in cnstr_shdsc_aead_decap()
1282 u32 ctx1_iv_off = is_ipsec ? 8 : 4; in cnstr_shdsc_chachapoly() local
1297 ctx1_iv_off << LDST_OFFSET_SHIFT); in cnstr_shdsc_chachapoly()
1380 const u32 ctx1_iv_off) in cnstr_shdsc_skcipher_encap() argument
1413 LDST_CLASS_1_CCB | (ctx1_iv_off << in cnstr_shdsc_skcipher_encap()
1434 LDST_CLASS_1_CCB | (ctx1_iv_off << in cnstr_shdsc_skcipher_encap()
1456 const u32 ctx1_iv_off) in cnstr_shdsc_skcipher_decap() argument
1488 LDST_CLASS_1_CCB | (ctx1_iv_off << in cnstr_shdsc_skcipher_decap()
[all …]
H A Dcaamalg_qi.c91 u32 ctx1_iv_off = 0; in aead_set_sh_desc() local
109 ctx1_iv_off = 16; in aead_set_sh_desc()
116 ctx1_iv_off = 16 + CTR_RFC3686_NONCE_SIZE; in aead_set_sh_desc()
151 ctx1_iv_off, true, ctrlpriv->era); in aead_set_sh_desc()
184 ctx1_iv_off, true, ctrlpriv->era); in aead_set_sh_desc()
643 is_rfc3686, ctx1_iv_off); in skcipher_setkey()
645 is_rfc3686, ctx1_iv_off); in skcipher_setkey()
684 u32 ctx1_iv_off; in rfc3686_skcipher_setkey() local
692 ctx1_iv_off = 16 + CTR_RFC3686_NONCE_SIZE; in rfc3686_skcipher_setkey()
705 u32 ctx1_iv_off; in ctr_skcipher_setkey() local
[all …]
H A Dcaamalg.c199 u32 ctx1_iv_off = 0; in aead_set_sh_desc() local
220 ctx1_iv_off = 16; in aead_set_sh_desc()
227 ctx1_iv_off = 16 + CTR_RFC3686_NONCE_SIZE; in aead_set_sh_desc()
313 ctx1_iv_off, false, ctrlpriv->era); in aead_set_sh_desc()
740 unsigned int keylen, const u32 ctx1_iv_off) in skcipher_setkey() argument
761 ctx1_iv_off); in skcipher_setkey()
768 ctx1_iv_off); in skcipher_setkey()
790 u32 ctx1_iv_off; in rfc3686_skcipher_setkey() local
798 ctx1_iv_off = 16 + CTR_RFC3686_NONCE_SIZE; in rfc3686_skcipher_setkey()
811 u32 ctx1_iv_off; in ctr_skcipher_setkey() local
[all …]
H A Dcaamalg_qi2.c183 u32 ctx1_iv_off = 0; in aead_set_sh_desc() local
200 ctx1_iv_off = 16; in aead_set_sh_desc()
207 ctx1_iv_off = 16 + CTR_RFC3686_NONCE_SIZE; in aead_set_sh_desc()
244 nonce, ctx1_iv_off, true, in aead_set_sh_desc()
270 is_rfc3686, nonce, ctx1_iv_off, true, in aead_set_sh_desc()
968 ctx1_iv_off); in skcipher_setkey()
978 ctx1_iv_off); in skcipher_setkey()
1002 u32 ctx1_iv_off; in rfc3686_skcipher_setkey() local
1010 ctx1_iv_off = 16 + CTR_RFC3686_NONCE_SIZE; in rfc3686_skcipher_setkey()
1023 u32 ctx1_iv_off; in ctr_skcipher_setkey() local
[all …]