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 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 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 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 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 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 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
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 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
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 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 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 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
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
:
- 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
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
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
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
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
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
This patch adds test cases for snow3g 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.
It also adds cases where digest is encrypted
only partially.
Signed-off-by: Damian
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
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
- 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
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
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 adds test cases for snow3g 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.
It also adds cases where digest is encrypted
only partially.
Signed-off-by: Damian
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
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
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
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 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 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
41 matches
Mail list logo