[dpdk-dev] [PATCH 3/3] app/test: add DES tests to Intel QAT crypto test suite

2016-12-02 Thread Arek Kusztal
This commit adds tests of Data Encryption Standard (DES) algorithm to Intel QuickAssist technology crypto test suites Signed-off-by: Arek Kusztal <arkadiuszx.kusz...@intel.com> --- app/test/test_cryptodev.c | 18 + app/test/test_cryptodev_blockcipher.c | 5 +

[dpdk-dev] [PATCH 2/3] crypto/qat: add DES capability to Intel QAT driver

2016-12-02 Thread Arek Kusztal
This commit adds DES capability to Intel QuickAssist Technology Driver Signed-off-by: Arek Kusztal <arkadiuszx.kusz...@intel.com> --- doc/guides/cryptodevs/qat.rst| 1 + doc/guides/rel_notes/release_17_02.rst | 6 + drivers/crypto/qat/qat_adf/qat_

[dpdk-dev] [PATCH v2] qat: fix phys address of content descriptor

2016-06-01 Thread Arek Kusztal
From: Arkadiusz Kusztal Fix an error with computation of physical address of content descriptor in the symmetric operations session Fixes: 1703e94ac5ce ("qat: add driver for QuickAssist devices") Signed-off-by: Arkadiusz Kusztal --- v2: Added fixes line to commit

[dpdk-dev] [PATCH 0/2] Change optimization flag for Intel QuickAssist Technology driver Makefile

2016-06-07 Thread Arek Kusztal
This patch changes to -O3 optimization flag in Intel QuickAssist Technology driver Makefile Arek Kusztal (2): qat: add aad_len variable to avoid GCC break strict-aliasing rules warning qat: change optimization flag for Intel QuickAssist Technology Makefile drivers/crypto/qat

[dpdk-dev] [PATCH 1/2] qat: add aad_len variable to avoid GCC break strict-aliasing rules warning

2016-06-07 Thread Arek Kusztal
To avoid GCC warning about "dereferencing type-punned pointer will break strict-aliasing rules" aad_len pointer is dereferenced instead of direct dereferencing of uint32_t* cast of the middle of an array. Signed-off-by: Arek Kusztal --- drivers/crypto/qat/qat_adf/qat_algs_build_

[dpdk-dev] [PATCH 2/2] qat: change optimization flag for Intel QuickAssist Technology Makefile

2016-06-07 Thread Arek Kusztal
Changed to -O3 optimization flag in Intel QuickAssist Technology Makefile Signed-off-by: Arek Kusztal --- drivers/crypto/qat/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/qat/Makefile b/drivers/crypto/qat/Makefile index 258c2d5..ee72a61 100644 --- a/drivers/crypto

[dpdk-dev] [PATCH] qat: fix phys address of content descriptor

2016-05-30 Thread Arek Kusztal
From: Arkadiusz Kusztal this patch fixes an error with computation of physical address of content descriptor in the symmetric operations session Signed-off-by: Arkadiusz Kusztal --- drivers/crypto/qat/qat_crypto.c | 9 ++---

[dpdk-dev] [PATCH 0/3] Add scatter-gather list capability to Intel QuickAssist Technology driver

2016-11-30 Thread Arek Kusztal
/patchwork/patch/17241) Arek Kusztal (3): lib/librte_cryptodev: add private member to crypto op struct crypto/qat: add SGL capability to Intel QuickAssist driver app/test: add SGL tests to cryptodev QAT suite app/test/test_cryptodev.c | 356 +

[dpdk-dev] [PATCH 1/3] lib/librte_cryptodev: add private member to crypto op struct

2016-11-30 Thread Arek Kusztal
This commit adds void * _priv member to rte_crypto_op struct to be used by internal driver operations. Signed-off-by: Arek Kusztal --- lib/librte_cryptodev/rte_crypto.h | 4 1 file changed, 4 insertions(+) diff --git a/lib/librte_cryptodev/rte_crypto.h b/lib/librte_cryptodev/rte_crypto.h

[dpdk-dev] [PATCH 2/3] crypto/qat: add SGL capability to Intel QuickAssist driver

2016-11-30 Thread Arek Kusztal
This commit adds scatter-gather list capability to Intel QuickAssist Technology driver. Signed-off-by: Arek Kusztal --- doc/guides/rel_notes/release_17_02.rst | 5 ++ drivers/crypto/qat/qat_crypto.c| 145 ++--- drivers/crypto/qat/qat_crypto.h| 6

