Home
last modified time | relevance | path

Searched defs:tfm (Results 1 – 25 of 95) sorted by relevance

1234

/linux/include/crypto/
H A Daead.h177 static inline struct crypto_aead *__crypto_aead_cast(struct crypto_tfm *tfm) in __crypto_aead_cast()
200 static inline struct crypto_tfm *crypto_aead_tfm(struct crypto_aead *tfm) in crypto_aead_tfm()
205 static inline struct crypto_tfm *crypto_sync_aead_tfm(struct crypto_sync_aead *tfm) in crypto_sync_aead_tfm()
216 static inline void crypto_free_aead(struct crypto_aead *tfm) in crypto_free_aead()
221 static inline void crypto_free_sync_aead(struct crypto_sync_aead *tfm) in crypto_free_sync_aead()
238 static inline const char *crypto_aead_driver_name(struct crypto_aead *tfm) in crypto_aead_driver_name()
243 static inline struct aead_alg *crypto_aead_alg(struct crypto_aead *tfm) in crypto_aead_alg()
263 static inline unsigned int crypto_aead_ivsize(struct crypto_aead *tfm) in crypto_aead_ivsize()
268 static inline unsigned int crypto_sync_aead_ivsize(struct crypto_sync_aead *tfm) in crypto_sync_aead_ivsize()
285 static inline unsigned int crypto_aead_authsize(struct crypto_aead *tfm) in crypto_aead_authsize()
[all …]
H A Dkpp.h114 static inline struct crypto_tfm *crypto_kpp_tfm(struct crypto_kpp *tfm) in crypto_kpp_tfm()
124 static inline struct crypto_kpp *__crypto_kpp_tfm(struct crypto_tfm *tfm) in __crypto_kpp_tfm()
129 static inline struct kpp_alg *crypto_kpp_alg(struct crypto_kpp *tfm) in crypto_kpp_alg()
134 static inline unsigned int crypto_kpp_reqsize(struct crypto_kpp *tfm) in crypto_kpp_reqsize()
140 struct crypto_kpp *tfm) in kpp_request_set_tfm()
150 static inline u32 crypto_kpp_get_flags(struct crypto_kpp *tfm) in crypto_kpp_get_flags()
155 static inline void crypto_kpp_set_flags(struct crypto_kpp *tfm, u32 flags) in crypto_kpp_set_flags()
167 static inline void crypto_free_kpp(struct crypto_kpp *tfm) in crypto_free_kpp()
180 static inline struct kpp_request *kpp_request_alloc(struct crypto_kpp *tfm, in kpp_request_alloc()
290 static inline int crypto_kpp_set_secret(struct crypto_kpp *tfm, in crypto_kpp_set_secret()
[all …]
/linux/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss-cipher.c17 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_opti_poll() local
150 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cipher_poll_fallback() local
178 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cipher_poll() local
399 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_aes_encrypt() local
410 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_aes_decrypt() local
422 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_ecb_aes_encrypt() local
433 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_ecb_aes_decrypt() local
445 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_des_encrypt() local
456 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_des_decrypt() local
468 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_ecb_des_encrypt() local
[all …]
/linux/drivers/crypto/tegra/
H A Dtegra-se-hash.c117 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_init() local
131 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_update() local
146 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_final() local
161 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_finup() local
177 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_digest() local
193 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_import() local
207 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_export() local
355 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_do_init() local
469 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_do_final() local
520 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_do_one_req() local
[all …]
H A Dtegra-se-aes.c343 static int tegra_aes_cra_init(struct crypto_skcipher *tfm) in tegra_aes_cra_init()
373 static void tegra_aes_cra_exit(struct crypto_skcipher *tfm) in tegra_aes_cra_exit()
384 static int tegra_aes_setkey(struct crypto_skcipher *tfm, in tegra_aes_setkey()
404 static int tegra_xts_setkey(struct crypto_skcipher *tfm, in tegra_xts_setkey()
482 struct crypto_skcipher *tfm; in tegra_aes_crypt() local
1163 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in tegra_ccm_crypt_init() local
1200 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in tegra_ccm_do_one_req() local
1278 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in tegra_gcm_do_one_req() local
1365 static int tegra_aead_cra_init(struct crypto_aead *tfm) in tegra_aead_cra_init()
1394 static int tegra_ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in tegra_ccm_setauthsize()
[all …]
/linux/include/crypto/internal/
H A Ddes.h26 static inline int crypto_des_verify_key(struct crypto_tfm *tfm, const u8 *key) in crypto_des_verify_key()
91 static inline int crypto_des3_ede_verify_key(struct crypto_tfm *tfm, in crypto_des3_ede_verify_key()
99 static inline int verify_skcipher_des_key(struct crypto_skcipher *tfm, in verify_skcipher_des_key()
105 static inline int verify_skcipher_des3_key(struct crypto_skcipher *tfm, in verify_skcipher_des3_key()
111 static inline int verify_aead_des_key(struct crypto_aead *tfm, const u8 *key, in verify_aead_des_key()
119 static inline int verify_aead_des3_key(struct crypto_aead *tfm, const u8 *key, in verify_aead_des3_key()
/linux/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c620 static int safexcel_ahash_exit_inv(struct crypto_tfm *tfm) in safexcel_ahash_exit_inv()
916 static int safexcel_ahash_cra_init(struct crypto_tfm *tfm) in safexcel_ahash_cra_init()
959 static void safexcel_ahash_cra_exit(struct crypto_tfm *tfm) in safexcel_ahash_cra_exit()
1119 struct crypto_ahash *tfm; in __safexcel_hmac_setkey() local
1188 static int safexcel_hmac_alg_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_alg_setkey()
1197 static int safexcel_hmac_sha1_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha1_setkey()
1350 static int safexcel_hmac_sha224_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha224_setkey()
1422 static int safexcel_hmac_sha256_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha256_setkey()
1608 static int safexcel_hmac_sha512_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha512_setkey()
1680 static int safexcel_hmac_sha384_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha384_setkey()
[all …]
/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_algs.c103 struct crypto_aead *tfm; in validate_hmac_cipher_null() local
239 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); in create_ctx_hdr() local
394 static int otx_cpt_skcipher_xts_setkey(struct crypto_skcipher *tfm, in otx_cpt_skcipher_xts_setkey()
423 static int cpt_des_setkey(struct crypto_skcipher *tfm, const u8 *key, in cpt_des_setkey()
439 static int cpt_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in cpt_aes_setkey()
465 static int otx_cpt_skcipher_cbc_aes_setkey(struct crypto_skcipher *tfm, in otx_cpt_skcipher_cbc_aes_setkey()
471 static int otx_cpt_skcipher_ecb_aes_setkey(struct crypto_skcipher *tfm, in otx_cpt_skcipher_ecb_aes_setkey()
477 static int otx_cpt_skcipher_cbc_des3_setkey(struct crypto_skcipher *tfm, in otx_cpt_skcipher_cbc_des3_setkey()
483 static int otx_cpt_skcipher_ecb_des3_setkey(struct crypto_skcipher *tfm, in otx_cpt_skcipher_ecb_des3_setkey()
489 static int otx_cpt_enc_dec_init(struct crypto_skcipher *tfm) in otx_cpt_enc_dec_init()
[all …]
/linux/security/integrity/ima/
H A Dima_crypto.c88 struct crypto_shash *tfm = ima_shash_tfm; ima_alloc_tfm() local
209 ima_free_tfm(struct crypto_shash * tfm) ima_free_tfm() argument
287 struct crypto_ahash *tfm = ima_ahash_tfm; ima_alloc_atfm() local
307 ima_free_atfm(struct crypto_ahash * tfm) ima_free_atfm() argument
326 ima_calc_file_hash_atfm(struct file * file,struct ima_digest_data * hash,struct crypto_ahash * tfm) ima_calc_file_hash_atfm() argument
437 struct crypto_ahash *tfm; ima_calc_file_ahash() local
453 ima_calc_file_hash_tfm(struct file * file,struct ima_digest_data * hash,struct crypto_shash * tfm) ima_calc_file_hash_tfm() argument
504 struct crypto_shash *tfm; ima_calc_file_shash() local
660 calc_buffer_ahash_atfm(const void * buf,loff_t len,struct ima_digest_data * hash,struct crypto_ahash * tfm) calc_buffer_ahash_atfm() argument
701 struct crypto_ahash *tfm; calc_buffer_ahash() local
717 calc_buffer_shash_tfm(const void * buf,loff_t size,struct ima_digest_data * hash,struct crypto_shash * tfm) calc_buffer_shash_tfm() argument
748 struct crypto_shash *tfm; calc_buffer_shash() local
796 ima_calc_boot_aggregate_tfm(char * digest,u16 alg_id,struct crypto_shash * tfm) ima_calc_boot_aggregate_tfm() argument
841 struct crypto_shash *tfm; ima_calc_boot_aggregate() local
[all...]
/linux/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-hash.c95 int sun8i_ss_hash_init_tfm(struct crypto_ahash *tfm) in sun8i_ss_hash_init_tfm()
133 void sun8i_ss_hash_exit_tfm(struct crypto_ahash *tfm) in sun8i_ss_hash_exit_tfm()
147 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_init() local
163 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_export() local
177 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_import() local
191 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_final() local
218 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_update() local
233 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_finup() local
261 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_digest_fb() local
347 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_need_fallback() local
[all …]
/linux/drivers/crypto/
H A Dgeode-aes.c110 static int geode_setkey_cip(struct crypto_tfm *tfm, const u8 *key, in geode_setkey_cip()
136 static int geode_setkey_skcipher(struct crypto_skcipher *tfm, const u8 *key, in geode_setkey_skcipher()
164 geode_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in geode_encrypt()
179 geode_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in geode_decrypt()
192 static int fallback_init_cip(struct crypto_tfm *tfm) in fallback_init_cip()
208 static void fallback_exit_cip(struct crypto_tfm *tfm) in fallback_exit_cip()
238 static int geode_init_skcipher(struct crypto_skcipher *tfm) in geode_init_skcipher()
256 static void geode_exit_skcipher(struct crypto_skcipher *tfm) in geode_exit_skcipher()
265 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in geode_skcipher_crypt() local
H A Dpadlock-aes.c97 static inline struct aes_ctx *aes_ctx(struct crypto_tfm *tfm) in aes_ctx()
102 static inline struct aes_ctx *skcipher_aes_ctx(struct crypto_skcipher *tfm) in skcipher_aes_ctx()
107 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key()
162 static int aes_set_key_skcipher(struct crypto_skcipher *tfm, const u8 *in_key, in aes_set_key_skcipher()
306 static void padlock_aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in padlock_aes_encrypt()
315 static void padlock_aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in padlock_aes_decrypt()
346 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_aes_encrypt() local
371 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_aes_decrypt() local
411 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_aes_encrypt() local
438 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_aes_decrypt() local
/linux/arch/arm64/crypto/
H A Dsm4-ce-glue.c69 static int sm4_setkey(struct crypto_skcipher *tfm, const u8 *key, in sm4_setkey()
83 static int sm4_xts_setkey(struct crypto_skcipher *tfm, const u8 *key, in sm4_xts_setkey()
135 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_ecb_encrypt() local
143 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_ecb_decrypt() local
185 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_cbc_encrypt() local
193 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_cbc_decrypt() local
201 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_cbc_cts_crypt() local
271 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_ctr_crypt() local
312 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_xts_crypt() local
490 static int sm4_cbcmac_setkey(struct crypto_shash *tfm, const u8 *key, in sm4_cbcmac_setkey()
[all …]
H A Dsm4-neon-glue.c28 static int sm4_setkey(struct crypto_skcipher *tfm, const u8 *key, in sm4_setkey()
63 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_ecb_encrypt() local
71 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_ecb_decrypt() local
79 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_cbc_encrypt() local
111 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_cbc_decrypt() local
139 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_ctr_crypt() local
H A Daes-neonbs-glue.c62 static int aesbs_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_setkey()
90 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __ecb_crypt() local
124 static int aesbs_cbc_ctr_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_cbc_ctr_setkey()
152 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt() local
175 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt() local
202 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_encrypt() local
246 static int aesbs_xts_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_xts_setkey()
275 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __xts_crypt() local
/linux/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-hcu-core.c167 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in kmb_ocs_hcu_find_dev() local
386 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in prepare_ipad() local
424 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in kmb_ocs_hcu_do_one_request() local
573 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in kmb_ocs_hcu_init() local
662 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in kmb_ocs_hcu_fin_common() local
755 static int kmb_ocs_hcu_setkey(struct crypto_ahash *tfm, const u8 *key, in kmb_ocs_hcu_setkey()
831 static void __cra_init(struct crypto_tfm *tfm, struct ocs_hcu_ctx *ctx) in __cra_init()
837 static int kmb_ocs_hcu_sha_cra_init(struct crypto_tfm *tfm) in kmb_ocs_hcu_sha_cra_init()
846 static int kmb_ocs_hcu_sm3_cra_init(struct crypto_tfm *tfm) in kmb_ocs_hcu_sm3_cra_init()
857 static int kmb_ocs_hcu_hmac_sm3_cra_init(struct crypto_tfm *tfm) in kmb_ocs_hcu_hmac_sm3_cra_init()
[all …]
/linux/drivers/crypto/amlogic/
H A Damlogic-gxl-cipher.c60 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in meson_cipher_do_fallback() local
86 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in meson_cipher() local
276 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in meson_skdecrypt() local
294 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in meson_skencrypt() local
310 int meson_cipher_init(struct crypto_tfm *tfm) in meson_cipher_init()
336 void meson_cipher_exit(struct crypto_tfm *tfm) in meson_cipher_exit()
344 int meson_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in meson_aes_setkey()
/linux/arch/x86/crypto/
H A Daria_aesni_avx_glue.c64 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in aria_avx_ecb_encrypt() local
72 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in aria_avx_ecb_decrypt() local
78 static int aria_avx_set_key(struct crypto_skcipher *tfm, const u8 *key, in aria_avx_set_key()
87 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in aria_avx_ctr_encrypt() local
144 static int aria_avx_init_tfm(struct crypto_skcipher *tfm) in aria_avx_init_tfm()
H A Daria_aesni_avx2_glue.c66 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in aria_avx2_ecb_encrypt() local
74 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in aria_avx2_ecb_decrypt() local
80 static int aria_avx2_set_key(struct crypto_skcipher *tfm, const u8 *key, in aria_avx2_set_key()
89 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in aria_avx2_ctr_encrypt() local
157 static int aria_avx2_init_tfm(struct crypto_skcipher *tfm) in aria_avx2_init_tfm()
/linux/crypto/
H A Dchacha.c20 static int chacha_setkey(struct crypto_skcipher *tfm, in chacha_setkey()
36 static int chacha20_setkey(struct crypto_skcipher *tfm, in chacha20_setkey()
42 static int chacha12_setkey(struct crypto_skcipher *tfm, in chacha12_setkey()
76 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_chacha_crypt() local
84 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_xchacha_crypt() local
H A Dalgif_skcipher.c63 struct crypto_skcipher *tfm = pask->private; in skcipher_sendmsg() local
72 struct crypto_skcipher *tfm; in algif_skcipher_export() local
109 struct crypto_skcipher *tfm = pask->private; in _skcipher_recvmsg() local
256 struct crypto_skcipher *tfm; in skcipher_check_key() local
360 struct crypto_skcipher *tfm = pask->private; in skcipher_sock_destruct() local
374 struct crypto_skcipher *tfm = private; in skcipher_accept_parent_nokey() local
403 struct crypto_skcipher *tfm = private; in skcipher_accept_parent() local
H A Dessiv.c66 static int essiv_skcipher_setkey(struct crypto_skcipher *tfm, in essiv_skcipher_setkey()
93 static int essiv_aead_setkey(struct crypto_aead *tfm, const u8 *key, in essiv_aead_setkey()
126 static int essiv_aead_setauthsize(struct crypto_aead *tfm, in essiv_aead_setauthsize()
143 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in essiv_skcipher_crypt() local
185 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in essiv_aead_crypt() local
295 static int essiv_skcipher_init_tfm(struct crypto_skcipher *tfm) in essiv_skcipher_init_tfm()
320 static int essiv_aead_init_tfm(struct crypto_aead *tfm) in essiv_aead_init_tfm()
353 static void essiv_skcipher_exit_tfm(struct crypto_skcipher *tfm) in essiv_skcipher_exit_tfm()
362 static void essiv_aead_exit_tfm(struct crypto_aead *tfm) in essiv_aead_exit_tfm()
/linux/drivers/crypto/starfive/
H A Djh7110-aes.c605 static int starfive_aes_init_tfm(struct crypto_skcipher *tfm, in starfive_aes_init_tfm()
627 static void starfive_aes_exit_tfm(struct crypto_skcipher *tfm) in starfive_aes_exit_tfm()
720 static int starfive_aes_aead_init_tfm(struct crypto_aead *tfm, in starfive_aes_aead_init_tfm()
742 static void starfive_aes_aead_exit_tfm(struct crypto_aead *tfm) in starfive_aes_aead_exit_tfm()
791 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in starfive_aes_crypt() local
855 static int starfive_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in starfive_aes_setkey()
874 static int starfive_aes_aead_setkey(struct crypto_aead *tfm, const u8 *key, in starfive_aes_aead_setkey()
893 static int starfive_aes_gcm_setauthsize(struct crypto_aead *tfm, in starfive_aes_gcm_setauthsize()
906 static int starfive_aes_ccm_setauthsize(struct crypto_aead *tfm, in starfive_aes_ccm_setauthsize()
989 static int starfive_aes_ecb_init_tfm(struct crypto_skcipher *tfm) in starfive_aes_ecb_init_tfm()
[all …]
/linux/net/mac80211/
H A Daead_api.c18 int aead_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_encrypt()
50 int aead_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_decrypt()
89 struct crypto_aead *tfm; in aead_key_setup_encrypt() local
110 void aead_key_free(struct crypto_aead *tfm) in aead_key_free()
/linux/drivers/crypto/rockchip/
H A Drk3288_crypto_skcipher.c25 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in rk_cipher_need_fallback() local
70 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in rk_cipher_fallback() local
111 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in rk_aes_setkey() local
255 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in rk_cipher_hw_init() local
302 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in rk_cipher_run() local
433 static int rk_cipher_tfm_init(struct crypto_skcipher *tfm) in rk_cipher_tfm_init()
453 static void rk_cipher_tfm_exit(struct crypto_skcipher *tfm) in rk_cipher_tfm_exit()

1234