Home
last modified time | relevance | path

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

/drivers/crypto/caam/
Dcaamalg_desc.c291 u32 *nonce, const u32 ctx1_iv_off, const bool is_qi, in cnstr_shdsc_aead_encap() argument
317 (ctx1_iv_off << LDST_OFFSET_SHIFT)); in cnstr_shdsc_aead_encap()
340 ((ctx1_iv_off + CTR_RFC3686_IV_SIZE) << in cnstr_shdsc_aead_encap()
387 const u32 ctx1_iv_off, const bool is_qi, int era) in cnstr_shdsc_aead_decap() argument
413 (ctx1_iv_off << LDST_OFFSET_SHIFT)); in cnstr_shdsc_aead_decap()
445 (ctx1_iv_off << LDST_OFFSET_SHIFT)); in cnstr_shdsc_aead_decap()
447 (ctx1_iv_off << MOVE_OFFSET_SHIFT) | ivsize); in cnstr_shdsc_aead_decap()
454 ((ctx1_iv_off + CTR_RFC3686_IV_SIZE) << in cnstr_shdsc_aead_decap()
458 if (ctx1_iv_off) in cnstr_shdsc_aead_decap()
503 u32 *nonce, const u32 ctx1_iv_off, in cnstr_shdsc_aead_givencap() argument
[all …]
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);
Dcaamalg_qi.c86 u32 ctx1_iv_off = 0; in aead_set_sh_desc() local
104 ctx1_iv_off = 16; in aead_set_sh_desc()
111 ctx1_iv_off = 16 + CTR_RFC3686_NONCE_SIZE; in aead_set_sh_desc()
146 ctx1_iv_off, true, ctrlpriv->era); in aead_set_sh_desc()
161 is_rfc3686, nonce, ctx1_iv_off, true, in aead_set_sh_desc()
179 ctx1_iv_off, true, ctrlpriv->era); in aead_set_sh_desc()
618 unsigned int keylen, const u32 ctx1_iv_off) in skcipher_setkey() argument
638 is_rfc3686, ctx1_iv_off); in skcipher_setkey()
640 is_rfc3686, ctx1_iv_off); in skcipher_setkey()
679 u32 ctx1_iv_off; in rfc3686_skcipher_setkey() local
[all …]
Dcaamalg.c190 u32 ctx1_iv_off = 0; in aead_set_sh_desc() local
211 ctx1_iv_off = 16; in aead_set_sh_desc()
218 ctx1_iv_off = 16 + CTR_RFC3686_NONCE_SIZE; in aead_set_sh_desc()
257 ctx->authsize, is_rfc3686, nonce, ctx1_iv_off, in aead_set_sh_desc()
280 nonce, ctx1_iv_off, false, ctrlpriv->era); in aead_set_sh_desc()
304 ctx1_iv_off, false, ctrlpriv->era); in aead_set_sh_desc()
731 unsigned int keylen, const u32 ctx1_iv_off) in skcipher_setkey() argument
752 ctx1_iv_off); in skcipher_setkey()
759 ctx1_iv_off); in skcipher_setkey()
781 u32 ctx1_iv_off; in rfc3686_skcipher_setkey() local
[all …]
Dcaamalg_qi2.c180 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 nonce, ctx1_iv_off, true, in aead_set_sh_desc()
246 ctx1_iv_off, true, priv->sec_attr.era); in aead_set_sh_desc()
267 is_rfc3686, nonce, ctx1_iv_off, true, in aead_set_sh_desc()
942 unsigned int keylen, const u32 ctx1_iv_off) in skcipher_setkey() argument
965 ctx1_iv_off); in skcipher_setkey()
975 ctx1_iv_off); in skcipher_setkey()
999 u32 ctx1_iv_off; in rfc3686_skcipher_setkey() local
[all …]