mbox

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

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

Message

Arkadiusz Kusztal June 20, 2023, 10:32 a.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
v4:
- fixed mailmap mismatch
- rebased

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             | 775 +++++++++-----------
 app/test/test_cryptodev_mod_test_vectors.h | 814 +--------------------
 app/test/test_cryptodev_rsa_test_vectors.h | 322 ++++----
 3 files changed, 510 insertions(+), 1401 deletions(-)