Home
last modified time | relevance | path

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

/Linux-v6.1/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.c1065 atomic64_inc(&alg->stats.akcipher.err_cnt); in crypto_stats_akcipher_encrypt()
1067 atomic64_inc(&alg->stats.akcipher.encrypt_cnt); in crypto_stats_akcipher_encrypt()
1068 atomic64_add(src_len, &alg->stats.akcipher.encrypt_tlen); in crypto_stats_akcipher_encrypt()
1078 atomic64_inc(&alg->stats.akcipher.err_cnt); in crypto_stats_akcipher_decrypt()
1080 atomic64_inc(&alg->stats.akcipher.decrypt_cnt); in crypto_stats_akcipher_decrypt()
1081 atomic64_add(src_len, &alg->stats.akcipher.decrypt_tlen); in crypto_stats_akcipher_decrypt()
1090 atomic64_inc(&alg->stats.akcipher.err_cnt); in crypto_stats_akcipher_sign()
1092 atomic64_inc(&alg->stats.akcipher.sign_cnt); in crypto_stats_akcipher_sign()
1100 atomic64_inc(&alg->stats.akcipher.err_cnt); in crypto_stats_akcipher_verify()
1102 atomic64_inc(&alg->stats.akcipher.verify_cnt); in crypto_stats_akcipher_verify()
Dtestmgr.c153 struct akcipher_test_suite akcipher; member
4209 if (desc->suite.akcipher.vecs) in alg_test_akcipher()
4210 err = test_akcipher(tfm, desc->alg, desc->suite.akcipher.vecs, in alg_test_akcipher()
4211 desc->suite.akcipher.count); in alg_test_akcipher()
5027 .akcipher = __VECS(ecdsa_nist_p192_tv_template)
5033 .akcipher = __VECS(ecdsa_nist_p256_tv_template)
5039 .akcipher = __VECS(ecdsa_nist_p384_tv_template)
5045 .akcipher = __VECS(ecrdsa_tv_template)
5373 .akcipher = __VECS(pkcs1pad_rsa_tv_template)
5470 .akcipher = __VECS(rsa_tv_template)
[all …]
DMakefile27 obj-$(CONFIG_CRYPTO_AKCIPHER2) += akcipher.o
/Linux-v6.1/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-v6.1/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-v6.1/drivers/crypto/caam/
Dcaampkc.c39 struct akcipher_alg akcipher; member
1136 .akcipher = {
1191 err = crypto_register_akcipher(&caam_rsa.akcipher); in caam_pkc_init()
1196 caam_rsa.akcipher.base.cra_driver_name); in caam_pkc_init()
1212 crypto_unregister_akcipher(&caam_rsa.akcipher); in caam_pkc_exit()
/Linux-v6.1/include/linux/
Dcrypto.h509 struct crypto_istat_akcipher akcipher; member