DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v5 0/2]test/crypto: add unit testcase for asym crypto
@ 2018-07-10 16:01 Shally Verma
  2018-07-10 16:01 ` [dpdk-dev] [PATCH v5 1/2] test/crypto: add rsa and mod tests Shally Verma
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Shally Verma @ 2018-07-10 16:01 UTC (permalink / raw)
  To: pablo.de.lara.guarch; +Cc: dev, pathreya, nmurthy

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

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

end of thread, other threads:[~2018-07-10 21:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-10 16:01 [dpdk-dev] [PATCH v5 0/2]test/crypto: add unit testcase for asym crypto Shally Verma
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

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