/linux-6.6.21/drivers/crypto/cavium/nitrox/ |
D | nitrox_aead.c | 33 static int nitrox_aes_gcm_setkey(struct crypto_aead *aead, const u8 *key, in nitrox_aes_gcm_setkey() 58 static int nitrox_aead_setauthsize(struct crypto_aead *aead, in nitrox_aead_setauthsize() 74 static int nitrox_aes_gcm_setauthsize(struct crypto_aead *aead, in nitrox_aes_gcm_setauthsize() 215 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_aes_gcm_enc() local 249 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_aes_gcm_dec() local 281 static int nitrox_aead_init(struct crypto_aead *aead) in nitrox_aead_init() 305 static int nitrox_gcm_common_init(struct crypto_aead *aead) in nitrox_gcm_common_init() 326 static int nitrox_aes_gcm_init(struct crypto_aead *aead) in nitrox_aes_gcm_init() 341 static void nitrox_aead_exit(struct crypto_aead *aead) in nitrox_aead_exit() 359 static int nitrox_rfc4106_setkey(struct crypto_aead *aead, const u8 *key, in nitrox_rfc4106_setkey() [all …]
|
/linux-6.6.21/crypto/ |
D | aead.c | 106 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_encrypt() local 129 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_decrypt() local 154 struct crypto_aead *aead = __crypto_aead_cast(tfm); in crypto_aead_exit_tfm() local 162 struct crypto_aead *aead = __crypto_aead_cast(tfm); in crypto_aead_init_tfm() local 182 struct aead_alg *aead = container_of(alg, struct aead_alg, base); in crypto_aead_report() local 200 struct aead_alg *aead = container_of(alg, struct aead_alg, base); in crypto_aead_show() local 213 struct aead_instance *aead = aead_instance(inst); in crypto_aead_free_instance() local 221 struct aead_alg *aead = container_of(alg, struct aead_alg, base); in crypto_aead_report_stat() local
|
D | ccm.c | 87 static int crypto_ccm_setkey(struct crypto_aead *aead, const u8 *key, in crypto_ccm_setkey() 130 struct crypto_aead *aead = crypto_aead_reqtfm(req); in format_input() local 172 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_auth() local 230 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_encrypt_done() local 287 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
|
D | gcm.c | 44 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 412 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_enc_copy_hash() local 466 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_verify() local 501 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_decrypt() local 723 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4106_crypt() local 792 struct crypto_aead *aead; in crypto_rfc4106_init_tfm() local 928 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4543_crypt() local 959 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4543_copy_src_to_dst() local [all …]
|
D | algif_aead.c | 40 struct crypto_aead *aead; member 458 struct crypto_aead *aead; in aead_bind() local 528 struct crypto_aead *aead = tfm->aead; in aead_accept_parent_nokey() local
|
D | pcrypt.c | 98 struct crypto_aead *aead = crypto_aead_reqtfm(req); in pcrypt_aead_encrypt() local 147 struct crypto_aead *aead = crypto_aead_reqtfm(req); in pcrypt_aead_decrypt() local
|
D | geniv.c | 109 int aead_init_geniv(struct crypto_aead *aead) in aead_init_geniv()
|
/linux-6.6.21/drivers/crypto/xilinx/ |
D | zynqmp-aes-gcm.c | 47 struct aead_engine_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() 335 static void zynqmp_aes_aead_exit(struct crypto_aead *aead) in zynqmp_aes_aead_exit()
|
/linux-6.6.21/net/tipc/ |
D | crypto.c | 206 struct tipc_aead __rcu *aead[KEY_MAX + 1]; member 240 struct tipc_aead *aead; member 247 struct tipc_aead *aead; member 383 static struct tipc_aead *tipc_aead_get(struct tipc_aead __rcu *aead) in tipc_aead_get() 396 static inline void tipc_aead_put(struct tipc_aead *aead) in tipc_aead_put() 408 struct tipc_aead *aead = container_of(rp, struct tipc_aead, rcu); in tipc_aead_free() local 431 static int tipc_aead_users(struct tipc_aead __rcu *aead) in tipc_aead_users() 445 static void tipc_aead_users_inc(struct tipc_aead __rcu *aead, int lim) in tipc_aead_users_inc() 456 static void tipc_aead_users_dec(struct tipc_aead __rcu *aead, int lim) in tipc_aead_users_dec() 467 static void tipc_aead_users_set(struct tipc_aead __rcu *aead, int val) in tipc_aead_users_set() [all …]
|
/linux-6.6.21/net/ipv4/ |
D | esp4.c | 46 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() 100 struct crypto_aead *aead = x->data; in esp_ssg_unref() local 542 struct crypto_aead *aead; in esp_output_tail() local 659 struct crypto_aead *aead; in esp_output() local 707 struct crypto_aead *aead = x->data; in esp_remove_trailer() local 750 struct crypto_aead *aead = x->data; in esp_input_done2() local 880 struct crypto_aead *aead = x->data; in esp_input() local [all …]
|
D | esp4_offload.c | 198 struct crypto_aead *aead; in esp4_gso_segment() local 240 struct crypto_aead *aead = x->data; in esp_input_tail() local 259 struct crypto_aead *aead; in esp_xmit() local
|
/linux-6.6.21/net/ipv6/ |
D | esp6.c | 63 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() 117 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 745 struct crypto_aead *aead = x->data; in esp_remove_trailer() local 787 struct crypto_aead *aead = x->data; in esp6_input_done2() local 924 struct crypto_aead *aead = x->data; in esp6_input() local [all …]
|
D | esp6_offload.c | 236 struct crypto_aead *aead; in esp6_gso_segment() local 276 struct crypto_aead *aead = x->data; in esp6_input_tail() local 295 struct crypto_aead *aead; in esp6_xmit() local
|
/linux-6.6.21/drivers/crypto/caam/ |
D | caamalg.c | 101 struct aead_engine_alg aead; member 140 static int aead_null_set_sh_desc(struct crypto_aead *aead) in aead_null_set_sh_desc() 190 static int aead_set_sh_desc(struct crypto_aead *aead) in aead_set_sh_desc() 332 static int gcm_set_sh_desc(struct crypto_aead *aead) in gcm_set_sh_desc() 397 static int rfc4106_set_sh_desc(struct crypto_aead *aead) in rfc4106_set_sh_desc() 465 static int rfc4543_set_sh_desc(struct crypto_aead *aead) in rfc4543_set_sh_desc() 531 static int chachapoly_set_sh_desc(struct crypto_aead *aead) in chachapoly_set_sh_desc() 556 static int chachapoly_setauthsize(struct crypto_aead *aead, in chachapoly_setauthsize() 568 static int chachapoly_setkey(struct crypto_aead *aead, const u8 *key, in chachapoly_setkey() 585 static int aead_setkey(struct crypto_aead *aead, in aead_setkey() [all …]
|
D | caamalg_qi.c | 50 struct aead_alg aead; member 85 static int aead_set_sh_desc(struct crypto_aead *aead) in aead_set_sh_desc() 200 static int aead_setkey(struct crypto_aead *aead, const u8 *key, in aead_setkey() 288 static int des3_aead_setkey(struct crypto_aead *aead, const u8 *key, in des3_aead_setkey() 305 static int gcm_set_sh_desc(struct crypto_aead *aead) in gcm_set_sh_desc() 363 static int gcm_setkey(struct crypto_aead *aead, in gcm_setkey() 408 static int rfc4106_set_sh_desc(struct crypto_aead *aead) in rfc4106_set_sh_desc() 467 static int rfc4106_setkey(struct crypto_aead *aead, in rfc4106_setkey() 516 static int rfc4543_set_sh_desc(struct crypto_aead *aead) in rfc4543_set_sh_desc() 573 static int rfc4543_setkey(struct crypto_aead *aead, in rfc4543_setkey() [all …]
|
D | caamalg_qi2.c | 54 struct aead_alg aead; member 172 static int aead_set_sh_desc(struct crypto_aead *aead) in aead_set_sh_desc() 289 static int aead_setkey(struct crypto_aead *aead, const u8 *key, in aead_setkey() 329 static int des3_aead_setkey(struct crypto_aead *aead, const u8 *key, in des3_aead_setkey() 354 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_edesc_alloc() local 590 static int chachapoly_set_sh_desc(struct crypto_aead *aead) in chachapoly_set_sh_desc() 622 static int chachapoly_setauthsize(struct crypto_aead *aead, in chachapoly_setauthsize() 634 static int chachapoly_setkey(struct crypto_aead *aead, const u8 *key, in chachapoly_setkey() 651 static int gcm_set_sh_desc(struct crypto_aead *aead) in gcm_set_sh_desc() 723 static int gcm_setkey(struct crypto_aead *aead, in gcm_setkey() [all …]
|
/linux-6.6.21/arch/arm64/crypto/ |
D | aes-ce-ccm-glue.c | 61 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_init_mac() local 99 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_calculate_auth_mac() local 148 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_encrypt() local 201 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_decrypt() local
|
D | sm4-ce-ccm-glue.c | 56 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_format_input() local 93 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_calculate_auth_mac() local 215 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_encrypt() local 242 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_decrypt() local
|
D | sm4-ce-gcm-glue.c | 75 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_calculate_auth_mac() local 144 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_crypt() local 200 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_encrypt() local 219 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_decrypt() local
|
D | ghash-ce-glue.c | 302 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_calculate_auth_mac() local 337 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_encrypt() local 400 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_decrypt() local 502 struct crypto_aead *aead = crypto_aead_reqtfm(req); in rfc4106_encrypt() local 515 struct crypto_aead *aead = crypto_aead_reqtfm(req); in rfc4106_decrypt() local
|
/linux-6.6.21/arch/x86/crypto/ |
D | aegis128-aesni-glue.c | 135 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()
|
/linux-6.6.21/include/crypto/internal/ |
D | aead.h | 58 static inline struct aead_instance *aead_alg_instance(struct crypto_aead *aead) in aead_alg_instance() 120 static inline void crypto_aead_set_reqsize(struct crypto_aead *aead, in crypto_aead_set_reqsize() 126 static inline void crypto_aead_set_reqsize_dma(struct crypto_aead *aead, in crypto_aead_set_reqsize_dma()
|
/linux-6.6.21/net/tls/ |
D | tls_device_fallback.c | 51 struct crypto_aead *aead, char *aad, in tls_enc_record() 133 struct crypto_aead *aead) in tls_init_aead_request() 139 static struct aead_request *tls_alloc_aead_request(struct crypto_aead *aead, in tls_alloc_aead_request() 153 struct crypto_aead *aead, struct scatterlist *sg_in, in tls_enc_records()
|
/linux-6.6.21/arch/arm/crypto/ |
D | ghash-ce-glue.c | 453 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_calculate_auth_mac() local 492 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_encrypt() local 582 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_decrypt() local 695 struct crypto_aead *aead = crypto_aead_reqtfm(req); in rfc4106_encrypt() local 708 struct crypto_aead *aead = crypto_aead_reqtfm(req); in rfc4106_decrypt() local
|
/linux-6.6.21/drivers/crypto/ |
D | omap-aes-gcm.c | 95 struct crypto_aead *aead = crypto_aead_reqtfm(req); in omap_aes_gcm_copy_buffers() local 242 struct crypto_aead *aead = crypto_aead_reqtfm(req); in omap_aes_gcm_crypt() local
|