Home
last modified time | relevance | path

Searched defs:aead (Results 1 – 25 of 54) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/
Dnitrox_aead.c34 static int nitrox_aes_gcm_setkey(struct crypto_aead *aead, const u8 *key, in nitrox_aes_gcm_setkey()
59 static int nitrox_aead_setauthsize(struct crypto_aead *aead, in nitrox_aead_setauthsize()
75 static int nitrox_aes_gcm_setauthsize(struct crypto_aead *aead, in nitrox_aes_gcm_setauthsize()
216 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_aes_gcm_enc() local
250 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_aes_gcm_dec() local
282 static int nitrox_aead_init(struct crypto_aead *aead) in nitrox_aead_init()
306 static int nitrox_gcm_common_init(struct crypto_aead *aead) in nitrox_gcm_common_init()
327 static int nitrox_aes_gcm_init(struct crypto_aead *aead) in nitrox_aes_gcm_init()
342 static void nitrox_aead_exit(struct crypto_aead *aead) in nitrox_aead_exit()
360 static int nitrox_rfc4106_setkey(struct crypto_aead *aead, const u8 *key, in nitrox_rfc4106_setkey()
[all …]
/kernel/linux/linux-5.10/crypto/
Daead.c85 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_encrypt() local
102 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_decrypt() local
121 struct crypto_aead *aead = __crypto_aead_cast(tfm); in crypto_aead_exit_tfm() local
129 struct crypto_aead *aead = __crypto_aead_cast(tfm); in crypto_aead_init_tfm() local
149 struct aead_alg *aead = container_of(alg, struct aead_alg, base); in crypto_aead_report() local
173 struct aead_alg *aead = container_of(alg, struct aead_alg, base); in crypto_aead_show() local
186 struct aead_instance *aead = aead_instance(inst); in crypto_aead_free_instance() local
Dccm.c86 static int crypto_ccm_setkey(struct crypto_aead *aead, const u8 *key, in crypto_ccm_setkey()
129 struct crypto_aead *aead = crypto_aead_reqtfm(req); in format_input() local
171 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_auth() local
229 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_encrypt_done() local
286 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_encrypt() local
327 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_decrypt_done() local
346 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_decrypt() local
607 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4309_crypt() local
672 struct crypto_aead *aead; in crypto_rfc4309_init_tfm() local
Dgcm.c44 struct crypto_aead_spawn aead; member
92 static int crypto_gcm_setkey(struct crypto_aead *aead, const u8 *key, in crypto_gcm_setkey()
180 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_init_crypt() local
414 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_enc_copy_hash() local
468 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_verify() local
503 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_decrypt() local
725 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4106_crypt() local
794 struct crypto_aead *aead; in crypto_rfc4106_init_tfm() local
930 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4543_crypt() local
961 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4543_copy_src_to_dst() local
[all …]
Dalgif_aead.c40 struct crypto_aead *aead; member
470 struct crypto_aead *aead; in aead_bind() local
540 struct crypto_aead *aead = tfm->aead; in aead_accept_parent_nokey() local
Dgeniv.c109 int aead_init_geniv(struct crypto_aead *aead) in aead_init_geniv()
Dpcrypt.c98 struct crypto_aead *aead = crypto_aead_reqtfm(req); in pcrypt_aead_encrypt() local
145 struct crypto_aead *aead = crypto_aead_reqtfm(req); in pcrypt_aead_decrypt() local
/kernel/linux/linux-5.10/drivers/crypto/xilinx/
Dzynqmp-aes-gcm.c46 struct aead_alg aead; member
79 struct crypto_aead *aead = crypto_aead_reqtfm(req); in zynqmp_aes_aead_cipher() local
209 struct crypto_aead *aead = crypto_aead_reqtfm(req); in zynqmp_handle_aes_req() local
238 static int zynqmp_aes_aead_setkey(struct crypto_aead *aead, const u8 *key, in zynqmp_aes_aead_setkey()
270 static int zynqmp_aes_aead_setauthsize(struct crypto_aead *aead, in zynqmp_aes_aead_setauthsize()
284 struct crypto_aead *aead = crypto_aead_reqtfm(req); in zynqmp_aes_aead_encrypt() local
297 struct crypto_aead *aead = crypto_aead_reqtfm(req); in zynqmp_aes_aead_decrypt() local
307 static int zynqmp_aes_aead_init(struct crypto_aead *aead) in zynqmp_aes_aead_init()
339 static void zynqmp_aes_aead_exit(struct crypto_aead *aead) in zynqmp_aes_aead_exit()
/kernel/linux/linux-5.10/net/tipc/
Dcrypto.c202 struct tipc_aead __rcu *aead[KEY_MAX + 1]; member
236 struct tipc_aead *aead; member
243 struct tipc_aead *aead; member
377 static struct tipc_aead *tipc_aead_get(struct tipc_aead __rcu *aead) in tipc_aead_get()
390 static inline void tipc_aead_put(struct tipc_aead *aead) in tipc_aead_put()
402 struct tipc_aead *aead = container_of(rp, struct tipc_aead, rcu); in tipc_aead_free() local
425 static int tipc_aead_users(struct tipc_aead __rcu *aead) in tipc_aead_users()
439 static void tipc_aead_users_inc(struct tipc_aead __rcu *aead, int lim) in tipc_aead_users_inc()
450 static void tipc_aead_users_dec(struct tipc_aead __rcu *aead, int lim) in tipc_aead_users_dec()
461 static void tipc_aead_users_set(struct tipc_aead __rcu *aead, int val) in tipc_aead_users_set()
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Desp4.c46 static void *esp_alloc_tmp(struct crypto_aead *aead, int nfrags, int extralen) in esp_alloc_tmp()
73 static inline u8 *esp_tmp_iv(struct crypto_aead *aead, void *tmp, int extralen) in esp_tmp_iv()
80 static inline struct aead_request *esp_tmp_req(struct crypto_aead *aead, u8 *iv) in esp_tmp_req()
90 static inline struct scatterlist *esp_req_sg(struct crypto_aead *aead, in esp_req_sg()
101 struct crypto_aead *aead = x->data; in esp_ssg_unref() local
545 struct crypto_aead *aead; in esp_output_tail() local
662 struct crypto_aead *aead; in esp_output() local
711 struct crypto_aead *aead = x->data; in esp_remove_trailer() local
757 struct crypto_aead *aead = x->data; in esp_input_done2() local
887 struct crypto_aead *aead = x->data; in esp_input() local
[all …]
Desp4_offload.c195 struct crypto_aead *aead; in esp4_gso_segment() local
237 struct crypto_aead *aead = x->data; in esp_input_tail() local
256 struct crypto_aead *aead; in esp_xmit() local
/kernel/linux/linux-5.10/net/ipv6/
Desp6.c63 static void *esp_alloc_tmp(struct crypto_aead *aead, int nfrags, int seqihlen) in esp_alloc_tmp()
90 static inline u8 *esp_tmp_iv(struct crypto_aead *aead, void *tmp, int seqhilen) in esp_tmp_iv()
97 static inline struct aead_request *esp_tmp_req(struct crypto_aead *aead, u8 *iv) in esp_tmp_req()
107 static inline struct scatterlist *esp_req_sg(struct crypto_aead *aead, in esp_req_sg()
118 struct crypto_aead *aead = x->data; in esp_ssg_unref() local
580 struct crypto_aead *aead; in esp6_output_tail() local
697 struct crypto_aead *aead; in esp6_output() local
746 struct crypto_aead *aead = x->data; in esp_remove_trailer() local
791 struct crypto_aead *aead = x->data; in esp6_input_done2() local
928 struct crypto_aead *aead = x->data; in esp6_input() local
[all …]
Desp6_offload.c233 struct crypto_aead *aead; in esp6_gso_segment() local
273 struct crypto_aead *aead = x->data; in esp6_input_tail() local
292 struct crypto_aead *aead; in esp6_xmit() local
/kernel/linux/linux-5.10/drivers/crypto/caam/
Dcaamalg.c92 struct aead_alg aead; member
132 static int aead_null_set_sh_desc(struct crypto_aead *aead) in aead_null_set_sh_desc()
182 static int aead_set_sh_desc(struct crypto_aead *aead) in aead_set_sh_desc()
323 static int gcm_set_sh_desc(struct crypto_aead *aead) in gcm_set_sh_desc()
388 static int rfc4106_set_sh_desc(struct crypto_aead *aead) in rfc4106_set_sh_desc()
456 static int rfc4543_set_sh_desc(struct crypto_aead *aead) in rfc4543_set_sh_desc()
522 static int chachapoly_set_sh_desc(struct crypto_aead *aead) in chachapoly_set_sh_desc()
547 static int chachapoly_setauthsize(struct crypto_aead *aead, in chachapoly_setauthsize()
559 static int chachapoly_setkey(struct crypto_aead *aead, const u8 *key, in chachapoly_setkey()
575 static int aead_setkey(struct crypto_aead *aead, in aead_setkey()
[all …]
Dcaamalg_qi.c45 struct aead_alg aead; member
80 static int aead_set_sh_desc(struct crypto_aead *aead) in aead_set_sh_desc()
195 static int aead_setkey(struct crypto_aead *aead, const u8 *key, in aead_setkey()
283 static int des3_aead_setkey(struct crypto_aead *aead, const u8 *key, in des3_aead_setkey()
300 static int gcm_set_sh_desc(struct crypto_aead *aead) in gcm_set_sh_desc()
358 static int gcm_setkey(struct crypto_aead *aead, in gcm_setkey()
403 static int rfc4106_set_sh_desc(struct crypto_aead *aead) in rfc4106_set_sh_desc()
462 static int rfc4106_setkey(struct crypto_aead *aead, in rfc4106_setkey()
511 static int rfc4543_set_sh_desc(struct crypto_aead *aead) in rfc4543_set_sh_desc()
568 static int rfc4543_setkey(struct crypto_aead *aead, in rfc4543_setkey()
[all …]
Dcaamalg_qi2.c52 struct aead_alg aead; member
167 static int aead_set_sh_desc(struct crypto_aead *aead) in aead_set_sh_desc()
284 static int aead_setkey(struct crypto_aead *aead, const u8 *key, in aead_setkey()
324 static int des3_aead_setkey(struct crypto_aead *aead, const u8 *key, in des3_aead_setkey()
349 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_edesc_alloc() local
585 static int chachapoly_set_sh_desc(struct crypto_aead *aead) in chachapoly_set_sh_desc()
617 static int chachapoly_setauthsize(struct crypto_aead *aead, in chachapoly_setauthsize()
629 static int chachapoly_setkey(struct crypto_aead *aead, const u8 *key, in chachapoly_setkey()
645 static int gcm_set_sh_desc(struct crypto_aead *aead) in gcm_set_sh_desc()
717 static int gcm_setkey(struct crypto_aead *aead, in gcm_setkey()
[all …]
/kernel/linux/linux-5.10/arch/arm64/crypto/
Daes-ce-ccm-glue.c63 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_init_mac() local
136 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_calculate_auth_mac() local
224 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_encrypt() local
281 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_decrypt() local
Dghash-ce-glue.c307 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_calculate_auth_mac() local
343 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_encrypt() local
456 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_decrypt() local
/kernel/linux/linux-5.10/arch/x86/crypto/
Daegis128-aesni-glue.c135 static struct aegis_ctx *crypto_aegis128_aesni_ctx(struct crypto_aead *aead) in crypto_aegis128_aesni_ctx()
142 static int crypto_aegis128_aesni_setkey(struct crypto_aead *aead, const u8 *key, in crypto_aegis128_aesni_setkey()
230 static int crypto_aegis128_aesni_init_tfm(struct crypto_aead *aead) in crypto_aegis128_aesni_init_tfm()
235 static void crypto_aegis128_aesni_exit_tfm(struct crypto_aead *aead) in crypto_aegis128_aesni_exit_tfm()
/kernel/linux/linux-5.10/net/tls/
Dtls_device_fallback.c49 struct crypto_aead *aead, char *aad, in tls_enc_record()
121 struct crypto_aead *aead) in tls_init_aead_request()
127 static struct aead_request *tls_alloc_aead_request(struct crypto_aead *aead, in tls_alloc_aead_request()
141 struct crypto_aead *aead, struct scatterlist *sg_in, in tls_enc_records()
/kernel/linux/linux-5.10/include/crypto/internal/
Daead.h53 static inline struct aead_instance *aead_alg_instance(struct crypto_aead *aead) in aead_alg_instance()
105 static inline void crypto_aead_set_reqsize(struct crypto_aead *aead, in crypto_aead_set_reqsize()
/kernel/linux/linux-5.10/drivers/crypto/
Dpicoxcell_crypto.c313 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in spacc_aead_make_ddts() local
415 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in spacc_aead_free_ddts() local
510 struct crypto_aead *aead = crypto_aead_reqtfm(aead_req); in spacc_aead_need_fallback() local
556 struct crypto_aead *aead = crypto_aead_reqtfm(aead_req); in spacc_aead_submit() local
629 struct crypto_aead *aead = crypto_aead_reqtfm(req); in spacc_aead_setup() local
675 struct crypto_aead *aead = crypto_aead_reqtfm(req); in spacc_aead_encrypt() local
683 struct crypto_aead *aead = crypto_aead_reqtfm(req); in spacc_aead_decrypt() local
1768 struct spacc_aead *aead, *an; in spacc_remove() local
Domap-aes-gcm.c92 struct crypto_aead *aead = crypto_aead_reqtfm(req); in omap_aes_gcm_copy_buffers() local
241 struct crypto_aead *aead = crypto_aead_reqtfm(req); in omap_aes_gcm_crypt() local
/kernel/linux/linux-5.10/drivers/crypto/bcm/
Dcipher.c2510 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_need_fallback() local
2580 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_complete() local
2594 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_do_fallback() local
2640 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_enqueue() local
4246 static int aead_cra_init(struct crypto_aead *aead) in aead_cra_init()
4297 static void aead_cra_exit(struct crypto_aead *aead) in aead_cra_exit()
4545 struct aead_alg *aead = &driver_alg->alg.aead; in spu_register_aead() local
/kernel/linux/linux-5.10/fs/hmdfs/comm/
Dcrypto.c27 struct crypto_aead **aead = NULL; in tls_crypto_set_key() local

123