Home
last modified time | relevance | path

Searched refs:modex (Results 1 – 11 of 11) sorted by relevance

/f-stack/dpdk/drivers/crypto/qat/
H A Dqat_asym.c141 xform->modex.exponent.length, in qat_asym_fill_arrays()
153 asym_op->modex.base.length in qat_asym_fill_arrays()
154 , asym_op->modex.base.data, in qat_asym_fill_arrays()
155 asym_op->modex.base.length); in qat_asym_fill_arrays()
157 xform->modex.exponent.length in qat_asym_fill_arrays()
158 , xform->modex.exponent.data, in qat_asym_fill_arrays()
159 xform->modex.exponent.length); in qat_asym_fill_arrays()
161 xform->modex.modulus.length, in qat_asym_fill_arrays()
162 xform->modex.modulus.data, in qat_asym_fill_arrays()
163 xform->modex.modulus.length); in qat_asym_fill_arrays()
[all …]
/f-stack/dpdk/app/test/
H A Dtest_cryptodev_asym.c53 struct modex_test_data modex; member
351 xform_tc.modex.modulus.data = data_tc->modex.modulus.data; in test_cryptodev_asym_op()
352 xform_tc.modex.modulus.length = data_tc->modex.modulus.len; in test_cryptodev_asym_op()
353 xform_tc.modex.exponent.data = data_tc->modex.exponent.data; in test_cryptodev_asym_op()
354 xform_tc.modex.exponent.length = data_tc->modex.exponent.len; in test_cryptodev_asym_op()
356 data_tc->modex.base.len); in test_cryptodev_asym_op()
357 asym_op->modex.base.data = input; in test_cryptodev_asym_op()
358 asym_op->modex.base.length = data_tc->modex.base.len; in test_cryptodev_asym_op()
360 asym_op->modex.result.length = data_tc->modex.result_len; in test_cryptodev_asym_op()
543 tc.modex.description, test_msg); in test_one_case()
[all …]
H A Dtest_cryptodev_asym_util.h32 if (memcmp(mod_exp, result_op->asym->modex.result.data, in verify_modexp()
33 result_op->asym->modex.result.length)) in verify_modexp()
H A Dtest_cryptodev_mod_test_vectors.h1047 .modex = {
/f-stack/dpdk/lib/librte_cryptodev/
H A Drte_crypto_asym.h411 struct rte_crypto_modex_xform modex; member
635 struct rte_crypto_mod_op_param modex; member
/f-stack/dpdk/drivers/common/cpt/
H A Dcpt_ucode_asym.h37 size_t exp_len = xform->modex.exponent.length; in cpt_fill_modex_params()
38 size_t mod_len = xform->modex.modulus.length; in cpt_fill_modex_params()
39 uint8_t *exp = xform->modex.exponent.data; in cpt_fill_modex_params()
40 uint8_t *mod = xform->modex.modulus.data; in cpt_fill_modex_params()
244 mod_op = ((struct rte_crypto_op *)*op)->asym->modex; in cpt_modex_prep()
/f-stack/dpdk/drivers/crypto/octeontx/
H A Dotx_cryptodev_ops.c776 op->modex.result.length = sess->mod_ctx.modulus.length; in otx_cpt_asym_post_process()
777 memcpy(op->modex.result.data, req->rptr, in otx_cpt_asym_post_process()
778 op->modex.result.length); in otx_cpt_asym_post_process()
/f-stack/dpdk/drivers/crypto/octeontx2/
H A Dotx2_cryptodev_ops.c861 op->modex.result.length = sess->mod_ctx.modulus.length; in otx2_cpt_asym_post_process()
862 memcpy(op->modex.result.data, req->rptr, in otx2_cpt_asym_post_process()
863 op->modex.result.length); in otx2_cpt_asym_post_process()
/f-stack/dpdk/drivers/crypto/openssl/
H A Drte_openssl_pmd.c1877 base = BN_bin2bn((const unsigned char *)op->modex.base.data, in process_openssl_modexp_op()
1878 op->modex.base.length, base); in process_openssl_modexp_op()
1882 op->modex.result.length = BN_bn2bin(res, op->modex.result.data); in process_openssl_modexp_op()
H A Drte_openssl_pmd_ops.c921 struct rte_crypto_modex_xform *xfrm = &(xform->modex); in openssl_set_asym_session_parameters()
/f-stack/dpdk/doc/guides/prog_guide/
H A Dcryptodev_lib.rst1162 .modex = {
1206 asym_op->modex.base.data = base;
1207 asym_op->modex.base.length = sizeof(base);
1208 asym_op->modex.base.iova = base;