DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/4] Replace obsolote test cases.
@ 2023-05-17 21:18 Arek Kusztal
  2023-05-17 21:18 ` [PATCH 1/4] app/test: remove testsuite calls from ut setup Arek Kusztal
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Arek Kusztal @ 2023-05-17 21:18 UTC (permalink / raw)
  To: dev; +Cc: gakhil, kai.ji, ciara.power, Arek Kusztal

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-05-26 14:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-17 21:18 [PATCH 0/4] Replace obsolote test cases Arek Kusztal
2023-05-17 21:18 ` [PATCH 1/4] app/test: remove testsuite calls from ut setup Arek Kusztal
2023-05-25 15:18   ` Power, Ciara
2023-05-17 21:18 ` [PATCH 2/4] app/test: refactor mod exp test case Arek Kusztal
2023-05-26 14:32   ` Power, Ciara
2023-05-17 21:18 ` [PATCH 3/4] app/test: refactor mod inv tests Arek Kusztal
2023-05-26 14:47   ` Power, Ciara
2023-05-17 21:19 ` [PATCH 4/4] app/test: add rsa kat and pwct tests Arek Kusztal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).