Home
last modified time | relevance | path

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

/Linux-v6.6/crypto/
Dakcipher.c46 struct crypto_akcipher *akcipher = __crypto_akcipher_tfm(tfm); in crypto_akcipher_exit_tfm() local
47 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_exit_tfm()
49 alg->exit(akcipher); in crypto_akcipher_exit_tfm()
54 struct crypto_akcipher *akcipher = __crypto_akcipher_tfm(tfm); in crypto_akcipher_init_tfm() local
55 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_init_tfm()
58 akcipher->base.exit = crypto_akcipher_exit_tfm; in crypto_akcipher_init_tfm()
61 return alg->init(akcipher); in crypto_akcipher_init_tfm()
68 struct akcipher_instance *akcipher = akcipher_instance(inst); in crypto_akcipher_free_instance() local
70 akcipher->free(akcipher); in crypto_akcipher_free_instance()
76 struct akcipher_alg *akcipher = __crypto_akcipher_alg(alg); in crypto_akcipher_report_stat() local
[all …]
Dtestmgr.c153 struct akcipher_test_suite akcipher; member
4289 if (desc->suite.akcipher.vecs) in alg_test_akcipher()
4290 err = test_akcipher(tfm, desc->alg, desc->suite.akcipher.vecs, in alg_test_akcipher()
4291 desc->suite.akcipher.count); in alg_test_akcipher()
5114 .akcipher = __VECS(ecdsa_nist_p192_tv_template)
5121 .akcipher = __VECS(ecdsa_nist_p256_tv_template)
5128 .akcipher = __VECS(ecdsa_nist_p384_tv_template)
5134 .akcipher = __VECS(ecrdsa_tv_template)
5461 .akcipher = __VECS(pkcs1pad_rsa_tv_template)
5558 .akcipher = __VECS(rsa_tv_template)
[all …]
DMakefile27 obj-$(CONFIG_CRYPTO_AKCIPHER2) += akcipher.o
/Linux-v6.6/include/crypto/internal/
Dakcipher.h46 static inline void akcipher_set_reqsize(struct crypto_akcipher *akcipher, in akcipher_set_reqsize() argument
49 akcipher->reqsize = reqsize; in akcipher_set_reqsize()
52 static inline void akcipher_set_reqsize_dma(struct crypto_akcipher *akcipher, in akcipher_set_reqsize_dma() argument
56 akcipher->reqsize = reqsize; in akcipher_set_reqsize_dma()
93 struct crypto_akcipher *akcipher) in akcipher_alg_instance() argument
95 return akcipher_instance(crypto_tfm_alg_instance(&akcipher->base)); in akcipher_alg_instance()
/Linux-v6.6/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.6/drivers/crypto/aspeed/
Daspeed-acry.c131 struct akcipher_engine_alg akcipher; member
577 acry_alg = container_of(alg, struct aspeed_acry_alg, akcipher.base); in aspeed_acry_rsa_init_tfm()
601 .akcipher.base = {
623 .akcipher.op = {
635 rc = crypto_engine_register_akcipher(&aspeed_acry_akcipher_algs[i].akcipher); in aspeed_acry_register()
638 aspeed_acry_akcipher_algs[i].akcipher.base.base.cra_name); in aspeed_acry_register()
648 crypto_engine_unregister_akcipher(&aspeed_acry_akcipher_algs[i].akcipher); in aspeed_acry_unregister()
/Linux-v6.6/drivers/crypto/caam/
Dcaampkc.c45 struct akcipher_engine_alg akcipher; member
1146 .akcipher.base = {
1163 .akcipher.op = {
1203 err = crypto_engine_register_akcipher(&caam_rsa.akcipher); in caam_pkc_init()
1208 caam_rsa.akcipher.base.base.cra_driver_name); in caam_pkc_init()
1224 crypto_engine_unregister_akcipher(&caam_rsa.akcipher); in caam_pkc_exit()