Home
last modified time | relevance | path

Searched refs:akcipher (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.15/crypto/
Dakcipher.c52 struct crypto_akcipher *akcipher = __crypto_akcipher_tfm(tfm); in crypto_akcipher_exit_tfm() local
53 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_exit_tfm()
55 alg->exit(akcipher); in crypto_akcipher_exit_tfm()
60 struct crypto_akcipher *akcipher = __crypto_akcipher_tfm(tfm); in crypto_akcipher_init_tfm() local
61 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_init_tfm()
64 akcipher->base.exit = crypto_akcipher_exit_tfm; in crypto_akcipher_init_tfm()
67 return alg->init(akcipher); in crypto_akcipher_init_tfm()
74 struct akcipher_instance *akcipher = akcipher_instance(inst); in crypto_akcipher_free_instance() local
76 akcipher->free(akcipher); in crypto_akcipher_free_instance()
Dcrypto_user_stat.c104 rakcipher.stat_encrypt_cnt = atomic64_read(&alg->stats.akcipher.encrypt_cnt); in crypto_report_akcipher()
105 rakcipher.stat_encrypt_tlen = atomic64_read(&alg->stats.akcipher.encrypt_tlen); in crypto_report_akcipher()
106 rakcipher.stat_decrypt_cnt = atomic64_read(&alg->stats.akcipher.decrypt_cnt); in crypto_report_akcipher()
107 rakcipher.stat_decrypt_tlen = atomic64_read(&alg->stats.akcipher.decrypt_tlen); in crypto_report_akcipher()
108 rakcipher.stat_sign_cnt = atomic64_read(&alg->stats.akcipher.sign_cnt); in crypto_report_akcipher()
109 rakcipher.stat_verify_cnt = atomic64_read(&alg->stats.akcipher.verify_cnt); in crypto_report_akcipher()
110 rakcipher.stat_err_cnt = atomic64_read(&alg->stats.akcipher.err_cnt); in crypto_report_akcipher()
Dalgapi.c1094 atomic64_inc(&alg->stats.akcipher.err_cnt); in crypto_stats_akcipher_encrypt()
1096 atomic64_inc(&alg->stats.akcipher.encrypt_cnt); in crypto_stats_akcipher_encrypt()
1097 atomic64_add(src_len, &alg->stats.akcipher.encrypt_tlen); in crypto_stats_akcipher_encrypt()
1107 atomic64_inc(&alg->stats.akcipher.err_cnt); in crypto_stats_akcipher_decrypt()
1109 atomic64_inc(&alg->stats.akcipher.decrypt_cnt); in crypto_stats_akcipher_decrypt()
1110 atomic64_add(src_len, &alg->stats.akcipher.decrypt_tlen); in crypto_stats_akcipher_decrypt()
1119 atomic64_inc(&alg->stats.akcipher.err_cnt); in crypto_stats_akcipher_sign()
1121 atomic64_inc(&alg->stats.akcipher.sign_cnt); in crypto_stats_akcipher_sign()
1129 atomic64_inc(&alg->stats.akcipher.err_cnt); in crypto_stats_akcipher_verify()
1131 atomic64_inc(&alg->stats.akcipher.verify_cnt); in crypto_stats_akcipher_verify()
Dtestmgr.c156 struct akcipher_test_suite akcipher; member
4129 if (desc->suite.akcipher.vecs) in alg_test_akcipher()
4130 err = test_akcipher(tfm, desc->alg, desc->suite.akcipher.vecs, in alg_test_akcipher()
4131 desc->suite.akcipher.count); in alg_test_akcipher()
4950 .akcipher = __VECS(ecdsa_nist_p192_tv_template)
4956 .akcipher = __VECS(ecdsa_nist_p256_tv_template)
4962 .akcipher = __VECS(ecdsa_nist_p384_tv_template)
4968 .akcipher = __VECS(ecrdsa_tv_template)
5244 .akcipher = __VECS(pkcs1pad_rsa_tv_template)
5335 .akcipher = __VECS(rsa_tv_template)
[all …]
DMakefile27 obj-$(CONFIG_CRYPTO_AKCIPHER2) += akcipher.o
/Linux-v5.15/Documentation/crypto/
Dapi-akcipher.rst4 .. kernel-doc:: include/crypto/akcipher.h
10 .. kernel-doc:: include/crypto/akcipher.h
13 .. kernel-doc:: include/crypto/akcipher.h
19 .. kernel-doc:: include/crypto/akcipher.h
Dapi.rst15 api-akcipher
/Linux-v5.15/include/crypto/internal/
Dakcipher.h36 static inline void akcipher_set_reqsize(struct crypto_akcipher *akcipher, in akcipher_set_reqsize() argument
39 crypto_akcipher_alg(akcipher)->reqsize = reqsize; in akcipher_set_reqsize()
71 struct crypto_akcipher *akcipher) in akcipher_alg_instance() argument
73 return akcipher_instance(crypto_tfm_alg_instance(&akcipher->base)); in akcipher_alg_instance()
/Linux-v5.15/drivers/crypto/caam/
Dcaampkc.c39 struct akcipher_alg akcipher; member
1133 .akcipher = {
1177 err = crypto_register_akcipher(&caam_rsa.akcipher); in caam_pkc_init()
1182 caam_rsa.akcipher.base.cra_driver_name); in caam_pkc_init()
1198 crypto_unregister_akcipher(&caam_rsa.akcipher); in caam_pkc_exit()
/Linux-v5.15/include/linux/
Dcrypto.h500 struct crypto_istat_akcipher akcipher; member