Searched refs:akcipher (Results 1 – 5 of 5) 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()
1123 atomic64_inc(&alg->stats.akcipher.err_cnt); in crypto_stats_akcipher_encrypt()1125 atomic64_inc(&alg->stats.akcipher.encrypt_cnt); in crypto_stats_akcipher_encrypt()1126 atomic64_add(src_len, &alg->stats.akcipher.encrypt_tlen); in crypto_stats_akcipher_encrypt()1136 atomic64_inc(&alg->stats.akcipher.err_cnt); in crypto_stats_akcipher_decrypt()1138 atomic64_inc(&alg->stats.akcipher.decrypt_cnt); in crypto_stats_akcipher_decrypt()1139 atomic64_add(src_len, &alg->stats.akcipher.decrypt_tlen); in crypto_stats_akcipher_decrypt()1148 atomic64_inc(&alg->stats.akcipher.err_cnt); in crypto_stats_akcipher_sign()1150 atomic64_inc(&alg->stats.akcipher.sign_cnt); in crypto_stats_akcipher_sign()1158 atomic64_inc(&alg->stats.akcipher.err_cnt); in crypto_stats_akcipher_verify()1160 atomic64_inc(&alg->stats.akcipher.verify_cnt); in crypto_stats_akcipher_verify()
156 struct akcipher_test_suite akcipher; member4129 if (desc->suite.akcipher.vecs) in alg_test_akcipher()4130 err = test_akcipher(tfm, desc->alg, desc->suite.akcipher.vecs, in alg_test_akcipher()4131 desc->suite.akcipher.count); in alg_test_akcipher()4926 .akcipher = __VECS(ecdsa_nist_p192_tv_template)4932 .akcipher = __VECS(ecdsa_nist_p256_tv_template)4938 .akcipher = __VECS(ecdsa_nist_p384_tv_template)4944 .akcipher = __VECS(ecrdsa_tv_template)5228 .akcipher = __VECS(pkcs1pad_rsa_tv_template)5325 .akcipher = __VECS(rsa_tv_template)[all …]
27 obj-$(CONFIG_CRYPTO_AKCIPHER2) += akcipher.o