Searched refs:akcipher (Results 1 – 11 of 11) sorted by relevance
52 struct crypto_akcipher *akcipher = __crypto_akcipher_tfm(tfm); in crypto_akcipher_exit_tfm() local53 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() local61 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() local76 akcipher->free(akcipher); in crypto_akcipher_free_instance()
104 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()
1084 atomic64_inc(&alg->stats.akcipher.err_cnt); in crypto_stats_akcipher_encrypt()1086 atomic64_inc(&alg->stats.akcipher.encrypt_cnt); in crypto_stats_akcipher_encrypt()1087 atomic64_add(src_len, &alg->stats.akcipher.encrypt_tlen); in crypto_stats_akcipher_encrypt()1097 atomic64_inc(&alg->stats.akcipher.err_cnt); in crypto_stats_akcipher_decrypt()1099 atomic64_inc(&alg->stats.akcipher.decrypt_cnt); in crypto_stats_akcipher_decrypt()1100 atomic64_add(src_len, &alg->stats.akcipher.decrypt_tlen); in crypto_stats_akcipher_decrypt()1109 atomic64_inc(&alg->stats.akcipher.err_cnt); in crypto_stats_akcipher_sign()1111 atomic64_inc(&alg->stats.akcipher.sign_cnt); in crypto_stats_akcipher_sign()1119 atomic64_inc(&alg->stats.akcipher.err_cnt); in crypto_stats_akcipher_verify()1121 atomic64_inc(&alg->stats.akcipher.verify_cnt); in crypto_stats_akcipher_verify()
153 struct akcipher_test_suite akcipher; member4217 if (desc->suite.akcipher.vecs) in alg_test_akcipher()4218 err = test_akcipher(tfm, desc->alg, desc->suite.akcipher.vecs, in alg_test_akcipher()4219 desc->suite.akcipher.count); in alg_test_akcipher()5036 .akcipher = __VECS(ecdsa_nist_p192_tv_template)5043 .akcipher = __VECS(ecdsa_nist_p256_tv_template)5050 .akcipher = __VECS(ecdsa_nist_p384_tv_template)5056 .akcipher = __VECS(ecrdsa_tv_template)5383 .akcipher = __VECS(pkcs1pad_rsa_tv_template)5480 .akcipher = __VECS(rsa_tv_template)[all …]
27 obj-$(CONFIG_CRYPTO_AKCIPHER2) += akcipher.o
46 static inline void akcipher_set_reqsize(struct crypto_akcipher *akcipher, in akcipher_set_reqsize() argument49 akcipher->reqsize = reqsize; in akcipher_set_reqsize()52 static inline void akcipher_set_reqsize_dma(struct crypto_akcipher *akcipher, in akcipher_set_reqsize_dma() argument56 akcipher->reqsize = reqsize; in akcipher_set_reqsize_dma()93 struct crypto_akcipher *akcipher) in akcipher_alg_instance() argument95 return akcipher_instance(crypto_tfm_alg_instance(&akcipher->base)); in akcipher_alg_instance()
4 .. kernel-doc:: include/crypto/akcipher.h10 .. kernel-doc:: include/crypto/akcipher.h13 .. kernel-doc:: include/crypto/akcipher.h19 .. kernel-doc:: include/crypto/akcipher.h
15 api-akcipher
134 struct akcipher_alg akcipher; member580 acry_alg = container_of(alg, struct aspeed_acry_alg, akcipher); in aspeed_acry_rsa_init_tfm()608 .akcipher = {639 rc = crypto_register_akcipher(&aspeed_acry_akcipher_algs[i].akcipher); in aspeed_acry_register()642 aspeed_acry_akcipher_algs[i].akcipher.base.cra_name); in aspeed_acry_register()652 crypto_unregister_akcipher(&aspeed_acry_akcipher_algs[i].akcipher); in aspeed_acry_unregister()
41 struct akcipher_alg akcipher; member1142 .akcipher = {1196 err = crypto_register_akcipher(&caam_rsa.akcipher); in caam_pkc_init()1201 caam_rsa.akcipher.base.cra_driver_name); in caam_pkc_init()1217 crypto_unregister_akcipher(&caam_rsa.akcipher); in caam_pkc_exit()
509 struct crypto_istat_akcipher akcipher; member
Completed in 25 milliseconds