Home
last modified time | relevance | path

Searched refs:ctx1_iv_off (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/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.c284 * @ctx1_iv_off: IV offset in CONTEXT1 register
291 u32 *nonce, const u32 ctx1_iv_off, const bool is_qi, in cnstr_shdsc_aead_encap()
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()
379 * @ctx1_iv_off: IV offset in CONTEXT1 register
387 const u32 ctx1_iv_off, const bool is_qi, int era) in cnstr_shdsc_aead_decap()
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 in cnstr_shdsc_aead_decap()
288 cnstr_shdsc_aead_encap(u32 * const desc, struct alginfo *cdata, struct alginfo *adata, unsigned int ivsize, unsigned int icvsize, const bool is_rfc3686, u32 *nonce, const u32 ctx1_iv_off, const bool is_qi, int era) cnstr_shdsc_aead_encap() argument
383 cnstr_shdsc_aead_decap(u32 * const desc, struct alginfo *cdata, struct alginfo *adata, unsigned int ivsize, unsigned int icvsize, const bool geniv, const bool is_rfc3686, u32 *nonce, const u32 ctx1_iv_off, const bool is_qi, int era) cnstr_shdsc_aead_decap() argument
500 cnstr_shdsc_aead_givencap(u32 * const desc, struct alginfo *cdata, struct alginfo *adata, unsigned int ivsize, unsigned int icvsize, const bool is_rfc3686, u32 *nonce, const u32 ctx1_iv_off, const bool is_qi, int era) cnstr_shdsc_aead_givencap() argument
1282 u32 ctx1_iv_off = is_ipsec ? 8 : 4; cnstr_shdsc_chachapoly() local
1378 cnstr_shdsc_skcipher_encap(u32 * const desc, struct alginfo *cdata, unsigned int ivsize, const bool is_rfc3686, const u32 ctx1_iv_off) cnstr_shdsc_skcipher_encap() argument
1454 cnstr_shdsc_skcipher_decap(u32 * const desc, struct alginfo *cdata, unsigned int ivsize, const bool is_rfc3686, const u32 ctx1_iv_off) cnstr_shdsc_skcipher_decap() argument
[all...]
H A 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()
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
617 skcipher_setkey(struct crypto_skcipher *skcipher, const u8 *key, unsigned int keylen, const u32 ctx1_iv_off) skcipher_setkey() argument
700 u32 ctx1_iv_off; ctr_skcipher_setkey() local
[all...]
H A 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()
752 ctx1_iv_off); in skcipher_setkey()
759 ctx1_iv_off); in skcipher_setkey()
781 u32 ctx1_iv_off; in rfc3686_skcipher_setkey() local
730 skcipher_setkey(struct crypto_skcipher *skcipher, const u8 *key, unsigned int keylen, const u32 ctx1_iv_off) skcipher_setkey() argument
802 u32 ctx1_iv_off; ctr_skcipher_setkey() local
[all...]
H A Dcaamalg_qi2.c177 u32 ctx1_iv_off = 0; in aead_set_sh_desc() local
194 ctx1_iv_off = 16; in aead_set_sh_desc()
201 ctx1_iv_off = 16 + CTR_RFC3686_NONCE_SIZE; in aead_set_sh_desc()
238 nonce, ctx1_iv_off, true, in aead_set_sh_desc()
243 ctx1_iv_off, true, priv->sec_attr.era); in aead_set_sh_desc()
264 is_rfc3686, nonce, ctx1_iv_off, true, in aead_set_sh_desc()
939 unsigned int keylen, const u32 ctx1_iv_off) in skcipher_setkey()
962 ctx1_iv_off); in skcipher_setkey()
972 ctx1_iv_off); in skcipher_setkey()
996 u32 ctx1_iv_off; in rfc3686_skcipher_setkey() local
938 skcipher_setkey(struct crypto_skcipher *skcipher, const u8 *key, unsigned int keylen, const u32 ctx1_iv_off) skcipher_setkey() argument
1017 u32 ctx1_iv_off; ctr_skcipher_setkey() local
[all...]
/kernel/linux/linux-6.6/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.c284 * @ctx1_iv_off: IV offset in CONTEXT1 register
291 u32 *nonce, const u32 ctx1_iv_off, const bool is_qi, in cnstr_shdsc_aead_encap()
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()
379 * @ctx1_iv_off: IV offset in CONTEXT1 register
387 const u32 ctx1_iv_off, const bool is_qi, int era) in cnstr_shdsc_aead_decap()
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 in cnstr_shdsc_aead_decap()
288 cnstr_shdsc_aead_encap(u32 * const desc, struct alginfo *cdata, struct alginfo *adata, unsigned int ivsize, unsigned int icvsize, const bool is_rfc3686, u32 *nonce, const u32 ctx1_iv_off, const bool is_qi, int era) cnstr_shdsc_aead_encap() argument
383 cnstr_shdsc_aead_decap(u32 * const desc, struct alginfo *cdata, struct alginfo *adata, unsigned int ivsize, unsigned int icvsize, const bool geniv, const bool is_rfc3686, u32 *nonce, const u32 ctx1_iv_off, const bool is_qi, int era) cnstr_shdsc_aead_decap() argument
500 cnstr_shdsc_aead_givencap(u32 * const desc, struct alginfo *cdata, struct alginfo *adata, unsigned int ivsize, unsigned int icvsize, const bool is_rfc3686, u32 *nonce, const u32 ctx1_iv_off, const bool is_qi, int era) cnstr_shdsc_aead_givencap() argument
1282 u32 ctx1_iv_off = is_ipsec ? 8 : 4; cnstr_shdsc_chachapoly() local
1378 cnstr_shdsc_skcipher_encap(u32 * const desc, struct alginfo *cdata, unsigned int ivsize, const bool is_rfc3686, const u32 ctx1_iv_off) cnstr_shdsc_skcipher_encap() argument
1454 cnstr_shdsc_skcipher_decap(u32 * const desc, struct alginfo *cdata, unsigned int ivsize, const bool is_rfc3686, const u32 ctx1_iv_off) cnstr_shdsc_skcipher_decap() 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()
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
622 skcipher_setkey(struct crypto_skcipher *skcipher, const u8 *key, unsigned int keylen, const u32 ctx1_iv_off) skcipher_setkey() argument
705 u32 ctx1_iv_off; 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()
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()
761 ctx1_iv_off); in skcipher_setkey()
768 ctx1_iv_off); in skcipher_setkey()
790 u32 ctx1_iv_off; in rfc3686_skcipher_setkey() local
739 skcipher_setkey(struct crypto_skcipher *skcipher, const u8 *key, unsigned int keylen, const u32 ctx1_iv_off) skcipher_setkey() argument
811 u32 ctx1_iv_off; ctr_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()
967 ctx1_iv_off); in skcipher_setkey()
977 ctx1_iv_off); in skcipher_setkey()
1001 u32 ctx1_iv_off; in rfc3686_skcipher_setkey() local
943 skcipher_setkey(struct crypto_skcipher *skcipher, const u8 *key, unsigned int keylen, const u32 ctx1_iv_off) skcipher_setkey() argument
1022 u32 ctx1_iv_off; ctr_skcipher_setkey() local
[all...]

Completed in 20 milliseconds