[dpdk-dev] [PATCH 3/3] app/test: add SGL tests to cryptodev QAT suite

2016-11-30 Thread Arek Kusztal
This commit adds GCM tests to use within scatter-gather list. Test use direct chained mbufs created based on the input parameter for max size for in place operations and out of place operations. Signed-off-by: Arek Kusztal --- app/test/test_cryptodev.c | 356 + app

[dpdk-dev] [PATCH] app/test: add tests with corrupted data for QAT test suite

2016-10-13 Thread Arek Kusztal
This commit adds tests with corrupted data to the Intel QuickAssist Technology tests suite in test_cryptodev.c Signed-off-by: Arek Kusztal --- app/test/test_cryptodev.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c

[dpdk-dev] [PATCH] app/test: add crypto continual tests

2016-10-13 Thread Arek Kusztal
This commit adds continual performace tests to Intel(R) QuickAssist Technology tests suite. Performance tests are run continually with some number of repeating loops. Signed-off-by: Arek Kusztal --- app/test/test_cryptodev_perf.c | 133 - 1 file changed

[dpdk-dev] [PATCH 0/2] Add HMAC_MD5 to Intel QuickAssist Technology driver

2016-08-09 Thread Arek Kusztal
atch/15125/) Arek Kusztal (2): crypto/qat: add MD5 HMAC capability to Intel QAT driver app/test: add test cases for MD5 HMAC for Intel QAT driver app/test/test_cryptodev.c| 185 +++ app/test/test_cryptodev_hmac_test_vectors.h | 121 ++

[dpdk-dev] [PATCH 1/2] crypto/qat: add MD5 HMAC capability to Intel QAT driver

2016-08-09 Thread Arek Kusztal
Added posibility to compute MD5 HMAC digest with Intel QuickAssist Technology Driver Signed-off-by: Arek Kusztal --- doc/guides/cryptodevs/qat.rst| 1 + drivers/crypto/qat/qat_adf/qat_algs_build_desc.c | 34 drivers/crypto/qat/qat_crypto.c

[dpdk-dev] [PATCH 2/2] app/test: add test cases for MD5 HMAC for Intel QAT driver

2016-08-09 Thread Arek Kusztal
Added MD5 HMAC hash algorithm to test file for Intel QuickAssist Technology Driver Signed-off-by: Arek Kusztal --- app/test/test_cryptodev.c | 185 app/test/test_cryptodev_hmac_test_vectors.h | 121 ++ 2 files changed, 306

[dpdk-dev] [PATCH 0/3] Fix compability issues between crypto drivers for GCM test cases

2016-08-25 Thread Arek Kusztal
This patchset fix pre-counter block issues between crypto divers for AES-GCM tests. Pre-counter block 96b computation from test file is moved into the AES-GCM PMD. This patch set fixes too problems with verification of digest for AES-GCM. Arek Kusztal (3): crypto/aesni_gcm: move pre-counter

[dpdk-dev] [PATCH 1/3] crypto/aesni_gcm: move pre-counter block to GCM driver

2016-08-25 Thread Arek Kusztal
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 --- drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/aesni_gcm

[dpdk-dev] [PATCH 2/3] app/test: move pre-counter block computation from test files

2016-08-25 Thread Arek Kusztal
This patch removes pre-counter block computation from test_cryptodev.c file for AES GCM Signed-off-by: Arek Kusztal --- app/test/test_cryptodev.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 647787d..227bd7d

[dpdk-dev] [PATCH 3/3] app/test: fix verification of digest in GCM crypto test

2016-08-25 Thread Arek Kusztal
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 --- app/test/test_cryptodev.c | 14 +++--- 1 file changed, 7 insertions(+), 7

[dpdk-dev] [PATCH 0/3] add GMAC capability Intel QAT driver

