Home
last modified time | relevance | path

Searched refs:kpp (Results 1 – 5 of 5) sorted by relevance

/crypto/
Dkpp.c51 struct crypto_kpp *kpp = __crypto_kpp_tfm(tfm); in crypto_kpp_exit_tfm() local
52 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_exit_tfm()
54 alg->exit(kpp); in crypto_kpp_exit_tfm()
59 struct crypto_kpp *kpp = __crypto_kpp_tfm(tfm); in crypto_kpp_init_tfm() local
60 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_init_tfm()
63 kpp->base.exit = crypto_kpp_exit_tfm; in crypto_kpp_init_tfm()
66 return alg->init(kpp); in crypto_kpp_init_tfm()
Dcrypto_user_stat.c124 rkpp.stat_setsecret_cnt = atomic64_read(&alg->stats.kpp.setsecret_cnt); in crypto_report_kpp()
125 rkpp.stat_generate_public_key_cnt = atomic64_read(&alg->stats.kpp.generate_public_key_cnt); in crypto_report_kpp()
126 rkpp.stat_compute_shared_secret_cnt = atomic64_read(&alg->stats.kpp.compute_shared_secret_cnt); in crypto_report_kpp()
127 rkpp.stat_err_cnt = atomic64_read(&alg->stats.kpp.err_cnt); in crypto_report_kpp()
Dalgapi.c1216 atomic64_inc(&alg->stats.kpp.err_cnt); in crypto_stats_kpp_set_secret()
1218 atomic64_inc(&alg->stats.kpp.setsecret_cnt); in crypto_stats_kpp_set_secret()
1226 atomic64_inc(&alg->stats.kpp.err_cnt); in crypto_stats_kpp_generate_public_key()
1228 atomic64_inc(&alg->stats.kpp.generate_public_key_cnt); in crypto_stats_kpp_generate_public_key()
1236 atomic64_inc(&alg->stats.kpp.err_cnt); in crypto_stats_kpp_compute_shared_secret()
1238 atomic64_inc(&alg->stats.kpp.compute_shared_secret_cnt); in crypto_stats_kpp_compute_shared_secret()
Dtestmgr.c157 struct kpp_test_suite kpp; member
3901 if (desc->suite.kpp.vecs) in alg_test_kpp()
3902 err = test_kpp(tfm, desc->alg, desc->suite.kpp.vecs, in alg_test_kpp()
3903 desc->suite.kpp.count); in alg_test_kpp()
4622 .kpp = __VECS(curve25519_tv_template)
4639 .kpp = __VECS(dh_tv_template)
4906 .kpp = __VECS(ecdh_p192_tv_template)
4913 .kpp = __VECS(ecdh_p256_tv_template)
4920 .kpp = __VECS(ecdh_p384_tv_template)
DMakefile28 obj-$(CONFIG_CRYPTO_KPP2) += kpp.o