Lines Matching refs:modex
54 struct modex_test_data modex; member
259 switch (data_tc->modex.xform_type) { in test_cryptodev_asym_ver()
261 data_expected = data_tc->modex.reminder.data; in test_cryptodev_asym_ver()
262 data_received = result_op->asym->modex.result.data; in test_cryptodev_asym_ver()
263 data_size = result_op->asym->modex.result.length; in test_cryptodev_asym_ver()
323 xform_tc.xform_type = data_tc->modex.xform_type; in test_cryptodev_asym_op()
351 result = rte_zmalloc(NULL, data_tc->modex.result_len, 0); in test_cryptodev_asym_op()
352 xform_tc.modex.modulus.data = data_tc->modex.modulus.data; in test_cryptodev_asym_op()
353 xform_tc.modex.modulus.length = data_tc->modex.modulus.len; in test_cryptodev_asym_op()
354 xform_tc.modex.exponent.data = data_tc->modex.exponent.data; in test_cryptodev_asym_op()
355 xform_tc.modex.exponent.length = data_tc->modex.exponent.len; in test_cryptodev_asym_op()
356 memcpy(input, data_tc->modex.base.data, in test_cryptodev_asym_op()
357 data_tc->modex.base.len); in test_cryptodev_asym_op()
358 asym_op->modex.base.data = input; in test_cryptodev_asym_op()
359 asym_op->modex.base.length = data_tc->modex.base.len; in test_cryptodev_asym_op()
360 asym_op->modex.result.data = result; in test_cryptodev_asym_op()
361 asym_op->modex.result.length = data_tc->modex.result_len; in test_cryptodev_asym_op()
363 xform_tc.modex.modulus.length)) { in test_cryptodev_asym_op()
528 if (tc.modex.xform_type == RTE_CRYPTO_ASYM_XFORM_MODEX in test_one_case()
529 || tc.modex.xform_type == RTE_CRYPTO_ASYM_XFORM_MODINV) { in test_one_case()
533 tc.modex.description, test_msg); in test_one_case()
536 if (tc.modex.xform_type == RTE_CRYPTO_ASYM_XFORM_RSA) { in test_one_case()
560 tc.modex.description, test_msg); in test_one_case()
1528 capability, modex_xform.modex.modulus.length)) { in test_mod_exp()
1557 asym_op->modex.base.data = input; in test_mod_exp()
1558 asym_op->modex.base.length = sizeof(base); in test_mod_exp()
1559 asym_op->modex.result.data = result; in test_mod_exp()
1560 asym_op->modex.result.length = sizeof(result); in test_mod_exp()