Searched refs:ctx1_iv_off (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.4/drivers/crypto/caam/ |
| D | caamalg_desc.h | 60 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);
|
| D | caamalg_desc.c | 291 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() 386 const u32 ctx1_iv_off, const bool is_qi, int era) in cnstr_shdsc_aead_decap() argument 412 (ctx1_iv_off << LDST_OFFSET_SHIFT)); in cnstr_shdsc_aead_decap() 444 (ctx1_iv_off << LDST_OFFSET_SHIFT)); in cnstr_shdsc_aead_decap() 446 (ctx1_iv_off << MOVE_OFFSET_SHIFT) | ivsize); in cnstr_shdsc_aead_decap() 453 ((ctx1_iv_off + CTR_RFC3686_IV_SIZE) << in cnstr_shdsc_aead_decap() 457 if (ctx1_iv_off) in cnstr_shdsc_aead_decap() 502 u32 *nonce, const u32 ctx1_iv_off, in cnstr_shdsc_aead_givencap() argument [all …]
|
| D | caamalg_qi.c | 78 u32 ctx1_iv_off = 0; in aead_set_sh_desc() local 96 ctx1_iv_off = 16; in aead_set_sh_desc() 103 ctx1_iv_off = 16 + CTR_RFC3686_NONCE_SIZE; in aead_set_sh_desc() 138 ctx1_iv_off, true, ctrlpriv->era); in aead_set_sh_desc() 153 is_rfc3686, nonce, ctx1_iv_off, true, in aead_set_sh_desc() 171 ctx1_iv_off, true, ctrlpriv->era); in aead_set_sh_desc() 617 unsigned int keylen, const u32 ctx1_iv_off) in skcipher_setkey() argument 637 is_rfc3686, ctx1_iv_off); in skcipher_setkey() 639 is_rfc3686, ctx1_iv_off); in skcipher_setkey() 684 u32 ctx1_iv_off; in rfc3686_skcipher_setkey() local [all …]
|
| D | caamalg.c | 175 u32 ctx1_iv_off = 0; in aead_set_sh_desc() local 196 ctx1_iv_off = 16; in aead_set_sh_desc() 203 ctx1_iv_off = 16 + CTR_RFC3686_NONCE_SIZE; in aead_set_sh_desc() 242 ctx->authsize, is_rfc3686, nonce, ctx1_iv_off, in aead_set_sh_desc() 265 nonce, ctx1_iv_off, false, ctrlpriv->era); in aead_set_sh_desc() 289 ctx1_iv_off, false, ctrlpriv->era); in aead_set_sh_desc() 724 unsigned int keylen, const u32 ctx1_iv_off) in skcipher_setkey() argument 745 ctx1_iv_off); in skcipher_setkey() 752 ctx1_iv_off); in skcipher_setkey() 777 u32 ctx1_iv_off; in rfc3686_skcipher_setkey() local [all …]
|
| D | caamalg_qi2.c | 173 u32 ctx1_iv_off = 0; in aead_set_sh_desc() local 190 ctx1_iv_off = 16; in aead_set_sh_desc() 197 ctx1_iv_off = 16 + CTR_RFC3686_NONCE_SIZE; in aead_set_sh_desc() 234 nonce, ctx1_iv_off, true, in aead_set_sh_desc() 239 ctx1_iv_off, true, priv->sec_attr.era); in aead_set_sh_desc() 260 is_rfc3686, nonce, ctx1_iv_off, true, in aead_set_sh_desc() 947 unsigned int keylen, const u32 ctx1_iv_off) in skcipher_setkey() argument 970 ctx1_iv_off); in skcipher_setkey() 980 ctx1_iv_off); in skcipher_setkey() 1007 u32 ctx1_iv_off; in rfc3686_skcipher_setkey() local [all …]
|