Home
last modified time | relevance | path

Searched defs:aead (Results 1 – 25 of 32) 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/net/tipc/
H A Dcrypto.c206 struct tipc_aead __rcu *aead[KEY_MAX + 1]; member
240 struct tipc_aead *aead; member
247 struct tipc_aead *aead; member
383 tipc_aead_get(struct tipc_aead __rcu * aead) tipc_aead_get() argument
396 tipc_aead_put(struct tipc_aead * aead) tipc_aead_put() argument
408 struct tipc_aead *aead = container_of(rp, struct tipc_aead, rcu); tipc_aead_free() local
431 tipc_aead_users(struct tipc_aead __rcu * aead) tipc_aead_users() argument
445 tipc_aead_users_inc(struct tipc_aead __rcu * aead,int lim) tipc_aead_users_inc() argument
456 tipc_aead_users_dec(struct tipc_aead __rcu * aead,int lim) tipc_aead_users_dec() argument
467 tipc_aead_users_set(struct tipc_aead __rcu * aead,int val) tipc_aead_users_set() argument
488 tipc_aead_tfm_next(struct tipc_aead * aead) tipc_aead_tfm_next() argument
514 tipc_aead_init(struct tipc_aead ** aead,struct tipc_aead_key * ukey,u8 mode) tipc_aead_init() argument
628 struct tipc_aead *aead; tipc_aead_clone() local
732 tipc_aead_encrypt(struct tipc_aead * aead,struct sk_buff * skb,struct tipc_bearer * b,struct tipc_media_addr * dst,struct tipc_node * __dnode) tipc_aead_encrypt() argument
846 struct tipc_aead *aead = tx_ctx->aead; tipc_aead_encrypt_done() local
886 tipc_aead_decrypt(struct net * net,struct tipc_aead * aead,struct sk_buff * skb,struct tipc_bearer * b) tipc_aead_decrypt() argument
971 struct tipc_aead *aead = rx_ctx->aead; tipc_aead_decrypt_done() local
1039 tipc_ehdr_build(struct net * net,struct tipc_aead * aead,u8 tx_key,struct sk_buff * skb,struct tipc_crypto * __rx) tipc_ehdr_build() argument
1131 struct tipc_aead *aead = NULL; tipc_crypto_key_init() local
1157 tipc_crypto_key_attach(struct tipc_crypto * c,struct tipc_aead * aead,u8 pos,bool master_key) tipc_crypto_key_attach() argument
1325 struct tipc_aead *aead = NULL; tipc_crypto_key_pick_tx() local
1698 struct tipc_aead *aead = NULL; tipc_crypto_xmit() local
1819 struct tipc_aead *aead = NULL; tipc_crypto_rcv() local
1897 tipc_crypto_rcv_complete(struct net * net,struct tipc_aead * aead,struct tipc_bearer * b,struct sk_buff ** skb,int err) tipc_crypto_rcv_complete() argument
2083 struct tipc_aead *aead; tipc_crypto_key_dump() local
2203 struct tipc_aead *aead; tipc_crypto_key_distr() local
2450 struct tipc_aead *aead; tipc_crypto_work_tx() 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
505 struct crypto_aead *aead; in esp_output_tail() local
622 struct crypto_aead *aead; in esp_output() local
670 struct crypto_aead *aead = x->data; in esp_remove_trailer() local
713 struct crypto_aead *aead = x->data; in esp_input_done2() local
843 struct crypto_aead *aead = x->data; in esp_input() local
[all …]
H A Desp4_offload.c211 struct crypto_aead *aead; in esp4_gso_segment() local
253 struct crypto_aead *aead = x->data; in esp_input_tail() local
272 struct crypto_aead *aead; in esp_xmit() local
/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
537 struct crypto_aead *aead; in esp6_output_tail() local
654 struct crypto_aead *aead; in esp6_output() local
702 struct crypto_aead *aead = x->data; in esp_remove_trailer() local
744 struct crypto_aead *aead = x->data; in esp6_input_done2() local
881 struct crypto_aead *aead = x->data; in esp6_input() local
[all …]
H A Desp6_offload.c251 struct crypto_aead *aead; in esp6_gso_segment() local
291 struct crypto_aead *aead = x->data; in esp6_input_tail() local
310 struct crypto_aead *aead; in esp6_xmit() local
/linux/drivers/crypto/caam/
H A Dcaamalg.c104 struct aead_engine_alg aead; member
146 static int aead_null_set_sh_desc(struct crypto_aead *aead) in aead_null_set_sh_desc()
196 static int aead_set_sh_desc(struct crypto_aead *aead) in aead_set_sh_desc()
338 static int gcm_set_sh_desc(struct crypto_aead *aead) in gcm_set_sh_desc()
403 static int rfc4106_set_sh_desc(struct crypto_aead *aead) in rfc4106_set_sh_desc()
471 static int rfc4543_set_sh_desc(struct crypto_aead *aead) in rfc4543_set_sh_desc()
537 static int chachapoly_set_sh_desc(struct crypto_aead *aead) in chachapoly_set_sh_desc()
562 static int chachapoly_setauthsize(struct crypto_aead *aead, in chachapoly_setauthsize()
574 static int chachapoly_setkey(struct crypto_aead *aead, const u8 *key, in chachapoly_setkey()
591 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.c56 struct aead_alg aead; member
174 static int aead_set_sh_desc(struct crypto_aead *aead) in aead_set_sh_desc()
291 static int aead_setkey(struct crypto_aead *aead, const u8 *key, in aead_setkey()
331 static int des3_aead_setkey(struct crypto_aead *aead, const u8 *key, in des3_aead_setkey()
356 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_edesc_alloc() local
592 static int chachapoly_set_sh_desc(struct crypto_aead *aead) in chachapoly_set_sh_desc()
624 static int chachapoly_setauthsize(struct crypto_aead *aead, in chachapoly_setauthsize()
636 static int chachapoly_setkey(struct crypto_aead *aead, const u8 *key, in chachapoly_setkey()
653 static int gcm_set_sh_desc(struct crypto_aead *aead) in gcm_set_sh_desc()
725 static int gcm_setkey(struct crypto_aead *aead, in gcm_setkey()
[all …]
/linux/arch/arm64/crypto/
H A Dsm4-ce-ccm-glue.c55 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_format_input() local
92 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_calculate_auth_mac() local
193 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_encrypt() local
220 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_decrypt() local
H A Dsm4-ce-gcm-glue.c73 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_calculate_auth_mac() local
137 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_crypt() local
177 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_encrypt() local
196 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_decrypt() local
/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.c41 struct crypto_aead *aead, char *aad, in tls_enc_record() argument
112 struct crypto_aead *aead) in tls_init_aead_request() argument
118 static struct aead_request *tls_alloc_aead_request(struct crypto_aead *aead, in tls_alloc_aead_request() argument
132 struct crypto_aead *aead, struct scatterlist *sg_in, in tls_enc_records() argument
/linux/net/rxrpc/
H A Drxgk_kdf.c102 struct crypto_aead *aead; in rxgk_set_up_ciphers() local
275 struct crypto_aead *aead; in rxgk_set_up_token_cipher() local
H A Drxgk_common.h70 rxgk_decrypt_skb(const struct krb5_enctype * krb5,struct crypto_aead * aead,struct sk_buff * skb,unsigned int * _offset,unsigned int * _len,int * _error_code) rxgk_decrypt_skb() argument
/linux/drivers/crypto/bcm/
H A Dcipher.c2506 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_need_fallback() local
2573 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_do_fallback() local
2599 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_enqueue() local
4148 static int aead_cra_init(struct crypto_aead *aead) in aead_cra_init()
4206 static void aead_cra_exit(struct crypto_aead *aead) in aead_cra_exit()
4454 struct aead_alg *aead = &driver_alg->alg.aead; in spu_register_aead() local
/linux/crypto/
H A Dessiv.c53 struct crypto_aead *aead; member
325 struct crypto_aead *aead; in essiv_aead_init_tfm() local
/linux/security/keys/trusted-keys/
H A Dtrusted_dcp.c134 struct crypto_aead *aead; in do_aead_crypto() local
/linux/net/xfrm/
H A Dxfrm_algo.c770 const struct xfrm_aead_name *aead = data; xfrm_aead_name_match() local
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_rxtx.c202 struct crypto_aead *aead; in mlx5e_ipsec_set_state() local
H A Dipsec.c397 struct crypto_aead *aead; in mlx5e_ipsec_build_accel_xfrm_attrs() local
/linux/drivers/crypto/qce/
H A Dcommon.h92 struct aead_alg aead; member
/linux/include/crypto/
H A Daead.h300 static inline unsigned int crypto_aead_maxauthsize(struct crypto_aead *aead) in crypto_aead_maxauthsize()
/linux/drivers/crypto/ccree/
H A Dcc_driver.h176 struct aead_alg aead; member
/linux/drivers/crypto/
H A Dsa2ul.h320 struct crypto_aead *aead; member

12