Home
last modified time | relevance | path

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

/linux/crypto/
H A Dakcipher.c57 struct crypto_akcipher *akcipher = __crypto_akcipher_tfm(tfm); in crypto_akcipher_exit_tfm() local
58 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_exit_tfm()
60 alg->exit(akcipher); in crypto_akcipher_exit_tfm()
65 struct crypto_akcipher *akcipher = __crypto_akcipher_tfm(tfm); in crypto_akcipher_init_tfm() local
66 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_init_tfm()
69 akcipher->base.exit = crypto_akcipher_exit_tfm; in crypto_akcipher_init_tfm()
72 return alg->init(akcipher); in crypto_akcipher_init_tfm()
79 struct akcipher_instance *akcipher = akcipher_instance(inst); in crypto_akcipher_free_instance() local
81 akcipher->free(akcipher); in crypto_akcipher_free_instance()
H A Dtestmgr.c153 struct akcipher_test_suite akcipher; member
3935 if (desc->suite.akcipher.vecs) in alg_test_akcipher()
3936 err = test_akcipher(tfm, desc->alg, desc->suite.akcipher.vecs, in alg_test_akcipher()
3937 desc->suite.akcipher.count); in alg_test_akcipher()
5379 .akcipher = __VECS(rsa_tv_template)
/linux/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/Documentation/crypto/
H A Dapi-akcipher.rst7 .. kernel-doc:: include/crypto/akcipher.h
13 .. kernel-doc:: include/crypto/akcipher.h
16 .. kernel-doc:: include/crypto/akcipher.h
22 .. kernel-doc:: include/crypto/akcipher.h
H A Dapi.rst12 api-akcipher
/linux/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/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()