DPDK patches and discussions
 help / color / mirror / Atom feed
From: Shally Verma <shally.verma@caviumnetworks.com>
To: pablo.de.lara.guarch@intel.com
Cc: dev@dpdk.org, pathreya@caviumnetworks.com, nmurthy@caviumnetworks.com
Subject: [dpdk-dev] [PATCH v5 0/2]test/crypto: add unit testcase for asym crypto
Date: Tue, 10 Jul 2018 21:31:29 +0530	[thread overview]
Message-ID: <1531238491-10542-1-git-send-email-shally.verma@caviumnetworks.com> (raw)

This patch series add unit test case for asymmetric crypto.

Current testcase covers following operations:
- RSA encrypt, decrypt, sign and verify
- Modular Inversion and Exponentiation
- Diffie-Hellman  key pair generation and shared secret compute
- DSA sign and verify

All test cases use pre-defined test vectors.

changes in v5:
- replace snprintf with rte_log
- remove redundant free from test
- incorporate other v4 review feedback
- This patch belong to patch series lib spec patch v5:
  "[PATCH v5 1/4]cryptodev: add asymmetric xform
   and op definitions"

changes in v4:
- add pre-defined test vectors for each xform and
  remove openssl SW lib  dependency
- This patch belong to patch series:
  "lib/cryptodev: add asymmetric algos in cryptodev"
 ( http://patches.dpdk.org/patch/42158/ -
   http://patches.dpdk.org/patch/42162)

For further history, see asymmetric crypto support patch series v3
 (https://patches.dpdk.org/patch/40075/ - 
  https://patches.dpdk.org/patch/40079/)

Sunila Sahu (2):
  test/crypto: add rsa and mod tests
  test/crypto: add dh and dsa tests

 test/test/Makefile                          |    1 +
 test/test/meson.build                       |    2 +
 test/test/test_cryptodev_asym.c             | 1369 +++++++++++++++++++++++++++
 test/test/test_cryptodev_asym_util.h        |   42 +
 test/test/test_cryptodev_dh_test_vectors.h  |   80 ++
 test/test/test_cryptodev_dsa_test_vectors.h |  117 +++
 test/test/test_cryptodev_mod_test_vectors.h |  103 ++
 test/test/test_cryptodev_rsa_test_vectors.h |   88 ++
 8 files changed, 1802 insertions(+)
 create mode 100644 test/test/test_cryptodev_asym.c
 create mode 100644 test/test/test_cryptodev_asym_util.h
 create mode 100644 test/test/test_cryptodev_dh_test_vectors.h
 create mode 100644 test/test/test_cryptodev_dsa_test_vectors.h
 create mode 100644 test/test/test_cryptodev_mod_test_vectors.h
 create mode 100644 test/test/test_cryptodev_rsa_test_vectors.h

-- 
2.9.5

             reply	other threads:[~2018-07-10 16:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-10 16:01 Shally Verma [this message]
2018-07-10 16:01 ` [dpdk-dev] [PATCH v5 1/2] test/crypto: add rsa and mod tests Shally Verma
2018-07-10 16:01 ` [dpdk-dev] [PATCH v5 2/2] test/crypto: add dh and dsa tests Shally Verma
2018-07-10 21:35 ` [dpdk-dev] [PATCH v5 0/2]test/crypto: add unit testcase for asym crypto De Lara Guarch, Pablo
2018-07-10 21:41   ` De Lara Guarch, Pablo

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=1531238491-10542-1-git-send-email-shally.verma@caviumnetworks.com \
    --to=shally.verma@caviumnetworks.com \
    --cc=dev@dpdk.org \
    --cc=nmurthy@caviumnetworks.com \
    --cc=pablo.de.lara.guarch@intel.com \
    --cc=pathreya@caviumnetworks.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).