This patchset removes obsolete test cases for RSA, MOD EXP, MOD INV.
Doing that, new way of handling of ut_setup, ut_teardown was proposed.
Now both behave like constructor/desctuctor to the unit tests.
It frees particular alghoritrm function from any kind of responsability
to free resource.
Functionality of the tests was extended, but number of lines of code
was reduced by ~700.

Arkadiusz Kusztal (4):
  app/test: remove testsuite calls from ut setup
  app/test: refactor mod exp test case
  app/test: refactor mod inv tests
  app/test: add rsa kat and pwct tests

 app/test/test_cryptodev_asym.c             | 1563 +++++++-------------
 app/test/test_cryptodev_asym_util.h        |   28 -
 app/test/test_cryptodev_mod_test_vectors.h |  631 +-------
 app/test/test_cryptodev_rsa_test_vectors.h |  600 ++++----
 4 files changed, 806 insertions(+), 2016 deletions(-)

-- 
2.25.1

Reply via email to