Home
last modified time | relevance | path

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

12

/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_aead.c33 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 Daead.c85 struct crypto_aead *aead = crypto_aead_reqtfm(req); crypto_aead_encrypt() local
96 struct crypto_aead *aead = crypto_aead_reqtfm(req); crypto_aead_decrypt() local
110 struct crypto_aead *aead = __crypto_aead_cast(tfm); crypto_aead_exit_tfm() local
118 struct crypto_aead *aead = __crypto_aead_cast(tfm); crypto_aead_init_tfm() local
138 struct aead_alg *aead = container_of(alg, struct aead_alg, base); crypto_aead_report() local
156 struct aead_alg *aead = container_of(alg, struct aead_alg, base); crypto_aead_show() local
169 struct aead_instance *aead = aead_instance(inst); crypto_aead_free_instance() local
[all...]
H A Dccm.c88 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 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
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 Dalgif_aead.c40 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 Dgeniv.c109 int aead_init_geniv(struct crypto_aead *aead) in aead_init_geniv()
H A Dessiv.c53 struct crypto_aead *aead; member
327 struct crypto_aead *aead; essiv_aead_init_tfm() local
[all...]
/linux/net/ipv6/
H A Desp6.c64 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 Desp4.c47 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 Dcaamalg.c101 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 Dcaamalg_qi.c50 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 Dcaamalg_qi2.c54 struct aead_alg aead; global() member
172 aead_set_sh_desc(struct crypto_aead * aead) aead_set_sh_desc() argument
289 aead_setkey(struct crypto_aead * aead,const u8 * key,unsigned int keylen) aead_setkey() argument
329 des3_aead_setkey(struct crypto_aead * aead,const u8 * key,unsigned int keylen) des3_aead_setkey() argument
354 struct crypto_aead *aead = crypto_aead_reqtfm(req); aead_edesc_alloc() local
590 chachapoly_set_sh_desc(struct crypto_aead * aead) chachapoly_set_sh_desc() argument
622 chachapoly_setauthsize(struct crypto_aead * aead,unsigned int authsize) chachapoly_setauthsize() argument
634 chachapoly_setkey(struct crypto_aead * aead,const u8 * key,unsigned int keylen) chachapoly_setkey() argument
651 gcm_set_sh_desc(struct crypto_aead * aead) gcm_set_sh_desc() argument
723 gcm_setkey(struct crypto_aead * aead,const u8 * key,unsigned int keylen) gcm_setkey() argument
743 rfc4106_set_sh_desc(struct crypto_aead * aead) rfc4106_set_sh_desc() argument
818 rfc4106_setkey(struct crypto_aead * aead,const u8 * key,unsigned int keylen) rfc4106_setkey() argument
844 rfc4543_set_sh_desc(struct crypto_aead * aead) rfc4543_set_sh_desc() argument
917 rfc4543_setkey(struct crypto_aead * aead,const u8 * key,unsigned int keylen) rfc4543_setkey() argument
1264 struct crypto_aead *aead = crypto_aead_reqtfm(req); aead_unmap() local
1291 struct crypto_aead *aead = crypto_aead_reqtfm(req); aead_encrypt_done() local
1312 struct crypto_aead *aead = crypto_aead_reqtfm(req); aead_decrypt_done() local
1329 struct crypto_aead *aead = crypto_aead_reqtfm(req); aead_encrypt() local
1357 struct crypto_aead *aead = crypto_aead_reqtfm(req); aead_decrypt() local
[all...]
/linux/arch/arm64/crypto/
H A Dsm4-ce-ccm-glue.c56 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); ccm_encrypt() local
242 struct crypto_aead *aead = crypto_aead_reqtfm(req); ccm_decrypt() local
[all...]
H A Dsm4-ce-gcm-glue.c75 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_calculate_auth_mac() local
144 struct crypto_aead *aead = crypto_aead_reqtfm(req); gcm_crypt() local
200 struct crypto_aead *aead = crypto_aead_reqtfm(req); gcm_encrypt() local
219 struct crypto_aead *aead = crypto_aead_reqtfm(req); gcm_decrypt() local
H A Daes-ce-ccm-glue.c64 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); ccm_encrypt() local
247 struct crypto_aead *aead = crypto_aead_reqtfm(req); ccm_decrypt() local
[all...]
H A Dghash-ce-glue.c302 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_calculate_auth_mac() local
337 struct crypto_aead *aead = crypto_aead_reqtfm(req); gcm_encrypt() local
400 struct crypto_aead *aead = crypto_aead_reqtfm(req); gcm_decrypt() local
502 struct crypto_aead *aead = crypto_aead_reqtfm(req); rfc4106_encrypt() local
515 struct crypto_aead *aead = crypto_aead_reqtfm(req); rfc4106_decrypt() local
[all...]
/linux/include/crypto/internal/
H A Daead.h58 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 Dtls_device_fallback.c52 tls_enc_record(struct aead_request * aead_req,struct crypto_aead * aead,char * aad,char * iv,__be64 rcd_sn,struct scatter_walk * in,struct scatter_walk * out,int * in_len,struct tls_prot_info * prot) tls_enc_record() argument
128 tls_init_aead_request(struct aead_request * aead_req,struct crypto_aead * aead) tls_init_aead_request() argument
134 tls_alloc_aead_request(struct crypto_aead * aead,gfp_t flags) tls_alloc_aead_request() argument
148 tls_enc_records(struct aead_request * aead_req,struct crypto_aead * aead,struct scatterlist * sg_in,struct scatterlist * sg_out,char * aad,char * iv,u64 rcd_sn,int len,struct tls_prot_info * prot) tls_enc_records() argument
/linux/arch/arm/crypto/
H A Dghash-ce-glue.c453 struct crypto_aead *aead = crypto_aead_reqtfm(req); gcm_calculate_auth_mac() local
492 struct crypto_aead *aead = crypto_aead_reqtfm(req); gcm_encrypt() local
582 struct crypto_aead *aead = crypto_aead_reqtfm(req); gcm_decrypt() local
695 struct crypto_aead *aead = crypto_aead_reqtfm(req); rfc4106_encrypt() local
708 struct crypto_aead *aead = crypto_aead_reqtfm(req); rfc4106_decrypt() local
[all...]
/linux/drivers/crypto/
H A Domap-aes-gcm.c95 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 Dcrypto4xx_core.h126 struct crypto_aead *aead; member
139 struct aead_alg aead; member
H A Dcrypto4xx_alg.c313 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 Dcrypto_ctx.c25 static inline void free_aead(struct crypto_aead *aead) in free_aead()
/linux/security/keys/trusted-keys/
H A Dtrusted_dcp.c134 struct crypto_aead *aead; in do_aead_crypto() local
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_rxtx.c202 struct crypto_aead *aead; in mlx5e_ipsec_set_state() local

12