/linux/drivers/crypto/cavium/nitrox/ |
H A 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/crypto/ |
H A D | aead.c | 85 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_encrypt() local 96 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_decrypt() local 110 struct crypto_aead *aead = __crypto_aead_cast(tfm); in crypto_aead_exit_tfm() local 118 struct crypto_aead *aead = __crypto_aead_cast(tfm); in crypto_aead_init_tfm() local 138 struct aead_alg *aead = container_of(alg, struct aead_alg, base); in crypto_aead_report() local 156 struct aead_alg *aead = container_of(alg, struct aead_alg, base); in crypto_aead_show() local 169 struct aead_instance *aead = aead_instance(inst); in crypto_aead_free_instance() local
|
H A D | ccm.c | 88 static int crypto_ccm_setkey(struct crypto_aead *aead, const u8 *key, in crypto_ccm_setkey() 131 struct crypto_aead *aead = crypto_aead_reqtfm(req); in format_input() local 173 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_auth() local 231 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_encrypt_done() local 288 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_encrypt() local 328 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_decrypt_done() local 347 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_decrypt() local 606 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4309_crypt() local 671 struct crypto_aead *aead; in crypto_rfc4309_init_tfm() local
|
H A 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 721 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4106_crypt() local 790 struct crypto_aead *aead; in crypto_rfc4106_init_tfm() local 926 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4543_crypt() local 957 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4543_copy_src_to_dst() local [all …]
|
H A 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
|
H A D | geniv.c | 109 int aead_init_geniv(struct crypto_aead *aead) in aead_init_geniv()
|
H A D | essiv.c | 53 struct crypto_aead *aead; member 327 struct crypto_aead *aead; in essiv_aead_init_tfm() local
|
/linux/net/ipv6/ |
H A D | esp6.c | 64 static void *esp_alloc_tmp(struct crypto_aead *aead, int nfrags, int seqihlen) in esp_alloc_tmp() 91 static inline u8 *esp_tmp_iv(struct crypto_aead *aead, void *tmp, int seqhilen) in esp_tmp_iv() 98 static inline struct aead_request *esp_tmp_req(struct crypto_aead *aead, u8 *iv) in esp_tmp_req() 108 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 573 struct crypto_aead *aead; in esp6_output_tail() local 690 struct crypto_aead *aead; in esp6_output() local 738 struct crypto_aead *aead = x->data; in esp_remove_trailer() local 780 struct crypto_aead *aead = x->data; in esp6_input_done2() local 917 struct crypto_aead *aead = x->data; in esp6_input() local [all …]
|
/linux/net/ipv4/ |
H A D | esp4.c | 47 static void *esp_alloc_tmp(struct crypto_aead *aead, int nfrags, int extralen) in esp_alloc_tmp() 74 static inline u8 *esp_tmp_iv(struct crypto_aead *aead, void *tmp, int extralen) in esp_tmp_iv() 81 static inline struct aead_request *esp_tmp_req(struct crypto_aead *aead, u8 *iv) in esp_tmp_req() 91 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 541 struct crypto_aead *aead; in esp_output_tail() local 658 struct crypto_aead *aead; in esp_output() local 706 struct crypto_aead *aead = x->data; in esp_remove_trailer() local 749 struct crypto_aead *aead = x->data; in esp_input_done2() local 879 struct crypto_aead *aead = x->data; in esp_input() local [all …]
|
/linux/drivers/crypto/caam/ |
H A 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 …]
|
H A 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 …]
|
H A 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/arch/arm64/crypto/ |
H A 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
|
H A 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
|
H A D | aes-ce-ccm-glue.c | 64 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_init_mac() local 137 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_calculate_auth_mac() local 181 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_encrypt() local 247 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_decrypt() local
|
H A 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/include/crypto/internal/ |
H A 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/net/tls/ |
H A D | tls_device_fallback.c | 52 struct crypto_aead *aead, char *aad, in tls_enc_record() 128 struct crypto_aead *aead) in tls_init_aead_request() 134 static struct aead_request *tls_alloc_aead_request(struct crypto_aead *aead, in tls_alloc_aead_request() 148 struct crypto_aead *aead, struct scatterlist *sg_in, in tls_enc_records()
|
/linux/arch/arm/crypto/ |
H A 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/drivers/crypto/ |
H A 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
|
/linux/drivers/crypto/amcc/ |
H A D | crypto4xx_core.h | 126 struct crypto_aead *aead; member 139 struct aead_alg aead; member
|
H A D | crypto4xx_alg.c | 313 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto4xx_aead_need_fallback() local 431 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto4xx_crypt_aes_ccm() local
|
/linux/fs/smb/server/ |
H A D | crypto_ctx.c | 25 static inline void free_aead(struct crypto_aead *aead) in free_aead()
|
/linux/security/keys/trusted-keys/ |
H A D | trusted_dcp.c | 134 struct crypto_aead *aead; in do_aead_crypto() local
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec_rxtx.c | 202 struct crypto_aead *aead; in mlx5e_ipsec_set_state() local
|