When running auth NULL cases while using
vfio_pci, DMAR read/write faults appear. It
happens even if digest_length is set to 0.
This is caused by auth_res_addr initialized
as 0x0.
Fixes: 4e0955bddb08
Cc: Fiona Trahe
Signed-off-by: Damian Nowak
---
drivers/crypto/qat/qat_sym.c | 5 ++---
1
Hi,
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Nithin Dabilpuram
> Sent: Wednesday, July 17, 2019 13:59
> To: Hyong Youb Kim ; David Marchand
> ; Thomas Monjalon
> ; Yigit, Ferruh ; Burakov,
> Anatoly
> Cc: jer...@marvell.com; John Daley ; Shahed Shaikh
>
> -Original Message-
> From: Kusztal, ArkadiuszX
> Sent: Wednesday, July 17, 2019 14:51
> To: dev@dpdk.org
> Cc: akhil.go...@nxp.com; Trahe, Fiona ;
> shal...@marvell.com; Nowak, DamianX ;
> Kusztal, ArkadiuszX
> Subject: [PATCH v4 00/11] Rework API for RSA
This patch adds checking if device support ZUC
algorithms before running ZUC test cases.
It also removes unnecessary checks of digest
appended space and fixes some comments wording.
Signed-off-by: Damian Nowak
---
app/test/test_cryptodev.c | 28
1 file changed, 20
> -Original Message-
> From: Trahe, Fiona
> Sent: Wednesday, July 10, 2019 11:53
> To: dev@dpdk.org
> Cc: akhil.go...@nxp.com; Trahe, Fiona ; Nowak,
> DamianX ; Ananyev, Konstantin
>
> Subject: [PATCH] crypto/qat: fix seg-fault
>
> Fix for seg-fault
This patch makes unsupported tests visible in
the testsuite summary.
Signed-off-by: Damian Nowak
---
app/test/test_cryptodev.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index 336cfd0..05422da 100644
--- a
This patch adds test cases for kasumi in-place
and out-of-place auth-cipher operations. Test
cases include buffer appended digest generation
with encryption and buffer decryption with
appended digest verification.
Signed-off-by: Damian Nowak
---
app/test/test_cryptodev.c
digest is encrypted
only partially.
Signed-off-by: Damian Nowak
---
app/test/test_cryptodev.c | 783 +-
app/test/test_cryptodev_snow3g_test_vectors.h | 67 +++
2 files changed, 830 insertions(+), 20 deletions(-)
diff --git a/app/test/test_cryptodev.c b/app
Nowak
---
app/test/test_cryptodev.c | 305 +-
app/test/test_cryptodev_snow3g_test_vectors.h | 167 +-
2 files changed, 414 insertions(+), 58 deletions(-)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index 7a3a3d1
This patch adds test cases for zuc in-place
and out-of-place auth-cipher operations. Test
cases include buffer appended digest generation
with encryption and buffer decryption with
appended digest verification.
Signed-off-by: Damian Nowak
---
app/test/test_cryptodev.c | 204
about new
feature flag to the release notes.
Signed-off-by: Damian Nowak
---
doc/guides/cryptodevs/features/default.ini | 1 +
doc/guides/cryptodevs/overview.rst | 3 +++
doc/guides/rel_notes/release_19_08.rst | 3 +++
lib/librte_cryptodev/rte_cryptodev.c | 2 ++
lib
in comments and documentation
- add zuc test cases
- add support for partial digest encryption
- update support for sgl buffers
v2:
- extend support for partial digest encryption
- add release notes
- document limitations on QAT
- reorder patches
- update patchset name
Damian Nowak (8
This patch explains what are the conditions
and how to use digest appended for auth-cipher
operations.
Signed-off-by: Damian Nowak
---
lib/librte_cryptodev/rte_crypto_sym.h | 44 +++
1 file changed, 44 insertions(+)
diff --git a/lib/librte_cryptodev
extends PMD
buffers accordingly.
It also adds feature flag for QuickAssist
Technology to emphasize it's support for digest
appended auth-cipher operations.
Signed-off-by: Damian Nowak
---
doc/guides/cryptodevs/features/qat.ini | 1 +
doc/guides/rel_notes/release_19_08.rst | 5 +++
drivers/c
This patch adds description of limitation when
using digest-appended auth-cipher operations
on QuickAssist Technology driver.
Signed-off-by: Damian Nowak
---
doc/guides/cryptodevs/qat.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs
This patch adds test cases for kasumi in-place
and out-of-place auth-cipher operations. Test
cases include buffer appended digest generation
with encryption and buffer decryption with
appended digest verification.
Signed-off-by: Damian Nowak
---
app/test/test_cryptodev.c
This patch adds release note entries for
hash-cipher digest-encrypted operations
and new digest_encrypted feature flag.
Signed-off-by: Damian Nowak
---
doc/guides/rel_notes/release_19_08.rst | 8
1 file changed, 8 insertions(+)
diff --git a/doc/guides/rel_notes/release_19_08.rst
b
This patch makes unsupported tests visible in
the testsuite summary.
Signed-off-by: Damian Nowak
---
app/test/test_cryptodev.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index fa2b5df..ac63bc6 100644
--- a
is encrypted
only partially.
Signed-off-by: Damian Nowak
---
app/test/test_cryptodev.c | 262 ++
app/test/test_cryptodev_snow3g_test_vectors.h | 67 +++
2 files changed, 329 insertions(+)
diff --git a/app/test/test_cryptodev.c b/app/test
encrypted
or decrypted partially and extends PMD buffers
accordingly.
Signed-off-by: Damian Nowak
---
drivers/crypto/qat/qat_sym.c | 31 +++
1 file changed, 19 insertions(+), 12 deletions(-)
diff --git a/drivers/crypto/qat/qat_sym.c b/drivers/crypto/qat/qat_sym.c
Nowak
---
app/test/test_cryptodev.c | 281 +-
app/test/test_cryptodev_snow3g_test_vectors.h | 167 ++-
2 files changed, 392 insertions(+), 56 deletions(-)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index 9f31aaa
This patch adds feature flag for QuickAssist
Technology to emphasize it's support for digest
appended auth-cipher operations.
Signed-off-by: Damian Nowak
---
drivers/crypto/qat/qat_sym_pmd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/crypto/qat/qat_sym_pm
This patch explains what are the conditions
and how to use digest appended for auth-cipher
operations.
Signed-off-by: Damian Nowak
---
lib/librte_cryptodev/rte_crypto_sym.h | 43 +++
1 file changed, 43 insertions(+)
diff --git a/lib/librte_cryptodev
- add release notes
- document limitations on QAT
- reorder patches
- update patchset name
Damian Nowak (10):
cryptodev: document usage of digest-appended operations
cryptodev: add digest encrypted feature flag
crypto/qat: handle buffer size for digest-encrypted auth-cipher
crypto/qat: add
Some PMDs can only support digest being
encrypted separately in auth-cipher operations.
Thus it is required to add feature flag in PMD
to reflect if it does support digest-appended
both: digest generation with encryption and
decryption with digest verification.
Signed-off-by: Damian Nowak
From: Damian Nowak
This patch makes unsupported tests visible in
the testsuite summary.
Signed-off-by: Damian Nowak
---
app/test/test_cryptodev.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index 937849e
From: Damian Nowak
This patch adds checking of digest encrypted
feature flag for auth-cipher out-of-place
operations test cases to determine if the
operations are supported.
Signed-off-by: Damian Nowak
---
app/test/test_cryptodev.c | 40 ++--
1 file changed
From: Damian Nowak
This patch adds feature flag for QuickAssist
Technology to emphasize it's support for digest
appended auth-cipher operations.
Signed-off-by: Damian Nowak
---
drivers/crypto/qat/qat_sym_pmd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dr
From: Damian Nowak
Some PMDs can only support digest being
encrypted separately in auth-cipher operations.
Thus it is required to add feature flag in PMD
to reflect if it does support digest-appended
both: digest generation with encryption and
decryption with digest verification.
Signed-off-by
From: Damian Nowak
This patch explains what are the conditions
and how to use digest appended for auth-cipher
operations.
Signed-off-by: Damian Nowak
---
lib/librte_cryptodev/rte_crypto_sym.h | 43 +++
1 file changed, 43 insertions(+)
diff --git a/lib
From: Damian Nowak
This patch adds test cases for snow3g in-place
and out-of-place auth-cipher operations with
scatter-gather lists as input and output mbufs.
Test cases include digest generation with buffer
encryption and buffer decryption with digest
verification.
Signed-off-by: Damian Nowak
From: Damian Nowak
This patch adds test cases for kasumi out of
place auth-cipher operations. Test cases include
digest generation with buffer encryption and
buffer decryption with digest verification.
Signed-off-by: Damian Nowak
---
app/test/test_cryptodev.c | 190
From: Damian Nowak
This patch adds test cases for snow3g out of
place auth-cipher operations. Test cases include
digest generation with buffer encryption and
buffer decryption with digest verification.
Signed-off-by: Damian Nowak
---
app/test/test_cryptodev.c | 228
From: Damian Nowak
This patch adds condition to be met when using
wireless algorithms (SNOW3G, KASUMI, ZUC) in
out-of-place auth-cipher operations. It verifies
if there is enough room for the digest in the
output buffer.
Conditions rewritten for better readibility and
possible SGL support
From: Damian Nowak
This patchset adds digest appended and encrypted
auth-cipher operations support for QAT, with
dedicated feature flag and a set of tests
for KASUMI and SNOW3G in-place, out-of-place
and SGL using operations.
Damian Nowak (9):
crypto/qat: check buffer size for oop auth-cipher
This patch adds new test structure for modexp
and modinv for asymmetric cryptography
Signed-off-by: Damian Nowak
---
app/test/test_cryptodev.h | 1 +
app/test/test_cryptodev_asym.c | 318 ++
app/test/test_cryptodev_mod_test_vectors.h | 967
:
- rebase
- remove unused variable
v3:
- add QuickAssist Technology support
v2:
- fix checkpatch issues
Damian Nowak (1):
test: new test structure for asymmetric crypto
app/test/test_cryptodev.h | 1 +
app/test/test_cryptodev_asym.c | 318 ++
app/test
This patch adds new test structure for modexp
and modinv for asymmetric cryptography
Signed-off-by: Damian Nowak
---
app/test/test_cryptodev.h | 1 +
app/test/test_cryptodev_asym.c | 318 ++
app/test/test_cryptodev_mod_test_vectors.h | 967
unused variable
v3:
- add QuickAssist Technology support
v2:
- fix checkpatch issues
Damian Nowak (1):
test: new test structure for asymmetric crypto
app/test/test_cryptodev.h | 1 +
app/test/test_cryptodev_asym.c | 318 ++
app/test
This patch enables plain SHA algorithm CAVP test support
in fips_validation sample application.
Signed-off-by: Damian Nowak
Acked-by: Fan Zhang
Acked-by: Marko Kovacevic
---
examples/fips_validation/Makefile | 1 +
examples/fips_validation/fips_validation.c | 17
This patch enables plain SHA algorithm CAVP test support
in fips_validation sample application.
---
v2: fix checkpatches issues
Damian Nowak (1):
fips_validation: Add plain SHA support
examples/fips_validation/Makefile | 1 +
examples/fips_validation/fips_validation.c
This patch removes duplicated text about AES-XTS
mode.
Signed-off-by: Damian Nowak
---
lib/librte_cryptodev/rte_crypto_sym.h | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/lib/librte_cryptodev/rte_crypto_sym.h
b/lib/librte_cryptodev/rte_crypto_sym.h
index eb5afc5
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
---
app/test/test_cryptodev_aes_test_vectors.h | 223 -
1 file changed, 222 insertions(+), 1 deletion(-)
diff
This patch adds XTS capabilities and enables
XTS cipher mode on QAT.
It also updates the documentation for newly
supported AES XTS mode on QAT.
Signed-off-by: Damian Nowak
---
doc/guides/cryptodevs/features/qat.ini| 2 ++
doc/guides/cryptodevs/qat.rst | 3 ++-
doc/guides
This patchset adds XTS support for Intel
QuickAssist Technology.
Following cipher algorithms are available
with this patchset:
* AES XTS (128)
* AES XTS (256)
---
v2:
- update release notes
Damian Nowak (3):
test/crypto: add tests for XTS on QAT
crypto/qat: add XTS for QAT
QuickAssist Technology devices
(http://patchwork.dpdk.org/cover/50660/)
v3:
- add QuickAssist Technology support
v2:
- fix checkpatch issues
Damian Nowak (1):
test: new test structure for asymmetric crypto
test/test/test_cryptodev.h | 1 +
test/test/test_cryptodev_asym.c
This patch adds new test structure for modexp
and modinv for asymmetric cryptography
Signed-off-by: Damian Nowak
---
test/test/test_cryptodev.h | 1 +
test/test/test_cryptodev_asym.c | 319 +
test/test/test_cryptodev_mod_test_vectors.h | 966
This patch adds new test structure for modexp and modinv
Signed-off-by: Damian Nowak
---
v2:
- coding style improved
---
test/test/test_cryptodev_asym.c | 278 ++
test/test/test_cryptodev_mod_test_vectors.h | 954
2 files changed, 1232 insertions(+)
diff
This patch adds new test structure for modexp and modinv
Change-Id: I01de09e65565a4ab3547fbff8c9d1e5f3d2bed1f
Signed-off-by: Damian Nowak
---
test/test/test_cryptodev_asym.c | 279 ++
test/test/test_cryptodev_mod_test_vectors.h | 946
2 files changed, 1225
This patchset adds XTS support for Intel QuickAssist Technology.
Following cipher algorithms are available with this patchset:
* AES XTS (128)
* AES XTS (256)
Damian Nowak (3):
test/crypto: add tests for XTS on QAT
crypto/qat: add XTS for QAT session config
cryptodev: remove
This patch removes duplicated text about AES-XTS
mode.
Signed-off-by: Damian Nowak
---
lib/librte_cryptodev/rte_crypto_sym.h | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/lib/librte_cryptodev/rte_crypto_sym.h
b/lib/librte_cryptodev/rte_crypto_sym.h
index eb5afc5
This patch adds XTS capabilities and enables XTS cipher
mode on QAT.
It also updates the documentation for newly supported
AES XTS mode on QAT.
Signed-off-by: Damian Nowak
---
doc/guides/cryptodevs/features/qat.ini| 2 ++
doc/guides/cryptodevs/qat.rst | 3 ++-
drivers/crypto
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
---
test/test/test_cryptodev_aes_test_vectors.h | 223 +++-
1 file changed, 222 insertions(+), 1 deletion(-)
diff
This patchset adds XTS support for Intel QuickAssist Technology.
Following cipher algorithms are available with this patchset:
* AES XTS (128)
* AES XTS (256)
Damian Nowak (3):
test/crypto: add tests for XTS on QAT
crypto/qat: add XTS for QAT session config
cryptodev: remove
54 matches
Mail list logo