test/crypto: add RSA and Mod tests
authorSunila Sahu <sunila.sahu@caviumnetworks.com>
Tue, 10 Jul 2018 16:01:30 +0000 (21:31 +0530)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 11 Jul 2018 01:57:25 +0000 (03:57 +0200)
commit2c6dab9cd93d42e4aad35a73b6e6421f76cf8068
treed20508d4833ab3771ec16270232f6c245ae8c283
parentb9209dc219997c4071e1d76aece12b59ac8e4f80
test/crypto: add RSA and Mod tests

Test application include test case for :
- RSA encrypt, decrypt, sign and verify
- Modular Inversion and Exponentiation

Test cases uses predefined test vectors.

Signed-off-by: Sunila Sahu <sunila.sahu@caviumnetworks.com>
Signed-off-by: Shally Verma <shally.verma@caviumnetworks.com>
Signed-off-by: Ashish Gupta <ashish.gupta@caviumnetworks.com>
Signed-off-by: Umesh Kartha <umesh.kartha@caviumnetworks.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
test/test/Makefile
test/test/meson.build
test/test/test_cryptodev_asym.c [new file with mode: 0644]
test/test/test_cryptodev_asym_util.h [new file with mode: 0644]
test/test/test_cryptodev_mod_test_vectors.h [new file with mode: 0644]
test/test/test_cryptodev_rsa_test_vectors.h [new file with mode: 0644]