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

Test application include test case for :
- Diffie-Hellman  key pair generation and shared secret compute
- DSA sign and verify

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/test_cryptodev_asym.c
test/test/test_cryptodev_dh_test_vectors.h [new file with mode: 0644]
test/test/test_cryptodev_dsa_test_vectors.h [new file with mode: 0644]