Home
last modified time | relevance | path

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

/linux-6.15/crypto/
H A Dakcipher.c59 struct crypto_akcipher *akcipher = __crypto_akcipher_tfm(tfm); in crypto_akcipher_exit_tfm() local
60 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_exit_tfm()
62 alg->exit(akcipher); in crypto_akcipher_exit_tfm()
67 struct crypto_akcipher *akcipher = __crypto_akcipher_tfm(tfm); in crypto_akcipher_init_tfm() local
68 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_init_tfm()
71 akcipher->base.exit = crypto_akcipher_exit_tfm; in crypto_akcipher_init_tfm()
74 return alg->init(akcipher); in crypto_akcipher_init_tfm()
81 struct akcipher_instance *akcipher = akcipher_instance(inst); in crypto_akcipher_free_instance() local
83 akcipher->free(akcipher); in crypto_akcipher_free_instance()
H A DMakefile34 obj-$(CONFIG_CRYPTO_AKCIPHER2) += akcipher.o
H A Dtestmgr.c159 struct akcipher_test_suite akcipher; member
4126 if (desc->suite.akcipher.vecs) in alg_test_akcipher()
4127 err = test_akcipher(tfm, desc->alg, desc->suite.akcipher.vecs, in alg_test_akcipher()
4128 desc->suite.akcipher.count); in alg_test_akcipher()
5496 .akcipher = __VECS(rsa_tv_template)
/linux-6.15/include/crypto/internal/
H A 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-6.15/Documentation/crypto/
H A 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
H A Dapi.rst12 api-akcipher
/linux-6.15/drivers/crypto/aspeed/
H A 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 = {
621 .akcipher.op = {
633 rc = crypto_engine_register_akcipher(&aspeed_acry_akcipher_algs[i].akcipher); in aspeed_acry_register()
636 aspeed_acry_akcipher_algs[i].akcipher.base.base.cra_name); in aspeed_acry_register()
646 crypto_engine_unregister_akcipher(&aspeed_acry_akcipher_algs[i].akcipher); in aspeed_acry_unregister()
/linux-6.15/drivers/crypto/caam/
H A Dcaampkc.c45 struct akcipher_engine_alg akcipher; member
1149 .akcipher.base = {
1166 .akcipher.op = {
1206 err = crypto_engine_register_akcipher(&caam_rsa.akcipher); in caam_pkc_init()
1211 caam_rsa.akcipher.base.base.cra_driver_name); in caam_pkc_init()
1227 crypto_engine_unregister_akcipher(&caam_rsa.akcipher); in caam_pkc_exit()