mbox

[v3,0/3] Replace obsolote test cases.

Message ID 20230619192717.351336-1-arkadiuszx.kusztal@intel.com (mailing list archive)
Headers

Message

Kusztal, ArkadiuszX June 19, 2023, 7:27 p.m. UTC
This patchset removes obsolete test cases for RSA, MOD EXP, MOD INV.
Doing that, new way of handling ut_setup and ut_teardown was proposed.
Now both behave like constructor/desctuctor in the unit tests.
It frees particular alghorithm functions from any kind of responsibility to free resources for the new functions.

v2:
- fixed build problem with non compile-time constant
v3:
- rebased
- left old pwct tests intact

Arkadiusz Kusztal (3):
  app/test: remove obsolete test function
  app/test: add modexp and modinv functions
  app/test: add rsa none padding tests

 app/test/test_cryptodev_asym.c             | 761 +++++++++----------
 app/test/test_cryptodev_mod_test_vectors.h | 814 +--------------------
 app/test/test_cryptodev_rsa_test_vectors.h | 322 ++++----
 3 files changed, 510 insertions(+), 1387 deletions(-)