[v4,0/2] test/crypto: add testcase for asym crypto
mbox series

Message ID 1530806060-31227-1-git-send-email-shally.verma@caviumnetworks.com
Headers show
Series
  • test/crypto: add testcase for asym crypto
Related show

Message

Shally Verma July 5, 2018, 3:54 p.m. UTC
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
- Deiffie-Hellman  key pair generation and shared secret compute
- DSA sign and verify

All test cases use pre-defined test vectors.

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)

changes in v4:
- add pre-defined test vectors for each xform and
  remove openssl SW lib  dependency

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 test application
  test/crypto: add dh and dsa test application

 test/test/Makefile                          |    1 +
 test/test/meson.build                       |    1 +
 test/test/test_cryptodev_asym.c             | 1418 +++++++++++++++++++++++++++
 test/test/test_cryptodev_asym_util.h        |   45 +
 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 |   90 ++
 8 files changed, 1855 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