#
767c4878 |
| 12-May-2023 |
Anoob Joseph <anoobj@marvell.com> |
test/crypto: specify correct parameters with null algos
Keys are not required for NULL algorithms. Same way IV, digest lengths should also be set to 0. The values are invalid and any PMD which valid
test/crypto: specify correct parameters with null algos
Keys are not required for NULL algorithms. Same way IV, digest lengths should also be set to 0. The values are invalid and any PMD which validates such parameters would return "-ENOTSUP" for such cases which would result in false skipping of tests.
Signed-off-by: Anoob Joseph <anoobj@marvell.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
e57cdbec |
| 30-Jan-2023 |
Vikash Poddar <vikash.chandrax.poddar@intel.com> |
test/crypto: fix typo in AES test
Fix the spelling of scater to scatter in cryptodev AES test vector header file
Fixes: 2692b02e03b2 ("test/crypto: add multi-segment out-of-place AES-XTS") Cc: stab
test/crypto: fix typo in AES test
Fix the spelling of scater to scatter in cryptodev AES test vector header file
Fixes: 2692b02e03b2 ("test/crypto: add multi-segment out-of-place AES-XTS") Cc: stable@dpdk.org
Signed-off-by: Vikash Poddar <vikash.chandrax.poddar@intel.com> Acked-by: Kai Ji <kai.ji@intel.com>
show more ...
|
#
63e1fbc3 |
| 07-Oct-2022 |
Ciara Power <ciara.power@intel.com> |
test/crypto: add remaining blockcipher SGL cases
The current blockcipher test function only has support for two types of SGL test, INPLACE or OOP_SGL_IN_LB_OUT. These types are hardcoded into the fu
test/crypto: add remaining blockcipher SGL cases
The current blockcipher test function only has support for two types of SGL test, INPLACE or OOP_SGL_IN_LB_OUT. These types are hardcoded into the function, with the number of segments always set to 3.
To ensure all SGL types are tested, blockcipher test vectors now have fields to specify SGL type, and the number of segments. If these fields are missing, the previous defaults are used, either INPLACE or OOP_SGL_IN_LB_OUT, with 3 segments.
Some AES and Hash vectors are modified to use these new fields, and new AES tests are added to test the SGL types that were not previously being tested.
Signed-off-by: Ciara Power <ciara.power@intel.com> Acked-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
2692b02e |
| 20-Jul-2021 |
Shiri Kuzin <shirik@nvidia.com> |
test/crypto: add multi-segment out-of-place AES-XTS
The AES-XTS algorithm can supports wrapped key and data-unit. The encryption/decryption can be done out of place and using multi segments.
Add mu
test/crypto: add multi-segment out-of-place AES-XTS
The AES-XTS algorithm can supports wrapped key and data-unit. The encryption/decryption can be done out of place and using multi segments.
Add multi segment and out of place tests to the recently added AES-XTS vectors, which support using data-unit and a wrapped key.
Signed-off-by: Shiri Kuzin <shirik@nvidia.com> Acked-by: Matan Azrad <matan@nvidia.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
d5728a5a |
| 20-Jul-2021 |
Shiri Kuzin <shirik@nvidia.com> |
test/crypto: add AES-XTS vectors
The AES-XTS algorithm supports using a wrapped key. In AES-XTS the data-unit defines the data block size to be encrypted\decrypted.
Add AES-XTS vectors with a wrapp
test/crypto: add AES-XTS vectors
The AES-XTS algorithm supports using a wrapped key. In AES-XTS the data-unit defines the data block size to be encrypted\decrypted.
Add AES-XTS vectors with a wrapped key. Add a variable stating whether the key is wrapped or not. Add the AES-XTS data-unit.
Signed-off-by: Shiri Kuzin <shirik@nvidia.com> Acked-by: Matan Azrad <matan@nvidia.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
9d33cad1 |
| 01-Jul-2021 |
Rebecca Troy <rebecca.troy@intel.com> |
test/crypto: fix typo in AES case
Fixed typo in the testcase description for AES in the crypto unit test suite by changing the word 'Scater' to 'Scatter'.
Fixes: c9c9c4ed8746 ("app/test: check scat
test/crypto: fix typo in AES case
Fixed typo in the testcase description for AES in the crypto unit test suite by changing the word 'Scater' to 'Scatter'.
Fixes: c9c9c4ed8746 ("app/test: check scatter-gather for crypto drivers") Cc: stable@dpdk.org
Signed-off-by: Rebecca Troy <rebecca.troy@intel.com> Acked-by: Ciara Power <ciara.power@intel.com>
show more ...
|
#
6356c286 |
| 24-Mar-2021 |
Tejasree Kondoj <ktejasree@marvell.com> |
test/crypto: add cases for block cipher encrypted digest
Add test cases for block cipher DIGEST_ENCRYPTED mode.
Signed-off-by: Tejasree Kondoj <ktejasree@marvell.com> Acked-by: Akhil Goyal <gakhil@
test/crypto: add cases for block cipher encrypted digest
Add test cases for block cipher DIGEST_ENCRYPTED mode.
Signed-off-by: Tejasree Kondoj <ktejasree@marvell.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
c94c520b |
| 11-Sep-2020 |
Marcel Cornu <marcel.d.cornu@intel.com> |
crypto/aesni_mb: support AES-ECB
This patch adds AES-ECB 128, 192 and 256 support to the aesni_mb PMD. AES-ECB 128, 192 and 256 test vectors added to cryptodev tests.
Signed-off-by: Marcel Cornu <m
crypto/aesni_mb: support AES-ECB
This patch adds AES-ECB 128, 192 and 256 support to the aesni_mb PMD. AES-ECB 128, 192 and 256 test vectors added to cryptodev tests.
Signed-off-by: Marcel Cornu <marcel.d.cornu@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
27f30e28 |
| 05-Jun-2020 |
Ankur Dwivedi <adwivedi@marvell.com> |
test/crypto: change cipher offset for ESN vector
In the IPSEC ESN test vector the cipher offset for encryption should be 8 bytes which is the size of esp header. This patch also changes the cipherte
test/crypto: change cipher offset for ESN vector
In the IPSEC ESN test vector the cipher offset for encryption should be 8 bytes which is the size of esp header. This patch also changes the ciphertext and the digest reference data against which the operation result is validated.
Fixes: 699741912d71 ("test/crypto: add case for auth only trailer") Cc: stable@dpdk.org
Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
b4c469ec |
| 16-Apr-2020 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
test/crypto: do not check for PMD
Remove PMD bitmask, which selects the PMD to be tested for each test case. Instead, all PMDs are eligible to run all tests, and capability checking discards the PMD
test/crypto: do not check for PMD
Remove PMD bitmask, which selects the PMD to be tested for each test case. Instead, all PMDs are eligible to run all tests, and capability checking discards the PMDs which do not support each test case.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Adam Dybkowski <adamx.dybkowski@intel.com> Tested-by: Ruifeng Wang <ruifeng.wang@arm.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
09e72e84 |
| 26-Feb-2020 |
Mairtin o Loingsigh <mairtin.oloingsigh@intel.com> |
test/crypto: add AES-256 DOCSIS test vectors
This patch adds test vectors for AES-256 and sets QAT as the target PMD.
Signed-off-by: Mairtin o Loingsigh <mairtin.oloingsigh@intel.com> Acked-by: Fio
test/crypto: add AES-256 DOCSIS test vectors
This patch adds test vectors for AES-256 and sets QAT as the target PMD.
Signed-off-by: Mairtin o Loingsigh <mairtin.oloingsigh@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
show more ...
|
#
b795e127 |
| 20-Nov-2019 |
Akhil Goyal <akhil.goyal@nxp.com> |
crypto/openssl: support in-place scatter gather
As per current support, Scatter Gather is only supported for out of place input and output buffers. This patch add support for Scatter Gather for in-p
crypto/openssl: support in-place scatter gather
As per current support, Scatter Gather is only supported for out of place input and output buffers. This patch add support for Scatter Gather for in-place buffers.
Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com> Acked-by: Anoob Joseph <anoobj@marvell.com>
show more ...
|
#
cd60a868 |
| 06-Nov-2019 |
Hemant Agrawal <hemant.agrawal@nxp.com> |
test/crypto: enable additional cases for dpaax
This patch enables short buffer and 12 bit IV AES-CTR cases for dpaax_sec pmds.
Signed-off-by: Vakul Garg <vakul.garg@nxp.com> Signed-off-by: Hemant A
test/crypto: enable additional cases for dpaax
This patch enables short buffer and 12 bit IV AES-CTR cases for dpaax_sec pmds.
Signed-off-by: Vakul Garg <vakul.garg@nxp.com> Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
6995630e |
| 16-Oct-2019 |
Anoob Joseph <anoobj@marvell.com> |
test/crypto: add OCTEON TX2
This patch adds the OCTEON TX2 crypto validation tests.
Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com> Signed-off-by: Anoob Joseph <anoobj@marvell.com> Signed-off-b
test/crypto: add OCTEON TX2
This patch adds the OCTEON TX2 crypto validation tests.
Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com> Signed-off-by: Anoob Joseph <anoobj@marvell.com> Signed-off-by: Tejasree Kondoj <ktejasree@marvell.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
69974191 |
| 14-Oct-2019 |
Hemant Agrawal <hemant.agrawal@nxp.com> |
test/crypto: add case for auth only trailer
This patch add support for case when there is auth only header and auth only tailroom present simultaneously. This simulates the case of IPSEC ESN.
This
test/crypto: add case for auth only trailer
This patch add support for case when there is auth only header and auth only tailroom present simultaneously. This simulates the case of IPSEC ESN.
This patch also enable the new test case for openssl and NXP dpaa_sec and dpaa2_sec platforms.
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> Signed-off-by: Vakul Garg <vakul.garg@nxp.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
5adf37e6 |
| 01-Oct-2019 |
Nagadheeraj Rottela <rnagadheeraj@marvell.com> |
test/crypto: add cases for Nitrox
Add aes chain test cases for Nitrox in-pace and out-of-place operations.
Signed-off-by: Nagadheeraj Rottela <rnagadheeraj@marvell.com> Acked-by: Akhil Goyal <akhil
test/crypto: add cases for Nitrox
Add aes chain test cases for Nitrox in-pace and out-of-place operations.
Signed-off-by: Nagadheeraj Rottela <rnagadheeraj@marvell.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
af46a0bc |
| 26-Apr-2019 |
Fiona Trahe <fiona.trahe@intel.com> |
test/crypto: add NULL algo to loop test mechanism
Added NULL algo tests into loop test mechanism used by block cipher tests as easier to extend there. Included chain, cipher-only and auth-only use-c
test/crypto: add NULL algo to loop test mechanism
Added NULL algo tests into loop test mechanism used by block cipher tests as easier to extend there. Included chain, cipher-only and auth-only use-cases. Extended to cover out-of-place use-cases and use-cases where data length is not an 8-byte multiple.
Signed-off-by: Fiona Trahe <fiona.trahe@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
5e73a1f8 |
| 25-Mar-2019 |
Fan Zhang <roy.fan.zhang@intel.com> |
test/crypto: check out of place for AESNI-MB
This patch updates the unit test to enable AESNI-MB PMD out-of-place tests. A special test type that swap both the source and destination buffer is added
test/crypto: check out of place for AESNI-MB
This patch updates the unit test to enable AESNI-MB PMD out-of-place tests. A special test type that swap both the source and destination buffer is added for a more comprehensive test set to take place.
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
show more ...
|
#
12324756 |
| 13-Mar-2019 |
Damian Nowak <damianx.nowak@intel.com> |
test/crypto: add tests for XTS on QAT
This patch adds test vectors for AES XTS mode on QAT. It uses different plaintext sizes and AES keys sizes of 128 and 256 bits.
Signed-off-by: Damian Nowak <da
test/crypto: add tests for XTS on QAT
This patch adds test vectors for AES XTS mode on QAT. It uses different plaintext sizes and AES keys sizes of 128 and 256 bits.
Signed-off-by: Damian Nowak <damianx.nowak@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
a9de470c |
| 26-Feb-2019 |
Bruce Richardson <bruce.richardson@intel.com> |
test: move to app directory
Since all other apps have been moved to the "app" folder, the autotest app remains alone in the test folder. Rather than having an entire top-level folder for this, we ca
test: move to app directory
Since all other apps have been moved to the "app" folder, the autotest app remains alone in the test folder. Rather than having an entire top-level folder for this, we can move it back to where it all started in early versions of DPDK - the "app/" folder.
This move has a couple of advantages: * This reduces clutter at the top level of the project, due to one less folder. * It eliminates the separate build task necessary for building the autotests using make "make test-build" which means that developers are less likely to miss something in their own compilation tests * It re-aligns the final location of the test binary in the app folder when building with make with it's location in the source tree.
For meson builds, the autotest app is different from the other apps in that it needs a series of different test cases defined for it for use by "meson test". Therefore, it does not get built as part of the main loop in the app folder, but gets built separately at the end.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
7d3b1ec4 |
| 16-Feb-2017 |
Ferruh Yigit <ferruh.yigit@intel.com> |
test: move unit tests to separate directory
This is to logically group unit tests into their own folder, separating them from "app" folder.
Hopefully this will make the unit test in DPDK more visib
test: move unit tests to separate directory
This is to logically group unit tests into their own folder, separating them from "app" folder.
Hopefully this will make the unit test in DPDK more visible.
Following binaries moved to "test" folder: cmdline-test test-acl test-pipeline test <-- various DPDK unit tests
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
c8e69fce |
| 24-Jan-2017 |
Fan Zhang <roy.fan.zhang@intel.com> |
crypto/scheduler: add unit test
Same as other cryptodev PMDs, it is necessary to carry out the unit test for scheduler PMD. Currently the test is designed to attach 2 AESNI-MB cryptodev PMDs as slav
crypto/scheduler: add unit test
Same as other cryptodev PMDs, it is necessary to carry out the unit test for scheduler PMD. Currently the test is designed to attach 2 AESNI-MB cryptodev PMDs as slaves, sets the scheduling mode as round- robin, and runs almost all AESNI-MB test items (except for sessionless tests). In the end, the slaves are detached.
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
ead51dc0 |
| 18-Jan-2017 |
Zbigniew Bodek <zbigniew.bodek@caviumnetworks.com> |
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 pr
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>
show more ...
|
#
c9c9c4ed |
| 13-Jan-2017 |
Tomasz Kulasek <tomaszx.kulasek@intel.com> |
app/test: check scatter-gather for crypto drivers
This patch provides unit tests for set of cipher/hash combinations covering currently implemented crypto PMD's and allowing to verify scatter gather
app/test: check scatter-gather for crypto drivers
This patch provides unit tests for set of cipher/hash combinations covering currently implemented crypto PMD's and allowing to verify scatter gather support.
Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com> Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com> Acked-by: Declan Doherty <declan.doherty@intel.com>
show more ...
|
#
8772c3f7 |
| 19-Dec-2016 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
crypto/aesni_mb: add single operation functionality
Update driver to use new AESNI Multibuffer IPSec library single operation functionality (cipher only and authentication only). This patch also add
crypto/aesni_mb: add single operation functionality
Update driver to use new AESNI Multibuffer IPSec library single operation functionality (cipher only and authentication only). This patch also adds tests for this new feature.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Declan Doherty <declan.doherty@intel.com>
show more ...
|