app/test: add ARMv8 crypto tests and test vectors
authorZbigniew Bodek <zbigniew.bodek@caviumnetworks.com>
Wed, 18 Jan 2017 20:02:01 +0000 (21:02 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 19 Jan 2017 00:00:55 +0000 (01:00 +0100)
commitead51dc017e737027b357293200679fc6ceeecd0
treeac870f2a33406023b9db254b1887a99534a7df19
parentc2fec022454375e273094918c94dda1bddd863c7
app/test: add ARMv8 crypto tests and test vectors

Introduce unit tests for ARMv8 crypto PMD.
Add test vectors for short cases such as 160 bytes.
These test cases are ARMv8 specific since the code provides
different processing paths for different input data sizes.

User can validate correctness of algorithms' implementation using:
* cryptodev_sw_armv8_autotest
For performance test one can use:
* cryptodev_sw_armv8_perftest

Signed-off-by: Zbigniew Bodek <zbigniew.bodek@caviumnetworks.com>
Reviewed-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
app/test/test_cryptodev.c
app/test/test_cryptodev_aes_test_vectors.h
app/test/test_cryptodev_blockcipher.c
app/test/test_cryptodev_blockcipher.h
app/test/test_cryptodev_perf.c