2016-08-25 Thread Arek Kusztal
This patches add AES GMAC capability to Intel(R) QuickAssist Technology driver and corresponsing test cases. This patchset depends on the following patches/patchsets: "crypto/qat: enable Kasumi F9 support in QAT driver" (http://dpdk.org/dev/patchwork/patch/15320/) Arek Kusztal (3):

[dpdk-dev] [PATCH 1/3] crypto/qat: add GMAC capability to QAT crypto driver

2016-08-25 Thread Arek Kusztal
Added Galois Message Authentication Code (GMAC) capability to QuickAssist Technology symmetric cryptographic driver. GMAC is authentication only variant of Galois Counter Mode (GCM) where all plaintext is provided with AAD pointer only. Signed-off-by: Arek Kusztal --- doc/guides/cryptodevs

[dpdk-dev] [PATCH 2/3] app/test: add GMAC authentication tests to cryptodev tests

2016-08-25 Thread Arek Kusztal
Added Galois Message Authentication Code (GMAC) tests to Cryptodev tests Signed-off-by: Arek Kusztal --- app/test/test_cryptodev.c | 265 + app/test/test_cryptodev_gcm_test_vectors.h | 150 2 files changed, 415 insertions(+) diff

[dpdk-dev] [PATCH 3/3] lib/librte_cryptodev: change GMAC API comments

2016-08-25 Thread Arek Kusztal
File rte_crypto_sym.h GMAC API comments need to be changed to comply to the GMAC specification. Main areas of changes is aad pointer and aad len which now will be used to provide plaintext. Signed-off-by: Arek Kusztal --- lib/librte_cryptodev/rte_crypto_sym.h | 17 - 1 file

[dpdk-dev] [PATCH 0/2] Added AES counter mode capability

2016-05-05 Thread Arek Kusztal
This patchset adds AES counter mode capability for Intel QuickAssist Technology crypto driver. It adds six test cases for 16B, 24B, 32B key size. Arek Kusztal (2): qat: add AES counter mode capability app/test: add test cases for AES CTR app/test/test_cryptodev.c | 254

[dpdk-dev] [PATCH 1/2] qat: add AES counter mode capability

2016-05-05 Thread Arek Kusztal
Added possibility for AES to work in counter mode Signed-off-by: Arek Kusztal --- doc/guides/cryptodevs/overview.rst | 6 +++--- doc/guides/cryptodevs/qat.rst | 3 +++ doc/guides/rel_notes/release_16_07.rst | 5 + drivers/crypto/qat/qat_crypto.c| 29

[dpdk-dev] [PATCH 2/2] app/test: add test cases for AES CTR

2016-05-05 Thread Arek Kusztal
Added tests cases for AES working in counter mode Signed-off-by: Arek Kusztal --- app/test/test_cryptodev.c | 254 app/test/test_cryptodev_aes_ctr_test_vectors.h | 257 + 2 files changed, 511 insertions(+) create mode 100644

[dpdk-dev] [PATCH 0/2] Added AES counter mode capability

2016-05-06 Thread Arek Kusztal
This patchset adds AES counter mode capability for Intel QuickAssist Technology crypto driver. It adds six test cases for 16B, 24B, 32B key size. NOTE: Need to repost this patchset because of the problem in email header. Arek Kusztal (2): qat: add AES counter mode capability app/test: add

[dpdk-dev] [PATCH 1/2] qat: add AES counter mode capability

2016-05-06 Thread Arek Kusztal
Added possibility for AES to work in counter mode Signed-off-by: Arek Kusztal --- doc/guides/cryptodevs/overview.rst | 6 +++--- doc/guides/cryptodevs/qat.rst | 3 +++ doc/guides/rel_notes/release_16_07.rst | 5 + drivers/crypto/qat/qat_crypto.c| 29

[dpdk-dev] [PATCH 2/2] app/test: add test cases for AES CTR

2016-05-06 Thread Arek Kusztal
Added tests cases for AES working in counter mode Signed-off-by: Arek Kusztal --- app/test/test_cryptodev.c | 254 app/test/test_cryptodev_aes_ctr_test_vectors.h | 257 + 2 files changed, 511 insertions(+) create mode 100644

[dpdk-dev] [PATCH] qat: change optimization flag for Intel QuickAssist Technology

2016-05-10 Thread Arek Kusztal
From: Arkadiusz Kusztal Changed to -O3 optimization flag in Intel QuickAssist Technology Makefile Signed-off-by: Arkadiusz Kusztal --- drivers/crypto/qat/Makefile | 1 + drivers/crypto/qat/qat_adf/qat_algs_build_desc.c | 8 +--- 2 files

[dpdk-dev] [PATCH] app/test: fix wrong pointer values in crypto perftest

2016-10-28 Thread Arek Kusztal
This commit fixes problem with device hanging because of wrong pointer values in snow3g performance test Fixes: 97fe6461c7cb ("app/test: add SNOW 3G performance test") Signed-off-by: Arek Kusztal --- app/test/test_cryptodev_perf.c | 101 - 1 fi