Home
last modified time | relevance | path

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

12345678910>>...16

/linux-6.15/include/crypto/
H A Dskcipher.h260 struct crypto_tfm *tfm) in __crypto_skcipher_cast()
304 struct crypto_skcipher *tfm) in crypto_skcipher_tfm()
361 struct crypto_skcipher *tfm) in crypto_skcipher_driver_name()
373 struct crypto_skcipher *tfm) in crypto_skcipher_alg_common()
380 struct crypto_skcipher *tfm) in crypto_skcipher_alg()
439 struct crypto_skcipher *tfm) in crypto_skcipher_blocksize()
472 struct crypto_skcipher *tfm) in crypto_skcipher_chunksize()
506 struct crypto_skcipher *tfm) in crypto_skcipher_statesize()
535 struct crypto_skcipher *tfm) in crypto_skcipher_alignmask()
643 struct crypto_skcipher *tfm) in crypto_skcipher_min_keysize()
[all …]
H A Dhash.h162 struct crypto_shash *tfm; member
290 static inline void crypto_free_ahash(struct crypto_ahash *tfm) in crypto_free_ahash()
307 static inline const char *crypto_ahash_alg_name(struct crypto_ahash *tfm) in crypto_ahash_alg_name()
338 struct crypto_ahash *tfm) in crypto_hash_alg_common()
373 static inline u32 crypto_ahash_get_flags(struct crypto_ahash *tfm) in crypto_ahash_get_flags()
549 struct crypto_ahash *tfm) in ahash_request_set_tfm()
567 struct crypto_ahash *tfm, gfp_t gfp) in ahash_request_alloc_noprof()
733 static inline void crypto_free_shash(struct crypto_shash *tfm) in crypto_free_shash()
791 static inline u32 crypto_shash_get_flags(struct crypto_shash *tfm) in crypto_shash_get_flags()
926 struct crypto_shash *tfm = desc->tfm; in crypto_shash_init() local
[all …]
H A Daead.h183 static inline struct crypto_tfm *crypto_aead_tfm(struct crypto_aead *tfm) in crypto_aead_tfm()
194 static inline void crypto_free_aead(struct crypto_aead *tfm) in crypto_free_aead()
211 static inline const char *crypto_aead_driver_name(struct crypto_aead *tfm) in crypto_aead_driver_name()
216 static inline struct aead_alg *crypto_aead_alg(struct crypto_aead *tfm) in crypto_aead_alg()
236 static inline unsigned int crypto_aead_ivsize(struct crypto_aead *tfm) in crypto_aead_ivsize()
253 static inline unsigned int crypto_aead_authsize(struct crypto_aead *tfm) in crypto_aead_authsize()
278 static inline unsigned int crypto_aead_blocksize(struct crypto_aead *tfm) in crypto_aead_blocksize()
283 static inline unsigned int crypto_aead_alignmask(struct crypto_aead *tfm) in crypto_aead_alignmask()
288 static inline u32 crypto_aead_get_flags(struct crypto_aead *tfm) in crypto_aead_get_flags()
401 static inline unsigned int crypto_aead_reqsize(struct crypto_aead *tfm) in crypto_aead_reqsize()
[all …]
H A Dsig.h96 static inline struct crypto_tfm *crypto_sig_tfm(struct crypto_sig *tfm) in crypto_sig_tfm()
101 static inline struct crypto_sig *__crypto_sig_tfm(struct crypto_tfm *tfm) in __crypto_sig_tfm()
111 static inline struct sig_alg *crypto_sig_alg(struct crypto_sig *tfm) in crypto_sig_alg()
123 static inline void crypto_free_sig(struct crypto_sig *tfm) in crypto_free_sig()
138 static inline unsigned int crypto_sig_keysize(struct crypto_sig *tfm) in crypto_sig_keysize()
155 static inline unsigned int crypto_sig_digestsize(struct crypto_sig *tfm) in crypto_sig_digestsize()
172 static inline unsigned int crypto_sig_maxsize(struct crypto_sig *tfm) in crypto_sig_maxsize()
192 static inline int crypto_sig_sign(struct crypto_sig *tfm, in crypto_sig_sign()
215 static inline int crypto_sig_verify(struct crypto_sig *tfm, in crypto_sig_verify()
237 static inline int crypto_sig_set_pubkey(struct crypto_sig *tfm, in crypto_sig_set_pubkey()
[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()
167 static inline void crypto_free_kpp(struct crypto_kpp *tfm) in crypto_free_kpp()
290 static inline int crypto_kpp_set_secret(struct crypto_kpp *tfm, in crypto_kpp_set_secret()
311 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in crypto_kpp_generate_public_key() local
328 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in crypto_kpp_compute_shared_secret() local
[all …]
H A Dakcipher.h123 struct crypto_akcipher *tfm) in crypto_akcipher_tfm()
134 struct crypto_tfm *tfm) in __crypto_akcipher_tfm()
140 struct crypto_akcipher *tfm) in crypto_akcipher_alg()
145 static inline unsigned int crypto_akcipher_reqsize(struct crypto_akcipher *tfm) in crypto_akcipher_reqsize()
151 struct crypto_akcipher *tfm) in akcipher_request_set_tfm()
169 static inline void crypto_free_akcipher(struct crypto_akcipher *tfm) in crypto_free_akcipher()
183 struct crypto_akcipher *tfm, gfp_t gfp) in akcipher_request_alloc()
277 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in crypto_akcipher_encrypt() local
294 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in crypto_akcipher_decrypt() local
348 static inline int crypto_akcipher_set_pub_key(struct crypto_akcipher *tfm, in crypto_akcipher_set_pub_key()
[all …]
/linux-6.15/drivers/crypto/inside-secure/
H A Dsafexcel_cipher.c374 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aes_setkey() local
405 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_setkey() local
1004 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in safexcel_aead_handle_result() local
2507 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_gcm_setkey() local
2609 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_ccm_setkey() local
2826 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in safexcel_aead_chachapoly_crypt() local
3229 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_fallback_setkey() local
3240 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_fallback_setauthsize() local
3251 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in safexcel_aead_fallback_crypt() local
3410 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_rfc4106_gcm_setkey() local
[all …]
H A Dsafexcel_hash.c1121 struct crypto_ahash *tfm; in __safexcel_hmac_setkey() local
2357 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in safexcel_sha3_224_init() local
2375 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_fbcheck() local
2412 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_update() local
2422 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_final() local
2432 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_finup() local
2447 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_digest_fallback() local
2467 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_export() local
2477 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_import() local
2551 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in safexcel_sha3_256_init() local
[all …]
/linux-6.15/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
534 int sun4i_ss_cipher_init(struct crypto_tfm *tfm) in sun4i_ss_cipher_init()
[all …]
/linux-6.15/include/crypto/internal/
H A Dcipher.h37 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm) in __crypto_cipher_cast()
66 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm()
75 static inline void crypto_free_cipher(struct crypto_cipher *tfm) in crypto_free_cipher()
109 static inline unsigned int crypto_cipher_blocksize(struct crypto_cipher *tfm) in crypto_cipher_blocksize()
114 static inline unsigned int crypto_cipher_alignmask(struct crypto_cipher *tfm) in crypto_cipher_alignmask()
119 static inline u32 crypto_cipher_get_flags(struct crypto_cipher *tfm) in crypto_cipher_get_flags()
124 static inline void crypto_cipher_set_flags(struct crypto_cipher *tfm, in crypto_cipher_set_flags()
130 static inline void crypto_cipher_clear_flags(struct crypto_cipher *tfm, in crypto_cipher_clear_flags()
215 static inline struct cipher_alg *crypto_cipher_alg(struct crypto_cipher *tfm) in crypto_cipher_alg()
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-6.15/drivers/crypto/tegra/
H A Dtegra-se-hash.c116 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_init() local
129 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_update() local
144 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_final() local
158 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_finup() local
175 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_digest() local
192 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_import() local
205 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_export() local
352 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_do_init() local
465 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_do_final() local
516 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_do_one_req() local
[all …]
/linux-6.15/crypto/
H A Dlskcipher.c21 struct crypto_tfm *tfm) in __crypto_lskcipher_cast()
32 static int lskcipher_setkey_unaligned(struct crypto_lskcipher *tfm, in lskcipher_setkey_unaligned()
70 struct crypto_lskcipher *tfm, const u8 *src, u8 *dst, unsigned len, in crypto_lskcipher_crypt_unaligned()
71 u8 *iv, int (*crypt)(struct crypto_lskcipher *tfm, const u8 *src, in crypto_lskcipher_crypt_unaligned()
125 int (*crypt)(struct crypto_lskcipher *tfm, in crypto_lskcipher_crypt()
159 int (*crypt)(struct crypto_lskcipher *tfm, in crypto_lskcipher_crypt_sg()
167 struct crypto_lskcipher *tfm = *ctx; in crypto_lskcipher_crypt_sg() local
219 static void crypto_lskcipher_exit_tfm(struct crypto_tfm *tfm) in crypto_lskcipher_exit_tfm()
227 static int crypto_lskcipher_init_tfm(struct crypto_tfm *tfm) in crypto_lskcipher_init_tfm()
299 static void crypto_lskcipher_exit_tfm_sg(struct crypto_tfm *tfm) in crypto_lskcipher_exit_tfm_sg()
[all …]
H A Dbpf_crypto_skcipher.c13 static void bpf_crypto_lskcipher_free_tfm(void *tfm) in bpf_crypto_lskcipher_free_tfm()
23 static int bpf_crypto_lskcipher_setkey(void *tfm, const u8 *key, unsigned int keylen) in bpf_crypto_lskcipher_setkey()
28 static u32 bpf_crypto_lskcipher_get_flags(void *tfm) in bpf_crypto_lskcipher_get_flags()
33 static unsigned int bpf_crypto_lskcipher_ivsize(void *tfm) in bpf_crypto_lskcipher_ivsize()
38 static unsigned int bpf_crypto_lskcipher_statesize(void *tfm) in bpf_crypto_lskcipher_statesize()
43 static int bpf_crypto_lskcipher_encrypt(void *tfm, const u8 *src, u8 *dst, in bpf_crypto_lskcipher_encrypt()
49 static int bpf_crypto_lskcipher_decrypt(void *tfm, const u8 *src, u8 *dst, in bpf_crypto_lskcipher_decrypt()
H A Dskcipher.c286 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in skcipher_walk_virt() local
325 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in skcipher_walk_aead_common() local
363 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in skcipher_walk_aead_decrypt() local
437 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_skcipher_encrypt() local
450 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_skcipher_decrypt() local
463 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_lskcipher_export() local
476 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_lskcipher_import() local
499 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_skcipher_export() local
510 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_skcipher_import() local
527 static int crypto_skcipher_init_tfm(struct crypto_tfm *tfm) in crypto_skcipher_init_tfm()
[all …]
H A Dahash.c159 struct crypto_ahash *tfm) in prepare_shash_desc()
369 struct crypto_ahash *tfm; in ahash_reqchain_finish() local
462 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_do_req_chain() local
537 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_init() local
556 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_save_req() local
582 struct crypto_ahash *tfm; in ahash_restore_req() local
597 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_update() local
613 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_final() local
649 struct crypto_ahash *tfm; in ahash_def_digest_finish() local
741 struct crypto_ahash *tfm; in ahash_def_finup_finish1() local
[all …]
/linux-6.15/drivers/crypto/rockchip/
H A Drk3288_crypto_ahash.c47 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in rk_ahash_digest_fb() local
67 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in zero_message_process() local
123 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_init() local
136 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_update() local
151 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_final() local
165 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_finup() local
182 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_import() local
195 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_export() local
261 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in rk_hash_run() local
344 static int rk_hash_init_tfm(struct crypto_ahash *tfm) in rk_hash_init_tfm()
[all …]
/linux-6.15/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-hash.c26 int sun8i_ce_hash_init_tfm(struct crypto_ahash *tfm) in sun8i_ce_hash_init_tfm()
64 void sun8i_ce_hash_exit_tfm(struct crypto_ahash *tfm) in sun8i_ce_hash_exit_tfm()
75 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_init() local
89 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_export() local
101 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_import() local
113 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_final() local
138 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_update() local
153 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_finup() local
181 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_digest_fb() local
208 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_need_fallback() local
[all …]
H A Dsun8i-ce-cipher.c26 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_cipher_need_fallback() local
91 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_cipher_fallback() local
123 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_cipher_prepare() local
306 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_cipher_unprepare() local
350 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(breq); in sun8i_ce_cipher_run() local
377 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_skdecrypt() local
396 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_skencrypt() local
413 int sun8i_ce_cipher_init(struct crypto_tfm *tfm) in sun8i_ce_cipher_init()
452 void sun8i_ce_cipher_exit(struct crypto_tfm *tfm) in sun8i_ce_cipher_exit()
461 int sun8i_ce_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in sun8i_ce_aes_setkey()
[all …]
/linux-6.15/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-cipher.c25 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ss_need_fallback() local
91 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ss_cipher_fallback() local
122 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ss_setup_ivs() local
185 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ss_cipher() local
347 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ss_skdecrypt() local
368 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ss_skencrypt() local
387 int sun8i_ss_cipher_init(struct crypto_tfm *tfm) in sun8i_ss_cipher_init()
427 void sun8i_ss_cipher_exit(struct crypto_tfm *tfm) in sun8i_ss_cipher_exit()
436 int sun8i_ss_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in sun8i_ss_aes_setkey()
465 int sun8i_ss_des3_setkey(struct crypto_skcipher *tfm, const u8 *key, in sun8i_ss_des3_setkey()
/linux-6.15/drivers/crypto/caam/
H A Dcaampkc.c65 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_pub_unmap() local
77 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f1_unmap() local
89 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f2_unmap() local
106 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f3_unmap() local
156 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f_done() local
252 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_edesc_alloc() local
379 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in akcipher_do_one_req() local
407 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_pub_pdb() local
453 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_priv_f1_pdb() local
500 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_priv_f2_pdb() local
[all …]
/linux-6.15/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()
489 static int otx_cpt_enc_dec_init(struct crypto_skcipher *tfm) in otx_cpt_enc_dec_init()
572 static int otx_cpt_aead_cbc_aes_sha1_init(struct crypto_aead *tfm) in otx_cpt_aead_cbc_aes_sha1_init()
612 static int otx_cpt_aead_gcm_aes_init(struct crypto_aead *tfm) in otx_cpt_aead_gcm_aes_init()
617 static void otx_cpt_aead_exit(struct crypto_aead *tfm) in otx_cpt_aead_exit()
631 static int otx_cpt_aead_set_authsize(struct crypto_aead *tfm, in otx_cpt_aead_set_authsize()
889 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in create_aead_ctx_hdr() local
974 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in create_hmac_ctx_hdr() local
[all …]
/linux-6.15/arch/s390/crypto/
H A Daes_s390.c88 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key()
132 static int fallback_init_cip(struct crypto_tfm *tfm) in fallback_init_cip()
149 static void fallback_exit_cip(struct crypto_tfm *tfm) in fallback_exit_cip()
228 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_aes_crypt() local
324 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_aes_crypt() local
424 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_aes_crypt() local
490 static int xts_fallback_init(struct crypto_skcipher *tfm) in xts_fallback_init()
508 static void xts_fallback_exit(struct crypto_skcipher *tfm) in xts_fallback_exit()
561 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in fullxts_aes_crypt() local
673 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_aes_crypt() local
[all …]
/linux-6.15/arch/sparc/crypto/
H A Ddes_glue.c45 static int des_set_key(struct crypto_tfm *tfm, const u8 *key, in des_set_key()
65 static int des_set_key_skcipher(struct crypto_skcipher *tfm, const u8 *key, in des_set_key_skcipher()
74 static void sparc_des_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in sparc_des_encrypt()
82 static void sparc_des_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in sparc_des_decrypt()
97 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __ecb_crypt() local
138 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __cbc_crypt() local
181 static int des3_ede_set_key(struct crypto_tfm *tfm, const u8 *key, in des3_ede_set_key()
214 static int des3_ede_set_key_skcipher(struct crypto_skcipher *tfm, const u8 *key, in des3_ede_set_key_skcipher()
223 static void sparc_des3_ede_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in sparc_des3_ede_encrypt()
246 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __ecb3_crypt() local
[all …]
/linux-6.15/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_algs.c88 struct crypto_aead *tfm; in validate_hmac_cipher_null() local
536 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); in otx2_cpt_enc_dec_init() local
563 static void otx2_cpt_skcipher_exit(struct crypto_skcipher *tfm) in otx2_cpt_skcipher_exit()
594 struct crypto_tfm *tfm = crypto_aead_tfm(atfm); in cpt_aead_init() local
722 static int otx2_cpt_aead_gcm_aes_init(struct crypto_aead *tfm) in otx2_cpt_aead_gcm_aes_init()
727 static void otx2_cpt_aead_exit(struct crypto_aead *tfm) in otx2_cpt_aead_exit()
743 static int otx2_cpt_aead_gcm_set_authsize(struct crypto_aead *tfm, in otx2_cpt_aead_gcm_set_authsize()
759 static int otx2_cpt_aead_set_authsize(struct crypto_aead *tfm, in otx2_cpt_aead_set_authsize()
971 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in create_aead_ctx_hdr() local
1062 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in create_hmac_ctx_hdr() local
[all …]

12345678910>>...16