DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Replace obsolote test cases.
@ 2023-05-28 17:35 Arek Kusztal
  2023-05-28 17:35 ` [PATCH v2 1/4] app/test: remove testsuite calls from ut setup Arek Kusztal
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Arek Kusztal @ 2023-05-28 17:35 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 ut_setup and ut_teardown was proposed.
Now both behave like constructor/desctuctor to the unit tests.
It frees particular alghorithm functions from any kind of responsibility to free resources.
The functionality of the tests was extended, but the number of lines of code was reduced by ~600 lines.

v2:
- fixed build problem with non compile-time constant

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             | 1610 +++++++-------------
 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, 852 insertions(+), 2017 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2023-05-30 10:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-28 17:35 [PATCH v2 0/4] Replace obsolote test cases Arek Kusztal
2023-05-28 17:35 ` [PATCH v2 1/4] app/test: remove testsuite calls from ut setup Arek Kusztal
2023-05-28 17:35 ` [PATCH v2 2/4] app/test: refactor mod exp test case Arek Kusztal
2023-05-28 17:35 ` [PATCH v2 3/4] app/test: refactor mod inv tests Arek Kusztal
2023-05-28 17:35 ` [PATCH v2 4/4] app/test: add rsa kat and pwct tests Arek Kusztal
2023-05-30 10:48 ` [EXT] [PATCH v2 0/4] Replace obsolote test cases Akhil Goyal

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).