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.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.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 …]
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.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()
266 ctx->authsize, is_rfc3686, nonce, ctx1_iv_off, in aead_set_sh_desc()
289 nonce, ctx1_iv_off, false, ctrlpriv->era); 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
[all …]
H A Dcaamalg_qi2.c182 u32 ctx1_iv_off = 0; in aead_set_sh_desc() local
199 ctx1_iv_off = 16; in aead_set_sh_desc()
206 ctx1_iv_off = 16 + CTR_RFC3686_NONCE_SIZE; in aead_set_sh_desc()
243 nonce, ctx1_iv_off, true, in aead_set_sh_desc()
248 ctx1_iv_off, true, priv->sec_attr.era); in aead_set_sh_desc()
269 is_rfc3686, nonce, ctx1_iv_off, true, in aead_set_sh_desc()
944 unsigned int keylen, const u32 ctx1_iv_off) in skcipher_setkey() argument
967 ctx1_iv_off); in skcipher_setkey()
977 ctx1_iv_off); in skcipher_setkey()
1001 u32 ctx1_iv_off; in rfc3686_skcipher_setkey() local
[all …]