DPDK patches and discussions
 help / color / mirror / Atom feed
From: Arek Kusztal <arkadiuszx.kusztal@intel.com>
To: dev@dpdk.org
Cc: gakhil@marvell.com, kai.ji@intel.com, ciara.power@intel.com,
	Arek Kusztal <arkadiuszx.kusztal@intel.com>
Subject: [PATCH 0/4] Replace obsolote test cases.
Date: Wed, 17 May 2023 21:18:56 +0000	[thread overview]
Message-ID: <20230517211900.926163-1-arkadiuszx.kusztal@intel.com> (raw)

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	other threads:[~2023-05-17 21:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-17 21:18 Arek Kusztal [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230517211900.926163-1-arkadiuszx.kusztal@intel.com \
    --to=arkadiuszx.kusztal@intel.com \
    --cc=ciara.power@intel.com \
    --cc=dev@dpdk.org \
    --cc=gakhil@marvell.com \
    --cc=kai.ji@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).