Lines Matching refs:modex
53 struct modex_test_data modex; member
258 switch (data_tc->modex.xform_type) { in test_cryptodev_asym_ver()
260 data_expected = data_tc->modex.reminder.data; in test_cryptodev_asym_ver()
261 data_received = result_op->asym->modex.result.data; in test_cryptodev_asym_ver()
262 data_size = result_op->asym->modex.result.length; in test_cryptodev_asym_ver()
322 xform_tc.xform_type = data_tc->modex.xform_type; in test_cryptodev_asym_op()
350 result = rte_zmalloc(NULL, data_tc->modex.result_len, 0); in test_cryptodev_asym_op()
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()
355 memcpy(input, data_tc->modex.base.data, 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()
359 asym_op->modex.result.data = result; in test_cryptodev_asym_op()
360 asym_op->modex.result.length = data_tc->modex.result_len; in test_cryptodev_asym_op()
362 xform_tc.modex.modulus.length)) { in test_cryptodev_asym_op()
538 if (tc.modex.xform_type == RTE_CRYPTO_ASYM_XFORM_MODEX in test_one_case()
539 || tc.modex.xform_type == RTE_CRYPTO_ASYM_XFORM_MODINV) { in test_one_case()
543 tc.modex.description, test_msg); in test_one_case()
546 if (tc.modex.xform_type == RTE_CRYPTO_ASYM_XFORM_RSA) { in test_one_case()
570 tc.modex.description, test_msg); in test_one_case()
1633 capability, modex_xform.modex.modulus.length)) { in test_mod_exp()
1671 asym_op->modex.base.data = input; in test_mod_exp()
1672 asym_op->modex.base.length = sizeof(base); in test_mod_exp()
1673 asym_op->modex.result.data = result; in test_mod_exp()
1674 asym_op->modex.result.length = sizeof(result); in test_mod_exp()