#
1daecf63 |
| 29-May-2023 |
Sunyang Wu <sunyang.wu@jaguarmicro.com> |
cryptodev: add SM3-HMAC and SM4-CFB/OFB
Add SM3_HMAC/SM4_CFB/SM4_OFB support in DPDK.
Signed-off-by: Sunyang Wu <sunyang.wu@jaguarmicro.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
|
#
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 ...
|
#
56ee8af9 |
| 12-Jan-2023 |
Volodymyr Fialko <vfialko@marvell.com> |
cryptodev: add SHAKE algorithm
Added support for a new hash algorithm, SHAKE (Secure Hash Algorithm and KECCAK) defined in FIPS 202.
Added test cases for SHAKE hash algorithm for Digest and Digest-
cryptodev: add SHAKE algorithm
Added support for a new hash algorithm, SHAKE (Secure Hash Algorithm and KECCAK) defined in FIPS 202.
Added test cases for SHAKE hash algorithm for Digest and Digest-Verify.
Signed-off-by: Volodymyr Fialko <vfialko@marvell.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
237ac556 |
| 09-Nov-2022 |
Volodymyr Fialko <vfialko@marvell.com> |
test/crypto: add SHA3 test cases
Add test cases for SHA3 hash family for Digest and Digest-Verify.
Signed-off-by: Volodymyr Fialko <vfialko@marvell.com> Acked-by: Ciara Power <ciara.power@intel.com>
|
#
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 ...
|
#
0899a87c |
| 27-Jul-2022 |
Ruifeng Wang <ruifeng.wang@arm.com> |
crypto/ipsec_mb: enable IPsec on Arm platform
Arm port of ipsec_mb library [1] has different header file name than the Intel ipsec_mb library. Proper header name is picked according to the architect
crypto/ipsec_mb: enable IPsec on Arm platform
Arm port of ipsec_mb library [1] has different header file name than the Intel ipsec_mb library. Proper header name is picked according to the architecture to get the code compile when ipsec_mb is installed on Arm platform.
And the Arm port currently supports ZUC and SNOW3g. Call to other algorithms will be blocked.
[1] https://gitlab.arm.com/arm-reference-solutions/ipsec-mb/-/tree/main
Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com> Acked-by: Ashwin Sekhar T K <asekhar@marvell.com>
show more ...
|
#
04977da0 |
| 14-Jan-2021 |
Hemant Agrawal <hemant.agrawal@nxp.com> |
test/crypto: add AES-XCBC hash only test case
This patch adds test case for AES-XCBC hash only for Digest and Digest-verify
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> Acked-by: Akhil Go
test/crypto: add AES-XCBC hash only test case
This patch adds test case for AES-XCBC hash only for Digest and Digest-verify
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
a8d0d473 |
| 15-Oct-2020 |
Bruce Richardson <bruce.richardson@intel.com> |
build: replace use of old build macros
Use the newer macros defined by meson in all DPDK source code, to ensure there are no errors when the old non-standard macros are removed.
Signed-off-by: Bruc
build: replace use of old build macros
Use the newer macros defined by meson in all DPDK source code, to ensure there are no errors when the old non-standard macros are removed.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Luca Boccassi <bluca@debian.org> Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Acked-by: Rosen Xu <rosen.xu@intel.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
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 ...
|
#
38f3c3a8 |
| 16-Apr-2020 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
test/crypto: do not check for internal PMD information
Now that capabilities are checked to see if an algorithm is supported by a device, there is no need to check for a specific version of a librar
test/crypto: do not check for internal PMD information
Now that capabilities are checked to see if an algorithm is supported by a device, there is no need to check for a specific version of a library used in a PMD.
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 ...
|
#
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 ...
|
#
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 ...
|
#
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 ...
|
#
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 ...
|
#
8a9867a6 |
| 18-Oct-2016 |
Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com> |
crypto/openssl: rename libcrypto to openssl
This patch replaces name "libcrypto" to "openssl" from file directories, symbol prefixes and sub-names connected with old name. Renamed poll mode driver f
crypto/openssl: rename libcrypto to openssl
This patch replaces name "libcrypto" to "openssl" from file directories, symbol prefixes and sub-names connected with old name. Renamed poll mode driver files, test files, and documentations. It is done to better name association with library because the cryptography operations are using Openssl library crypto API.
Fixes: d61f70b4c918 ("crypto/libcrypto: add driver for OpenSSL library")
Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com> Acked-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
show more ...
|
#
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 ...
|