Home
last modified time | relevance | path

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

/linux/drivers/crypto/caam/
H A Dcaamalg_desc.h63 u32 *nonce, const u32 ctx1_iv_off,
70 const u32 ctx1_iv_off, const bool is_qi, int era);
75 u32 *nonce, const u32 ctx1_iv_off,
109 const u32 ctx1_iv_off);
113 const u32 ctx1_iv_off);
H A Dcaamalg_desc.c292 u32 *nonce, const u32 ctx1_iv_off, const bool is_qi, in cnstr_shdsc_aead_encap() argument
318 (ctx1_iv_off << LDST_OFFSET_SHIFT)); in cnstr_shdsc_aead_encap()
341 ((ctx1_iv_off + CTR_RFC3686_IV_SIZE) << in cnstr_shdsc_aead_encap()
388 const u32 ctx1_iv_off, const bool is_qi, int era) in cnstr_shdsc_aead_decap() argument
414 (ctx1_iv_off << LDST_OFFSET_SHIFT)); in cnstr_shdsc_aead_decap()
446 (ctx1_iv_off << LDST_OFFSET_SHIFT)); in cnstr_shdsc_aead_decap()
448 (ctx1_iv_off << MOVE_OFFSET_SHIFT) | ivsize); in cnstr_shdsc_aead_decap()
455 ((ctx1_iv_off + CTR_RFC3686_IV_SIZE) << in cnstr_shdsc_aead_decap()
459 if (ctx1_iv_off) in cnstr_shdsc_aead_decap()
504 u32 *nonce, const u32 ctx1_iv_off, in cnstr_shdsc_aead_givencap() argument
[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()
166 is_rfc3686, nonce, ctx1_iv_off, true, in aead_set_sh_desc()
184 ctx1_iv_off, true, ctrlpriv->era); in aead_set_sh_desc()
623 unsigned int keylen, const u32 ctx1_iv_off) in skcipher_setkey() argument
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
[all …]
H A Dcaamalg.c205 u32 ctx1_iv_off = 0; in aead_set_sh_desc() local
226 ctx1_iv_off = 16; in aead_set_sh_desc()
233 ctx1_iv_off = 16 + CTR_RFC3686_NONCE_SIZE; in aead_set_sh_desc()
272 ctx->authsize, is_rfc3686, nonce, ctx1_iv_off, in aead_set_sh_desc()
295 nonce, ctx1_iv_off, false, ctrlpriv->era); in aead_set_sh_desc()
319 ctx1_iv_off, false, ctrlpriv->era); in aead_set_sh_desc()
746 unsigned int keylen, const u32 ctx1_iv_off) in skcipher_setkey() argument
772 ctx1_iv_off); in skcipher_setkey()
779 ctx1_iv_off); in skcipher_setkey()
857 u32 ctx1_iv_off; in rfc3686_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()
249 ctx1_iv_off, true, priv->sec_attr.era); in aead_set_sh_desc()
270 is_rfc3686, nonce, ctx1_iv_off, true, in aead_set_sh_desc()
945 unsigned int keylen, const u32 ctx1_iv_off) in skcipher_setkey() argument
968 ctx1_iv_off); in skcipher_setkey()
978 ctx1_iv_off); in skcipher_setkey()
1002 u32 ctx1_iv_off; in rfc3686_skcipher_setkey() local
[all …]