Home
last modified time | relevance | path

Searched defs:tfm (Results 626 - 650 of 743) sorted by relevance

1...<<21222324252627282930

/kernel/linux/linux-6.6/drivers/crypto/
H A Datmel-tdes.c784 static int atmel_des_setkey(struct crypto_skcipher *tfm, const u8 *key, in atmel_des_setkey() argument
800 static int atmel_tdes_setkey(struct crypto_skcipher *tfm, const u8 *key, in atmel_tdes_setkey() argument
885 static int atmel_tdes_init_tfm(struct crypto_skcipher *tfm) in atmel_tdes_init_tfm() argument
H A Dimg-hash.c489 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_init() local
554 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_update() local
569 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_final() local
583 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_finup() local
599 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_import() local
612 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); img_hash_export() local
624 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); img_hash_digest() local
678 img_hash_cra_init(struct crypto_tfm *tfm, const char *alg_name) img_hash_cra_init() argument
696 img_hash_cra_md5_init(struct crypto_tfm *tfm) img_hash_cra_md5_init() argument
701 img_hash_cra_sha1_init(struct crypto_tfm *tfm) img_hash_cra_sha1_init() argument
706 img_hash_cra_sha224_init(struct crypto_tfm *tfm) img_hash_cra_sha224_init() argument
711 img_hash_cra_sha256_init(struct crypto_tfm *tfm) img_hash_cra_sha256_init() argument
716 img_hash_cra_exit(struct crypto_tfm *tfm) img_hash_cra_exit() argument
[all...]
H A Domap-des.c371 static int omap_des_crypt_dma(struct crypto_tfm *tfm, in omap_des_crypt_dma() argument
454 struct crypto_tfm *tfm = crypto_skcipher_tfm( in omap_des_crypt_dma_start() local
703 static int omap_des_init_tfm(struct crypto_skcipher *tfm) in omap_des_init_tfm() argument
/kernel/linux/linux-6.6/crypto/
H A Dcryptd.c187 static inline struct cryptd_queue *cryptd_get_queue(struct crypto_tfm *tfm) in cryptd_get_queue() argument
270 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cryptd_skcipher_complete() local
316 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cryptd_skcipher_enqueue() local
339 static int cryptd_skcipher_init_tfm(struct crypto_skcipher *tfm) in cryptd_skcipher_init_tfm() argument
358 cryptd_skcipher_exit_tfm(struct crypto_skcipher *tfm) cryptd_skcipher_exit_tfm() argument
430 cryptd_hash_init_tfm(struct crypto_ahash *tfm) cryptd_hash_init_tfm() argument
449 cryptd_hash_clone_tfm(struct crypto_ahash *ntfm, struct crypto_ahash *tfm) cryptd_hash_clone_tfm() argument
464 cryptd_hash_exit_tfm(struct crypto_ahash *tfm) cryptd_hash_exit_tfm() argument
487 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); cryptd_hash_enqueue() local
516 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); cryptd_hash_complete() local
534 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); cryptd_hash_init() local
610 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); cryptd_hash_digest() local
641 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); cryptd_hash_import() local
745 struct crypto_aead *tfm; cryptd_aead_crypt() local
812 struct crypto_aead *tfm = crypto_aead_reqtfm(req); cryptd_aead_enqueue() local
833 cryptd_aead_init_tfm(struct crypto_aead *tfm) cryptd_aead_init_tfm() argument
852 cryptd_aead_exit_tfm(struct crypto_aead *tfm) cryptd_aead_exit_tfm() argument
954 struct crypto_skcipher *tfm; cryptd_alloc_skcipher() local
976 cryptd_skcipher_child(struct cryptd_skcipher *tfm) cryptd_skcipher_child() argument
984 cryptd_skcipher_queued(struct cryptd_skcipher *tfm) cryptd_skcipher_queued() argument
992 cryptd_free_skcipher(struct cryptd_skcipher *tfm) cryptd_free_skcipher() argument
1006 struct crypto_ahash *tfm; cryptd_alloc_ahash() local
1026 cryptd_ahash_child(struct cryptd_ahash *tfm) cryptd_ahash_child() argument
1041 cryptd_ahash_queued(struct cryptd_ahash *tfm) cryptd_ahash_queued() argument
1049 cryptd_free_ahash(struct cryptd_ahash *tfm) cryptd_free_ahash() argument
1063 struct crypto_aead *tfm; cryptd_alloc_aead() local
1083 cryptd_aead_child(struct cryptd_aead *tfm) cryptd_aead_child() argument
1091 cryptd_aead_queued(struct cryptd_aead *tfm) cryptd_aead_queued() argument
1099 cryptd_free_aead(struct cryptd_aead *tfm) cryptd_free_aead() argument
[all...]
H A Dgcm.c146 static int crypto_gcm_setauthsize(struct crypto_aead *tfm, in crypto_gcm_setauthsize() argument
519 static int crypto_gcm_init_tfm(struct crypto_aead *tfm) in crypto_gcm_init_tfm() argument
557 static void crypto_gcm_exit_tfm(struct crypto_aead *tfm) in crypto_gcm_exit_tfm() argument
787 static int crypto_rfc4106_init_tfm(struct crypto_aead *tfm) in crypto_rfc4106_init_tfm() argument
812 crypto_rfc4106_exit_tfm(struct crypto_aead *tfm) crypto_rfc4106_exit_tfm() argument
985 crypto_rfc4543_init_tfm(struct crypto_aead *tfm) crypto_rfc4543_init_tfm() argument
1023 crypto_rfc4543_exit_tfm(struct crypto_aead *tfm) crypto_rfc4543_exit_tfm() argument
[all...]
H A Ddrbg.c1659 static void drbg_kcapi_set_entropy(struct crypto_rng *tfm, in drbg_kcapi_set_entropy() argument
1682 struct crypto_shash *tfm; in drbg_init_hash_kernel() local
1739 struct crypto_cipher *tfm = drbg_fini_sym_kernel() local
1761 struct crypto_cipher *tfm; drbg_init_sym_kernel() local
1821 struct crypto_cipher *tfm = drbg->priv_data; drbg_kcapi_symsetkey() local
1829 struct crypto_cipher *tfm = drbg->priv_data; drbg_kcapi_sym() local
1925 drbg_kcapi_init(struct crypto_tfm *tfm) drbg_kcapi_init() argument
1934 drbg_kcapi_cleanup(struct crypto_tfm *tfm) drbg_kcapi_cleanup() argument
1948 drbg_kcapi_random(struct crypto_rng *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int dlen) drbg_kcapi_random() argument
1968 drbg_kcapi_seed(struct crypto_rng *tfm, const u8 *seed, unsigned int slen) drbg_kcapi_seed() argument
[all...]
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/zip/
H A Dzip_crypto.c700 static int hisi_zip_acomp_init(struct crypto_acomp *tfm) in hisi_zip_acomp_init() argument
738 static void hisi_zip_acomp_exit(struct crypto_acomp *tfm) in hisi_zip_acomp_exit() argument
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/
H A Dqat_algs.c546 static int qat_alg_aead_init_sessions(struct crypto_aead *tfm, const u8 *key, in qat_alg_aead_init_sessions() argument
589 static int qat_alg_aead_rekey(struct crypto_aead *tfm, const u8 *key, in qat_alg_aead_rekey() argument
603 static int qat_alg_aead_newkey(struct crypto_aead *tfm, const u8 *key, in qat_alg_aead_newkey() argument
655 qat_alg_aead_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) qat_alg_aead_setkey() argument
786 struct crypto_tfm *tfm = crypto_aead_tfm(aead_tfm); qat_alg_aead_dec() local
832 struct crypto_tfm *tfm = crypto_aead_tfm(aead_tfm); qat_alg_aead_enc() local
938 qat_alg_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen, int mode) qat_alg_skcipher_setkey() argument
952 qat_alg_skcipher_cbc_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) qat_alg_skcipher_cbc_setkey() argument
959 qat_alg_skcipher_ctr_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) qat_alg_skcipher_ctr_setkey() argument
966 qat_alg_skcipher_xts_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) qat_alg_skcipher_xts_setkey() argument
1020 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); qat_alg_skcipher_encrypt() local
1087 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); qat_alg_skcipher_decrypt() local
1152 qat_alg_aead_init(struct crypto_aead *tfm, enum icp_qat_hw_auth_algo hash, const char *hash_name) qat_alg_aead_init() argument
1166 qat_alg_aead_sha1_init(struct crypto_aead *tfm) qat_alg_aead_sha1_init() argument
1171 qat_alg_aead_sha256_init(struct crypto_aead *tfm) qat_alg_aead_sha256_init() argument
1176 qat_alg_aead_sha512_init(struct crypto_aead *tfm) qat_alg_aead_sha512_init() argument
1181 qat_alg_aead_exit(struct crypto_aead *tfm) qat_alg_aead_exit() argument
1206 qat_alg_skcipher_init_tfm(struct crypto_skcipher *tfm) qat_alg_skcipher_init_tfm() argument
1212 qat_alg_skcipher_init_xts_tfm(struct crypto_skcipher *tfm) qat_alg_skcipher_init_xts_tfm() argument
1236 qat_alg_skcipher_exit_tfm(struct crypto_skcipher *tfm) qat_alg_skcipher_exit_tfm() argument
1263 qat_alg_skcipher_exit_xts_tfm(struct crypto_skcipher *tfm) qat_alg_skcipher_exit_xts_tfm() argument
[all...]
H A Dqat_asym_algs.c219 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in qat_dh_compute_value() local
446 static int qat_dh_set_secret(struct crypto_kpp *tfm, const void *buf, in qat_dh_set_secret() argument
480 static unsigned int qat_dh_max_size(struct crypto_kpp *tfm) in qat_dh_max_size() argument
487 static int qat_dh_init_tfm(struct crypto_kpp *tfm) in qat_dh_init_tfm() argument
504 static void qat_dh_exit_tfm(struct crypto_kpp *tfm) in qat_dh_exit_tfm() argument
647 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); qat_rsa_enc() local
781 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); qat_rsa_dec() local
1158 qat_rsa_setkey(struct crypto_akcipher *tfm, const void *key, unsigned int keylen, bool private) qat_rsa_setkey() argument
1205 qat_rsa_setpubkey(struct crypto_akcipher *tfm, const void *key, unsigned int keylen) qat_rsa_setpubkey() argument
1211 qat_rsa_setprivkey(struct crypto_akcipher *tfm, const void *key, unsigned int keylen) qat_rsa_setprivkey() argument
1217 qat_rsa_max_size(struct crypto_akcipher *tfm) qat_rsa_max_size() argument
1224 qat_rsa_init_tfm(struct crypto_akcipher *tfm) qat_rsa_init_tfm() argument
1240 qat_rsa_exit_tfm(struct crypto_akcipher *tfm) qat_rsa_exit_tfm() argument
[all...]
/kernel/linux/linux-6.6/drivers/crypto/marvell/cesa/
H A Dhash.c458 static inline int mv_cesa_ahash_cra_init(struct crypto_tfm *tfm) in mv_cesa_ahash_cra_init() argument
1187 struct crypto_ahash *tfm; in mv_cesa_ahmac_setkey() local
1235 mv_cesa_ahmac_cra_init(struct crypto_tfm *tfm) mv_cesa_ahmac_cra_init() argument
1259 mv_cesa_ahmac_md5_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) mv_cesa_ahmac_md5_setkey() argument
1330 mv_cesa_ahmac_sha1_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) mv_cesa_ahmac_sha1_setkey() argument
1388 mv_cesa_ahmac_sha256_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) mv_cesa_ahmac_sha256_setkey() argument
[all...]
/kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_algs.c86 struct crypto_aead *tfm; in validate_hmac_cipher_null() local
407 static int otx2_cpt_skcipher_xts_setkey(struct crypto_skcipher *tfm, in otx2_cpt_skcipher_xts_setkey() argument
439 static int cpt_des_setkey(struct crypto_skcipher *tfm, const u8 *key, in cpt_des_setkey() argument
456 static int cpt_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in cpt_aes_setkey() argument
487 otx2_cpt_skcipher_cbc_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, u32 keylen) otx2_cpt_skcipher_cbc_aes_setkey() argument
493 otx2_cpt_skcipher_ecb_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, u32 keylen) otx2_cpt_skcipher_ecb_aes_setkey() argument
499 otx2_cpt_skcipher_cbc_des3_setkey(struct crypto_skcipher *tfm, const u8 *key, u32 keylen) otx2_cpt_skcipher_cbc_des3_setkey() argument
505 otx2_cpt_skcipher_ecb_des3_setkey(struct crypto_skcipher *tfm, const u8 *key, u32 keylen) otx2_cpt_skcipher_ecb_des3_setkey() argument
531 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); otx2_cpt_enc_dec_init() local
547 otx2_cpt_skcipher_exit(struct crypto_skcipher *tfm) otx2_cpt_skcipher_exit() argument
577 struct crypto_tfm *tfm = crypto_aead_tfm(atfm); cpt_aead_init() local
638 otx2_cpt_aead_cbc_aes_sha1_init(struct crypto_aead *tfm) otx2_cpt_aead_cbc_aes_sha1_init() argument
643 otx2_cpt_aead_cbc_aes_sha256_init(struct crypto_aead *tfm) otx2_cpt_aead_cbc_aes_sha256_init() argument
648 otx2_cpt_aead_cbc_aes_sha384_init(struct crypto_aead *tfm) otx2_cpt_aead_cbc_aes_sha384_init() argument
653 otx2_cpt_aead_cbc_aes_sha512_init(struct crypto_aead *tfm) otx2_cpt_aead_cbc_aes_sha512_init() argument
658 otx2_cpt_aead_ecb_null_sha1_init(struct crypto_aead *tfm) otx2_cpt_aead_ecb_null_sha1_init() argument
663 otx2_cpt_aead_ecb_null_sha256_init(struct crypto_aead *tfm) otx2_cpt_aead_ecb_null_sha256_init() argument
668 otx2_cpt_aead_ecb_null_sha384_init(struct crypto_aead *tfm) otx2_cpt_aead_ecb_null_sha384_init() argument
673 otx2_cpt_aead_ecb_null_sha512_init(struct crypto_aead *tfm) otx2_cpt_aead_ecb_null_sha512_init() argument
678 otx2_cpt_aead_gcm_aes_init(struct crypto_aead *tfm) otx2_cpt_aead_gcm_aes_init() argument
683 otx2_cpt_aead_exit(struct crypto_aead *tfm) otx2_cpt_aead_exit() argument
699 otx2_cpt_aead_gcm_set_authsize(struct crypto_aead *tfm, unsigned int authsize) otx2_cpt_aead_gcm_set_authsize() argument
715 otx2_cpt_aead_set_authsize(struct crypto_aead *tfm, unsigned int authsize) otx2_cpt_aead_set_authsize() argument
723 otx2_cpt_aead_null_set_authsize(struct crypto_aead *tfm, unsigned int authsize) otx2_cpt_aead_null_set_authsize() argument
1017 struct crypto_aead *tfm = crypto_aead_reqtfm(req); create_aead_ctx_hdr() local
1108 struct crypto_aead *tfm = crypto_aead_reqtfm(req); create_hmac_ctx_hdr() local
1287 struct crypto_aead *tfm = crypto_aead_reqtfm(req); cpt_aead_enc_dec() local
[all...]
/kernel/linux/linux-6.6/drivers/crypto/nx/
H A Dnx-common-pseries.c1011 static int nx842_pseries_crypto_init(struct crypto_tfm *tfm) in nx842_pseries_crypto_init() argument
/kernel/linux/linux-6.6/drivers/crypto/ccree/
H A Dcc_aead.c64 static void cc_aead_exit(struct crypto_aead *tfm) in cc_aead_exit() argument
118 static unsigned int cc_get_aead_hash_len(struct crypto_aead *tfm) in cc_get_aead_hash_len() argument
125 static int cc_aead_init(struct crypto_aead *tfm) in cc_aead_init() argument
212 struct crypto_aead *tfm = crypto_aead_reqtfm(cc_req); cc_aead_complete() local
410 cc_get_plain_hmac_key(struct crypto_aead *tfm, const u8 *authkey, unsigned int keylen) cc_get_plain_hmac_key() argument
541 cc_aead_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) cc_aead_setkey() argument
655 cc_rfc4309_ccm_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) cc_rfc4309_ccm_setkey() argument
724 struct crypto_aead *tfm = crypto_aead_reqtfm(areq); cc_set_assoc_desc() local
768 struct crypto_aead *tfm = crypto_aead_reqtfm(areq); cc_proc_authen_desc() local
832 struct crypto_aead *tfm = crypto_aead_reqtfm(areq); cc_proc_cipher_desc() local
874 struct crypto_aead *tfm = crypto_aead_reqtfm(req); cc_proc_digest_desc() local
924 struct crypto_aead *tfm = crypto_aead_reqtfm(req); cc_set_cipher_desc() local
991 struct crypto_aead *tfm = crypto_aead_reqtfm(req); cc_set_hmac_desc() local
1024 struct crypto_aead *tfm = crypto_aead_reqtfm(req); cc_set_xcbc_desc() local
1100 struct crypto_aead *tfm = crypto_aead_reqtfm(req); cc_proc_scheme_desc() local
1162 struct crypto_aead *tfm = crypto_aead_reqtfm(req); cc_mlli_to_sram() local
1213 struct crypto_aead *tfm = crypto_aead_reqtfm(req); cc_hmac_authenc() local
1266 struct crypto_aead *tfm = crypto_aead_reqtfm(req); cc_xcbc_authenc() local
1412 struct crypto_aead *tfm = crypto_aead_reqtfm(req); cc_ccm() local
1533 struct crypto_aead *tfm = crypto_aead_reqtfm(req); config_ccm_adata() local
1592 struct crypto_aead *tfm = crypto_aead_reqtfm(req); cc_proc_rfc4309_ccm() local
1616 struct crypto_aead *tfm = crypto_aead_reqtfm(req); cc_set_ghash_desc() local
1694 struct crypto_aead *tfm = crypto_aead_reqtfm(req); cc_set_gctr_desc() local
1731 struct crypto_aead *tfm = crypto_aead_reqtfm(req); cc_proc_gcm_result() local
1831 struct crypto_aead *tfm = crypto_aead_reqtfm(req); config_gcm_context() local
1880 struct crypto_aead *tfm = crypto_aead_reqtfm(req); cc_proc_rfc4_gcm() local
1897 struct crypto_aead *tfm = crypto_aead_reqtfm(req); cc_proc_aead() local
2107 cc_rfc4106_gcm_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) cc_rfc4106_gcm_setkey() argument
2124 cc_rfc4543_gcm_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) cc_rfc4543_gcm_setkey() argument
[all...]
H A Dcc_hash.c287 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_update_complete() local
305 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_digest_complete() local
325 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_complete() local
345 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_fin_result() local
368 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); cc_fin_hmac() local
421 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); cc_hash_digest() local
559 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); cc_hash_update() local
635 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); cc_do_finup() local
715 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); cc_hash_init() local
1110 cc_get_hash_len(struct crypto_tfm *tfm) cc_get_hash_len() argument
1120 cc_cra_init(struct crypto_tfm *tfm) cc_cra_init() argument
1141 cc_cra_exit(struct crypto_tfm *tfm) cc_cra_exit() argument
1153 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); cc_mac_update() local
1221 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); cc_mac_final() local
1342 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); cc_mac_finup() local
1423 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); cc_mac_digest() local
2077 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); cc_setup_xcbc() local
2134 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); cc_setup_cmac() local
[all...]
/kernel/linux/linux-6.6/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-aes-core.c182 static int kmb_ocs_sk_set_key(struct crypto_skcipher *tfm, const u8 *in_key, in kmb_ocs_sk_set_key() argument
204 static int kmb_ocs_aead_set_key(struct crypto_aead *tfm, const u8 *in_key, in kmb_ocs_aead_set_key() argument
255 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in kmb_ocs_sk_validate_input() local
313 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in kmb_ocs_sk_common() local
376 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); kmb_ocs_sk_dma_cleanup() local
400 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); kmb_ocs_sk_prepare_inplace() local
449 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); kmb_ocs_sk_prepare_notinplace() local
516 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); kmb_ocs_sk_run() local
598 struct crypto_aead *tfm = crypto_aead_reqtfm(req); kmb_ocs_aead_validate_input() local
950 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); kmb_ocs_aes_sk_do_one_request() local
996 kmb_ocs_aes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, unsigned int key_len) kmb_ocs_aes_set_key() argument
1002 kmb_ocs_aes_aead_set_key(struct crypto_aead *tfm, const u8 *in_key, unsigned int key_len) kmb_ocs_aes_aead_set_key() argument
1072 kmb_ocs_sm4_set_key(struct crypto_skcipher *tfm, const u8 *in_key, unsigned int key_len) kmb_ocs_sm4_set_key() argument
1078 kmb_ocs_sm4_aead_set_key(struct crypto_aead *tfm, const u8 *in_key, unsigned int key_len) kmb_ocs_sm4_aead_set_key() argument
1148 ocs_aes_init_tfm(struct crypto_skcipher *tfm) ocs_aes_init_tfm() argument
1166 ocs_sm4_init_tfm(struct crypto_skcipher *tfm) ocs_sm4_init_tfm() argument
1183 ocs_exit_tfm(struct crypto_skcipher *tfm) ocs_exit_tfm() argument
1195 ocs_aes_aead_cra_init(struct crypto_aead *tfm) ocs_aes_aead_cra_init() argument
1216 kmb_ocs_aead_ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) kmb_ocs_aead_ccm_setauthsize() argument
1233 kmb_ocs_aead_gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) kmb_ocs_aead_gcm_setauthsize() argument
1239 ocs_sm4_aead_cra_init(struct crypto_aead *tfm) ocs_sm4_aead_cra_init() argument
1246 ocs_aead_cra_exit(struct crypto_aead *tfm) ocs_aead_cra_exit() argument
[all...]
H A Dkeembay-ocs-ecc.c535 static int kmb_ocs_ecdh_set_secret(struct crypto_kpp *tfm, const void *buf, in kmb_ocs_ecdh_set_secret() argument
795 static int kmb_ocs_ecdh_nist_p256_init_tfm(struct crypto_kpp *tfm) in kmb_ocs_ecdh_nist_p256_init_tfm() argument
802 static int kmb_ocs_ecdh_nist_p384_init_tfm(struct crypto_kpp *tfm) in kmb_ocs_ecdh_nist_p384_init_tfm() argument
809 static void kmb_ocs_ecdh_exit_tfm(struct crypto_kpp *tfm) in kmb_ocs_ecdh_exit_tfm() argument
816 static unsigned int kmb_ocs_ecdh_max_size(struct crypto_kpp *tfm) in kmb_ocs_ecdh_max_size() argument
[all...]
/kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_algs.c102 struct crypto_aead *tfm; in validate_hmac_cipher_null() local
238 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); in create_ctx_hdr() local
393 static int otx_cpt_skcipher_xts_setkey(struct crypto_skcipher *tfm, in otx_cpt_skcipher_xts_setkey() argument
422 static int cpt_des_setkey(struct crypto_skcipher *tfm, const u8 *key, in cpt_des_setkey() argument
438 cpt_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, u32 keylen, u8 cipher_type) cpt_aes_setkey() argument
464 otx_cpt_skcipher_cbc_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, u32 keylen) otx_cpt_skcipher_cbc_aes_setkey() argument
470 otx_cpt_skcipher_ecb_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, u32 keylen) otx_cpt_skcipher_ecb_aes_setkey() argument
476 otx_cpt_skcipher_cfb_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, u32 keylen) otx_cpt_skcipher_cfb_aes_setkey() argument
482 otx_cpt_skcipher_cbc_des3_setkey(struct crypto_skcipher *tfm, const u8 *key, u32 keylen) otx_cpt_skcipher_cbc_des3_setkey() argument
488 otx_cpt_skcipher_ecb_des3_setkey(struct crypto_skcipher *tfm, const u8 *key, u32 keylen) otx_cpt_skcipher_ecb_des3_setkey() argument
494 otx_cpt_enc_dec_init(struct crypto_skcipher *tfm) otx_cpt_enc_dec_init() argument
511 cpt_aead_init(struct crypto_aead *tfm, u8 cipher_type, u8 mac_type) cpt_aead_init() argument
560 otx_cpt_aead_cbc_aes_sha1_init(struct crypto_aead *tfm) otx_cpt_aead_cbc_aes_sha1_init() argument
565 otx_cpt_aead_cbc_aes_sha256_init(struct crypto_aead *tfm) otx_cpt_aead_cbc_aes_sha256_init() argument
570 otx_cpt_aead_cbc_aes_sha384_init(struct crypto_aead *tfm) otx_cpt_aead_cbc_aes_sha384_init() argument
575 otx_cpt_aead_cbc_aes_sha512_init(struct crypto_aead *tfm) otx_cpt_aead_cbc_aes_sha512_init() argument
580 otx_cpt_aead_ecb_null_sha1_init(struct crypto_aead *tfm) otx_cpt_aead_ecb_null_sha1_init() argument
585 otx_cpt_aead_ecb_null_sha256_init(struct crypto_aead *tfm) otx_cpt_aead_ecb_null_sha256_init() argument
590 otx_cpt_aead_ecb_null_sha384_init(struct crypto_aead *tfm) otx_cpt_aead_ecb_null_sha384_init() argument
595 otx_cpt_aead_ecb_null_sha512_init(struct crypto_aead *tfm) otx_cpt_aead_ecb_null_sha512_init() argument
600 otx_cpt_aead_gcm_aes_init(struct crypto_aead *tfm) otx_cpt_aead_gcm_aes_init() argument
605 otx_cpt_aead_exit(struct crypto_aead *tfm) otx_cpt_aead_exit() argument
620 otx_cpt_aead_set_authsize(struct crypto_aead *tfm, unsigned int authsize) otx_cpt_aead_set_authsize() argument
970 struct crypto_aead *tfm = crypto_aead_reqtfm(req); create_aead_ctx_hdr() local
1055 struct crypto_aead *tfm = crypto_aead_reqtfm(req); create_hmac_ctx_hdr() local
1223 struct crypto_aead *tfm = crypto_aead_reqtfm(req); cpt_aead_enc_dec() local
[all...]
/kernel/linux/linux-6.6/arch/x86/crypto/
H A Daesni-intel_glue.c202 aesni_rfc4106_gcm_ctx *aesni_rfc4106_gcm_ctx_get(struct crypto_aead *tfm) in aesni_rfc4106_gcm_ctx_get() argument
212 generic_gcmaes_ctx *generic_gcmaes_ctx_get(struct crypto_aead *tfm) in generic_gcmaes_ctx_get() argument
252 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key() argument
259 static void aesni_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aesni_encrypt() argument
272 static void aesni_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aesni_decrypt() argument
285 aesni_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int len) aesni_skcipher_setkey() argument
293 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); ecb_encrypt() local
315 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); ecb_decrypt() local
337 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); cbc_encrypt() local
359 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); cbc_decrypt() local
381 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); cts_cbc_encrypt() local
437 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); cts_cbc_decrypt() local
511 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); ctr_crypt() local
560 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); xctr_crypt() local
650 generic_gcmaes_set_authsize(struct crypto_aead *tfm, unsigned int authsize) generic_gcmaes_set_authsize() argument
782 struct crypto_aead *tfm = crypto_aead_reqtfm(req); gcmaes_encrypt() local
801 struct crypto_aead *tfm = crypto_aead_reqtfm(req); gcmaes_decrypt() local
827 struct crypto_aead *tfm = crypto_aead_reqtfm(req); helper_rfc4106_encrypt() local
855 struct crypto_aead *tfm = crypto_aead_reqtfm(req); helper_rfc4106_decrypt() local
881 xts_aesni_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) xts_aesni_setkey() argument
905 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); xts_crypt() local
1156 struct crypto_aead *tfm = crypto_aead_reqtfm(req); generic_gcmaes_encrypt() local
1173 struct crypto_aead *tfm = crypto_aead_reqtfm(req); generic_gcmaes_decrypt() local
[all...]
H A Dcurve25519-x86_64.c1615 static int curve25519_set_secret(struct crypto_kpp *tfm, const void *buf, in curve25519_set_secret() argument
1632 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in curve25519_generate_public_key() local
1654 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in curve25519_compute_shared_secret() local
1682 static unsigned int curve25519_max_size(struct crypto_kpp *tfm) in curve25519_max_size() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dcn10k_macsec.c55 struct crypto_skcipher *tfm; in cn10k_ecb_aes_encrypt() local
/kernel/linux/linux-6.6/security/keys/encrypted-keys/
H A Dencrypted.c88 struct crypto_skcipher *tfm; in aes_get_sizes() local
335 struct crypto_shash *tfm; in calc_hmac() local
387 struct crypto_skcipher *tfm; init_skcipher_req() local
458 struct crypto_skcipher *tfm; derived_key_encrypt() local
560 struct crypto_skcipher *tfm; derived_key_decrypt() local
[all...]
/kernel/linux/linux-5.10/drivers/block/drbd/
H A Ddrbd_worker.c287 void drbd_csum_ee(struct crypto_shash *tfm, struct drbd_peer_request *peer_req, void *digest) in drbd_csum_ee() argument
316 void drbd_csum_bio(struct crypto_shash *tfm, struct bio *bio, void *digest) in drbd_csum_bio() argument
/kernel/linux/linux-5.10/drivers/crypto/mediatek/
H A Dmtk-aes.c98 __le32 tfm[2]; member
619 mtk_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, u32 keylen) mtk_aes_setkey() argument
713 mtk_aes_init_tfm(struct crypto_skcipher *tfm) mtk_aes_init_tfm() argument
722 mtk_aes_ctr_init_tfm(struct crypto_skcipher *tfm) mtk_aes_ctr_init_tfm() argument
[all...]
/kernel/linux/linux-5.10/drivers/crypto/
H A Dmxs-dcp.c428 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in mxs_dcp_block_fallback() local
491 static int mxs_dcp_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in mxs_dcp_aes_setkey() argument
518 static int mxs_dcp_aes_fallback_init_tfm(struct crypto_skcipher *tfm) in mxs_dcp_aes_fallback_init_tfm() argument
534 mxs_dcp_aes_fallback_exit_tfm(struct crypto_skcipher *tfm) mxs_dcp_aes_fallback_exit_tfm() argument
549 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); mxs_dcp_run_sha() local
619 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); dcp_sha_req_to_buf() local
724 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); dcp_sha_init() local
754 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); dcp_sha_update_fx() local
816 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); dcp_sha_import() local
831 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); dcp_sha_export() local
841 dcp_sha_cra_init(struct crypto_tfm *tfm) dcp_sha_cra_init() argument
848 dcp_sha_cra_exit(struct crypto_tfm *tfm) dcp_sha_cra_exit() argument
[all...]
H A Dtalitos.c1704 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in common_nonsnoop_hash_unmap() local
1791 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in common_nonsnoop_hash() local
1914 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in ahash_edesc_alloc() local
1929 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in ahash_init() local
1982 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); ahash_process_req() local
2134 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); ahash_export() local
2158 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); ahash_import() local
2185 keyhash(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen, u8 *hash) keyhash() argument
2216 ahash_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) ahash_setkey() argument
3068 talitos_cra_init_aead(struct crypto_aead *tfm) talitos_cra_init_aead() argument
3080 talitos_cra_init_skcipher(struct crypto_skcipher *tfm) talitos_cra_init_skcipher() argument
3092 talitos_cra_init_ahash(struct crypto_tfm *tfm) talitos_cra_init_ahash() argument
3109 talitos_cra_exit(struct crypto_tfm *tfm) talitos_cra_exit() argument
[all...]

Completed in 40 milliseconds

1...<<21222324252627282930