Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_aead.c58 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()
442 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_rfc4106_enc() local
474 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_rfc4106_dec() local
[all …]
/openbmc/linux/crypto/
H A Daead.c105 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_encrypt() local
128 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_decrypt() local
153 struct crypto_aead *aead = __crypto_aead_cast(tfm); in crypto_aead_exit_tfm() local
161 struct crypto_aead *aead = __crypto_aead_cast(tfm); in crypto_aead_init_tfm() local
181 struct aead_alg *aead = container_of(alg, struct aead_alg, base); in crypto_aead_report() local
199 struct aead_alg *aead = container_of(alg, struct aead_alg, base); in crypto_aead_show() local
212 struct aead_instance *aead = aead_instance(inst); in crypto_aead_free_instance() local
220 struct aead_alg *aead = container_of(alg, struct aead_alg, base); in crypto_aead_report_stat() local
H A Dccm.c87 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
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
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 …]
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 Dpcrypt.c98 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
/openbmc/linux/drivers/crypto/xilinx/
H A Dzynqmp-aes-gcm.c47 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
241 static int zynqmp_aes_aead_setkey(struct crypto_aead *aead, const u8 *key, in zynqmp_aes_aead_setkey()
273 static int zynqmp_aes_aead_setauthsize(struct crypto_aead *aead, in zynqmp_aes_aead_setauthsize()
287 struct crypto_aead *aead = crypto_aead_reqtfm(req); in zynqmp_aes_aead_encrypt() local
300 struct crypto_aead *aead = crypto_aead_reqtfm(req); in zynqmp_aes_aead_decrypt() local
310 static int zynqmp_aes_aead_init(struct crypto_aead *aead) in zynqmp_aes_aead_init()
338 static void zynqmp_aes_aead_exit(struct crypto_aead *aead) in zynqmp_aes_aead_exit()
/openbmc/linux/net/tipc/
H A Dcrypto.c240 struct tipc_aead *aead; member
247 struct tipc_aead *aead; member
628 struct tipc_aead *aead; in tipc_aead_clone() local
1122 struct tipc_aead *aead = NULL; in tipc_crypto_key_init() local
1148 struct tipc_aead *aead, u8 pos, in tipc_crypto_key_attach()
1316 struct tipc_aead *aead = NULL; in tipc_crypto_key_pick_tx() local
1689 struct tipc_aead *aead = NULL; in tipc_crypto_xmit() local
1810 struct tipc_aead *aead = NULL; in tipc_crypto_rcv() local
2074 struct tipc_aead *aead; in tipc_crypto_key_dump() local
2194 struct tipc_aead *aead; in tipc_crypto_key_distr() local
[all …]
/openbmc/linux/net/ipv6/
H A Desp6.c107 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
579 struct crypto_aead *aead; in esp6_output_tail() local
696 struct crypto_aead *aead; in esp6_output() local
744 struct crypto_aead *aead = x->data; in esp_remove_trailer() local
786 struct crypto_aead *aead = x->data; in esp6_input_done2() local
923 struct crypto_aead *aead = x->data; in esp6_input() local
1047 struct crypto_aead *aead = x->data; in esp6_destroy() local
1058 struct crypto_aead *aead; in esp_init_aead() local
1093 struct crypto_aead *aead; in esp_init_authenc() local
[all …]
H A Desp6_offload.c236 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
/openbmc/linux/net/ipv4/
H A Desp4.c90 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
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
1004 struct crypto_aead *aead = x->data; in esp_destroy() local
1015 struct crypto_aead *aead; in esp_init_aead() local
1050 struct crypto_aead *aead; in esp_init_authenc() local
[all …]
H A Desp4_offload.c198 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
/openbmc/linux/arch/arm64/crypto/
H A Daes-ce-ccm-glue.c61 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
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); 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 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); in ccm_encrypt() local
242 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_decrypt() local
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); 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
/openbmc/linux/drivers/crypto/caam/
H A Dcaamalg.c101 struct aead_engine_alg aead; member
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()
585 static int aead_setkey(struct crypto_aead *aead, in aead_setkey()
666 static int gcm_setkey(struct crypto_aead *aead, in gcm_setkey()
687 static int rfc4106_setkey(struct crypto_aead *aead, in rfc4106_setkey()
713 static int rfc4543_setkey(struct crypto_aead *aead, in rfc4543_setkey()
1075 struct crypto_aead *aead = crypto_aead_reqtfm(req); in init_aead_job() local
1136 struct crypto_aead *aead = crypto_aead_reqtfm(req); in init_gcm_job() local
1166 struct crypto_aead *aead = crypto_aead_reqtfm(req); in init_chachapoly_job() local
[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()
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()
897 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_unmap() local
944 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_edesc_alloc() local
[all …]
H A Dcaamalg_qi2.c54 struct aead_alg aead; member
172 static int aead_set_sh_desc(struct crypto_aead *aead) in aead_set_sh_desc()
354 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_edesc_alloc() local
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()
818 static int rfc4106_setkey(struct crypto_aead *aead, in rfc4106_setkey()
917 static int rfc4543_setkey(struct crypto_aead *aead, in rfc4543_setkey()
1264 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_unmap() local
1291 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_encrypt_done() local
1312 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_decrypt_done() local
[all …]
/openbmc/linux/arch/x86/crypto/
H A 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()
/openbmc/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()
/openbmc/linux/net/tls/
H A Dtls_device_fallback.c51 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()
/openbmc/linux/arch/arm/crypto/
H A Dghash-ce-glue.c453 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
/openbmc/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

123