#
8cad932e |
| 06-Oct-2016 |
Fiona Trahe <fiona.trahe@intel.com> |
app/test: cleanup unnecessary crypto ring size setup
Removed obsolete comments re inability to free and re-allocate queue memory and obsolete workaround for it which used to create maximum size queu
app/test: cleanup unnecessary crypto ring size setup
Removed obsolete comments re inability to free and re-allocate queue memory and obsolete workaround for it which used to create maximum size queues first, then later create smaller queues.
Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
show more ...
|
#
5cba7cbd |
| 06-Oct-2016 |
Fiona Trahe <fiona.trahe@intel.com> |
app/test: remove useless loop for crypto
Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
|
#
ffbe3be0 |
| 04-Oct-2016 |
Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com> |
app/test: add libcrypto
This patch contains unit tests for libcrypto PMD. User can use app/test application to check how to use this pmd and to verify crypto processing.
Test name is cryptodev_libc
app/test: add libcrypto
This patch contains unit tests for libcrypto PMD. User can use app/test application to check how to use this pmd and to verify crypto processing.
Test name is cryptodev_libcrypto_autotest. For performance test cryptodev_libcrypto_perftest can be used.
Signed-off-by: Piotr Azarewicz <piotrx.t.azarewicz@intel.com> Signed-off-by: Marcin Kerlin <marcinx.kerlin@intel.com> Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
e1809db6 |
| 04-Oct-2016 |
Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com> |
app/test: rework AES
This patch rework AES tests . In general - rename AES-named functions to blockcipher functions pattern.
Signed-off-by: Piotr Azarewicz <piotrx.t.azarewicz@intel.com> Signed-off
app/test: rework AES
This patch rework AES tests . In general - rename AES-named functions to blockcipher functions pattern.
Signed-off-by: Piotr Azarewicz <piotrx.t.azarewicz@intel.com> Signed-off-by: Fiona Trahe <fiona.trahe@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
4c99481f |
| 29-Sep-2016 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
app/test: add ZUC
Add cipher and authentication ZUC algorithm tests.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
|
#
24cc6c78 |
| 29-Sep-2016 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
app/test: rename some SNOW 3G functions
Before adding the new ZUC tests, since they will use the existing common functions for SNOW3G and KASUMI, these functions are renamed to *_wireless_algo_*, in
app/test: rename some SNOW 3G functions
Before adding the new ZUC tests, since they will use the existing common functions for SNOW3G and KASUMI, these functions are renamed to *_wireless_algo_*, instead of *_snow3g_kasumi_*, as they are common functions for all the three wireless algorithms.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
show more ...
|
#
afd6aa6f |
| 26-Sep-2016 |
Fiona Trahe <fiona.trahe@intel.com> |
app/test: improve error message for disabled crypto
Improve error message if crypto PMD build is not enabled in config file
Signed-off-by: Fiona Trahe <fiona.trahe@intel.com> Acked-by: Pablo de Lar
app/test: improve error message for disabled crypto
Improve error message if crypto PMD build is not enabled in config file
Signed-off-by: Fiona Trahe <fiona.trahe@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
1b529b01 |
| 26-Sep-2016 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
app/test: remove unnecessary conditional for crypto
Regardless the result of the conditional, the true and false statements were the same, so the conditional can be removed.
Signed-off-by: Pablo de
app/test: remove unnecessary conditional for crypto
Regardless the result of the conditional, the true and false statements were the same, so the conditional can be removed.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
show more ...
|
#
77debbbf |
| 22-Sep-2016 |
Arek Kusztal <arkadiuszx.kusztal@intel.com> |
app/test: fix verification of digest for GCM
This patch fixes verification of digest in test_cryptodev.c file for AES GCM test cases.
Fixes: eec136f3c54f ("aesni_gcm: add driver for AES-GCM crypto
app/test: fix verification of digest for GCM
This patch fixes verification of digest in test_cryptodev.c file for AES GCM test cases.
Fixes: eec136f3c54f ("aesni_gcm: add driver for AES-GCM crypto operations")
Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com> Acked-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
show more ...
|
#
b2bb3597 |
| 22-Sep-2016 |
Arek Kusztal <arkadiuszx.kusztal@intel.com> |
crypto/aesni_gcm: move pre-counter block to driver
This patch moves computing of pre-counter block into the AESNI-GCM driver so it can be moved from test files.
Signed-off-by: Arek Kusztal <arkadiu
crypto/aesni_gcm: move pre-counter block to driver
This patch moves computing of pre-counter block into the AESNI-GCM driver so it can be moved from test files.
Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com> Acked-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
show more ...
|
#
6aef7638 |
| 21-Sep-2016 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
crypto: rename some SNOW 3G references
SNOW 3G algorithm has all uppercase letters in its name and a space between SNOW and 3G, but some references of it had some lowercase letters or no space.
Sig
crypto: rename some SNOW 3G references
SNOW 3G algorithm has all uppercase letters in its name and a space between SNOW and 3G, but some references of it had some lowercase letters or no space.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
show more ...
|
#
84baeeb2 |
| 20-Sep-2016 |
Arek Kusztal <arkadiuszx.kusztal@intel.com> |
app/test: add GMAC for qat
Added Galois Message Authentication Code (GMAC) tests to cryptodev tests.
Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com> Acked-by: Deepak Kumar Jain <deepak.k
app/test: add GMAC for qat
Added Galois Message Authentication Code (GMAC) tests to cryptodev tests.
Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com> Acked-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
show more ...
|
#
73d648b8 |
| 19-Sep-2016 |
Deepak Kumar Jain <deepak.k.jain@intel.com> |
app/test: add KASUMI for qat
This patch adds KASUMI tests in the QAT testsuite. Alg-Chaining tests have also been added in the KASUMI SW PMD.
Signed-off-by: Deepak Kumar Jain <deepak.k.jain@intel.c
app/test: add KASUMI for qat
This patch adds KASUMI tests in the QAT testsuite. Alg-Chaining tests have also been added in the KASUMI SW PMD.
Signed-off-by: Deepak Kumar Jain <deepak.k.jain@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
show more ...
|
#
e6691715 |
| 19-Sep-2016 |
Deepak Kumar Jain <deepak.k.jain@intel.com> |
app/test: rename some SNOW 3G functions
Renamed authenticated encryption and encrypted authentication tests with easily recognized names.
Signed-off-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
app/test: rename some SNOW 3G functions
Renamed authenticated encryption and encrypted authentication tests with easily recognized names.
Signed-off-by: Deepak Kumar Jain <deepak.k.jain@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
show more ...
|
#
dac3985e |
| 19-Sep-2016 |
Deepak Kumar Jain <deepak.k.jain@intel.com> |
app/test: cleanup crypto code
Cleanup the code for code design consistency.
Signed-off-by: Deepak Kumar Jain <deepak.k.jain@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
|
#
50914e6c |
| 16-Sep-2016 |
Deepak Kumar Jain <deepak.k.jain@intel.com> |
app/test: add NULL operation for qat
Added NULL algorithm to test file for Intel(R) QuickAssist Technology Driver.
Signed-off-by: Deepak Kumar Jain <deepak.k.jain@intel.com> Acked-by: Fiona Trahe <
app/test: add NULL operation for qat
Added NULL algorithm to test file for Intel(R) QuickAssist Technology Driver.
Signed-off-by: Deepak Kumar Jain <deepak.k.jain@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
show more ...
|
#
4a38d46e |
| 09-Sep-2016 |
Arek Kusztal <arkadiuszx.kusztal@intel.com> |
app/test: add MD5 HMAC for qat
Added MD5 HMAC hash algorithm to test file for Intel QuickAssist Technology driver.
Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com> Acked-by: Fiona Trahe <
app/test: add MD5 HMAC for qat
Added MD5 HMAC hash algorithm to test file for Intel QuickAssist Technology driver.
Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
show more ...
|
#
26e09db6 |
| 13-Jul-2016 |
Thomas Monjalon <thomas.monjalon@6wind.com> |
app/test: rework command registration
The tests are registered with their command name by adding a structure to a list. The structure of each test was declared in each test file and passed to the re
app/test: rework command registration
The tests are registered with their command name by adding a structure to a list. The structure of each test was declared in each test file and passed to the register macro. This rework generate the structure inside the register macro.
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Reviewed-by: Jan Viktorin <viktorin@rehivetech.com>
show more ...
|
#
516c26da |
| 10-Jul-2016 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
app/test: fix hexdump length for crypto
Plaintexts and ciphertexts are dumped when debugging is enabled, using TEST_HEXDUMP. For Snow3G and KASUMI, their lengths are in bits, but TEST_HEXDUMP uses b
app/test: fix hexdump length for crypto
Plaintexts and ciphertexts are dumped when debugging is enabled, using TEST_HEXDUMP. For Snow3G and KASUMI, their lengths are in bits, but TEST_HEXDUMP uses bytes, so lenghts are passed in bytes now.
Fixes: 47df73a1a62f ("app/test: use hexdump if debug log is enabled")
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Signed-off-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
show more ...
|
#
a50eb868 |
| 10-Jul-2016 |
Deepak Kumar Jain <deepak.k.jain@intel.com> |
app/test: fix missing operation initialization
Initializing the authentication op parameter.
Fixes: eec136f3c54f ("aesni_gcm: add driver for AES-GCM crypto operations")
Signed-off-by: Deepak Kumar
app/test: fix missing operation initialization
Initializing the authentication op parameter.
Fixes: eec136f3c54f ("aesni_gcm: add driver for AES-GCM crypto operations")
Signed-off-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
show more ...
|
#
cdfb776b |
| 08-Jul-2016 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
crypto: normalize driver names with macros
Recently reported, the introduction of pmd information exports led to a breakage of cryptodev unit tests because the test infrastructure relies on the cryp
crypto: normalize driver names with macros
Recently reported, the introduction of pmd information exports led to a breakage of cryptodev unit tests because the test infrastructure relies on the cryptodev names being available in macros. This patch fixes the pmd naming to use the macro names. Note that the macro names were already pre-stringified, which won't work as the PMD_REGISTER_DRIVER macro requires the name in both a processing token and stringified form. As such the names are defined now as tokens, and converted where needed to stringified form on demand using RTE_STR.
Signed-off-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
a0fd91ce |
| 30-Jun-2016 |
Bruce Richardson <bruce.richardson@intel.com> |
mempool: rename functions with confusing names
The mempool_count and mempool_free_count behaved contrary to what their names suggested. The free_count function actually returned the number of elemen
mempool: rename functions with confusing names
The mempool_count and mempool_free_count behaved contrary to what their names suggested. The free_count function actually returned the number of elements that were allocated from the pool, not the number unallocated as the name implied.
Fix this by introducing two new functions to replace the old ones, * rte_mempool_avail_count to replace rte_mempool_count * rte_mempool_in_use_count to replace rte_mempool_free_count
In this patch, the new functions are added, and the old ones are marked as deprecated. All apps and examples that use the old functions are updated to use the new functions.
Fixes: af75078fece3 ("first public release")
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
f0cb66e3 |
| 27-Jun-2016 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
app/test: avoid freeing mbufs twice in qat test
Test_multi_session was freeing mbufs used in the multiple sessions created and setting obuf to NULL after it, but ibuf was not being set to NULL, and
app/test: avoid freeing mbufs twice in qat test
Test_multi_session was freeing mbufs used in the multiple sessions created and setting obuf to NULL after it, but ibuf was not being set to NULL, and therefore, it was being freed again (ibuf and obuf are pointing at the same address), in the ut_teardown() function.
Fixes: 1b9cb73ecef1 ("app/test: fix qat autotest failure")
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
show more ...
|
#
643e9427 |
| 25-Jun-2016 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
app/test: avoid freeing mbuf twice
In cryptodev tests, when input and output buffers were the same, the mbuf was being freed twice, causing refcnt_atomic to be negative.
Fixes: 202d375c60bc ("app/t
app/test: avoid freeing mbuf twice
In cryptodev tests, when input and output buffers were the same, the mbuf was being freed twice, causing refcnt_atomic to be negative.
Fixes: 202d375c60bc ("app/test: add cryptodev unit and performance tests")
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
9fa91cd0 |
| 20-Jun-2016 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
app/test: refactor SNOW 3G and KASUMI tests
SNOW3G and KASUMI unit tests are very similar and they were using duplicated code, so this commit refactor and remove some of the duplicated functions.
S
app/test: refactor SNOW 3G and KASUMI tests
SNOW3G and KASUMI unit tests are very similar and they were using duplicated code, so this commit refactor and remove some of the duplicated functions.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
show more ...
|