Searched refs:modex (Results 1 – 11 of 11) sorted by relevance
| /f-stack/dpdk/drivers/crypto/qat/ |
| H A D | qat_asym.c | 141 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 D | test_cryptodev_asym.c | 53 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 D | test_cryptodev_asym_util.h | 32 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 D | test_cryptodev_mod_test_vectors.h | 1047 .modex = {
|
| /f-stack/dpdk/lib/librte_cryptodev/ |
| H A D | rte_crypto_asym.h | 411 struct rte_crypto_modex_xform modex; member 635 struct rte_crypto_mod_op_param modex; member
|
| /f-stack/dpdk/drivers/common/cpt/ |
| H A D | cpt_ucode_asym.h | 37 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 D | otx_cryptodev_ops.c | 776 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 D | otx2_cryptodev_ops.c | 861 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 D | rte_openssl_pmd.c | 1877 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 D | rte_openssl_pmd_ops.c | 921 struct rte_crypto_modex_xform *xfrm = &(xform->modex); in openssl_set_asym_session_parameters()
|
| /f-stack/dpdk/doc/guides/prog_guide/ |
| H A D | cryptodev_lib.rst | 1162 .modex = { 1206 asym_op->modex.base.data = base; 1207 asym_op->modex.base.length = sizeof(base); 1208 asym_op->modex.base.iova = base;
|