|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1, v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2 |
|
| #
59e380f1 |
| 04-Nov-2021 |
Tal Shnaiderman <[email protected]> |
doc: add cryptodev table for supported operating systems
Added table to the crypto device drivers documentation stating the support of each PMD on Linux, FreeBSD and Windows.
Signed-off-by: Tal Shn
doc: add cryptodev table for supported operating systems
Added table to the crypto device drivers documentation stating the support of each PMD on Linux, FreeBSD and Windows.
Signed-off-by: Tal Shnaiderman <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
|
Revision tags: v21.11-rc1 |
|
| #
03ab51ea |
| 30-Sep-2021 |
Archana Muniganti <[email protected]> |
security: add SA config option for inner checksum
Add inner packet IPv4 hdr and L4 checksum enable options in conf. These will be used in case of protocol offload. Per SA, application could specify
security: add SA config option for inner checksum
Add inner packet IPv4 hdr and L4 checksum enable options in conf. These will be used in case of protocol offload. Per SA, application could specify whether the checksum(compute/verify) can be offloaded to security device.
Signed-off-by: Archana Muniganti <[email protected]> Acked-by: Konstantin Ananyev <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1 |
|
| #
07b0b753 |
| 13-Apr-2021 |
Matan Azrad <[email protected]> |
cryptodev: formalize key wrap method in API
The Key Wrap approach is used by applications in order to protect keys located in untrusted storage or transmitted over untrusted communications networks.
cryptodev: formalize key wrap method in API
The Key Wrap approach is used by applications in order to protect keys located in untrusted storage or transmitted over untrusted communications networks. The constructions are typically built from standard primitives such as block ciphers and cryptographic hash functions.
The Key Wrap method and its parameters are a secret between the keys provider and the device, means that the device is preconfigured for this method using very secured way.
The key wrap method may change the key length and layout.
Add a description for the cipher transformation key to allow wrapped key to be forwarded by the same API.
Add a new feature flag RTE_CRYPTODEV_FF_CIPHER_WRAPPED_KEY to be enabled by PMDs support wrapped key in cipher trasformation.
Signed-off-by: Matan Azrad <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
| #
d014dddb |
| 14-Apr-2021 |
Matan Azrad <[email protected]> |
cryptodev: support multiple cipher data-units
In cryptography, a block cipher is a deterministic algorithm operating on fixed-length groups of bits, called blocks.
A block cipher consists of two pa
cryptodev: support multiple cipher data-units
In cryptography, a block cipher is a deterministic algorithm operating on fixed-length groups of bits, called blocks.
A block cipher consists of two paired algorithms, one for encryption and the other for decryption. Both algorithms accept two inputs: an input block of size n bits and a key of size k bits; and both yield an n-bit output block. The decryption algorithm is defined to be the inverse function of the encryption.
For AES standard the block size is 16 bytes. For AES in XTS mode, the data to be encrypted\decrypted does not have to be multiple of 16B size, the unit of data is called data-unit. The data-unit size can be any size in range [16B, 2^24B], so, in this case, a data stream is divided into N amount of equal data-units and must be encrypted\decrypted in the same data-unit resolution.
For ABI compatibility reason, the size is limited to 64K (16-bit field). The new field dataunit_len is inserted in a struct padding hole, which is only 2 bytes long in 32-bit build. It could be moved and extended later during an ABI-breakage window.
The current cryptodev API doesn't allow the user to select a specific data-unit length supported by the devices. In addition, there is no definition how the IV is detected per data-unit when single operation includes more than one data-unit.
That causes applications to use single operation per data-unit even though all the data is continuous in memory what reduces datapath performance.
Add a new feature flag to support multiple data-unit sizes, called RTE_CRYPTODEV_FF_CIPHER_MULTIPLE_DATA_UNITS. Add a new field in cipher capability, called dataunit_set, where the devices can report the range of the supported data-unit sizes. Add a new cipher transformation field, called dataunit_len, where the user can select the data-unit length for all the operations.
All the new fields do not change the size of their structures, by filling some struct padding holes. They are added as exceptions in the ABI check file libabigail.abignore.
Using a bitmap to report the supported data-unit sizes capability allows the devices to report a range simply as same as the user to read it simply. also, thus sizes are usually common and probably will be shared among different devices.
Signed-off-by: Matan Azrad <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
|
Revision tags: v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2, v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2, v20.11-rc1 |
|
| #
eb7eed34 |
| 11-Oct-2020 |
Fan Zhang <[email protected]> |
cryptodev: add raw crypto datapath API
This patch adds raw data-path APIs for enqueue and dequeue operations to cryptodev. The APIs support flexible user-define enqueue and dequeue behaviors.
Signe
cryptodev: add raw crypto datapath API
This patch adds raw data-path APIs for enqueue and dequeue operations to cryptodev. The APIs support flexible user-define enqueue and dequeue behaviors.
Signed-off-by: Fan Zhang <[email protected]> Signed-off-by: Piotr Bronowski <[email protected]> Acked-by: Adam Dybkowski <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
|
Revision tags: v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2, v20.08-rc1, v20.05, v20.05-rc4, v20.05-rc3, v20.05-rc2 |
|
| #
b922dbd3 |
| 07-May-2020 |
Arek Kusztal <[email protected]> |
cryptodev: add ChaCha20-Poly1305 AEAD algorithm
This patch adds Chacha20-Poly1305 AEAD algorithm to Cryptodev.
Signed-off-by: Arek Kusztal <[email protected]> Acked-by: Fiona Trahe <fion
cryptodev: add ChaCha20-Poly1305 AEAD algorithm
This patch adds Chacha20-Poly1305 AEAD algorithm to Cryptodev.
Signed-off-by: Arek Kusztal <[email protected]> Acked-by: Fiona Trahe <[email protected]> Acked-by: Anoob Joseph <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
| #
e11bdd37 |
| 09-May-2020 |
Akhil Goyal <[email protected]> |
cryptodev: add feature flag for non-byte aligned data
Some wireless algos like SNOW, ZUC may support input data in bits which are not byte aligned. However, not all PMDs can support this requirement
cryptodev: add feature flag for non-byte aligned data
Some wireless algos like SNOW, ZUC may support input data in bits which are not byte aligned. However, not all PMDs can support this requirement. Hence added a new feature flag RTE_CRYPTODEV_FF_NON_BYTE_ALIGNED_DATA to identify which all PMDs can support non-byte aligned data.
Signed-off-by: Akhil Goyal <[email protected]> Acked-by: Fiona Trahe <[email protected]> Acked-by: Adam Dybkowski <[email protected]> Acked-by: Anoob Joseph <[email protected]>
show more ...
|
|
Revision tags: v20.05-rc1 |
|
| #
b3aaf24d |
| 16-Apr-2020 |
Pablo de Lara <[email protected]> |
cryptodev: add session-less feature flag
Add feature flag for symmetric sessionless support, so it can be checked by applications.
Signed-off-by: Pablo de Lara <[email protected]> Acke
cryptodev: add session-less feature flag
Add feature flag for symmetric sessionless support, so it can be checked by applications.
Signed-off-by: Pablo de Lara <[email protected]> Acked-by: Adam Dybkowski <[email protected]> Tested-by: Ruifeng Wang <[email protected]> Acked-by: Fiona Trahe <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
|
Revision tags: v20.02, v20.02-rc4, v20.02-rc3, v20.02-rc2 |
|
| #
7adf992f |
| 04-Feb-2020 |
Marcin Smoczynski <[email protected]> |
cryptodev: introduce CPU crypto API
Add new API allowing to process crypto operations in a synchronous manner. Operations are performed on a set of SG arrays.
Cryptodevs which allows CPU crypto ope
cryptodev: introduce CPU crypto API
Add new API allowing to process crypto operations in a synchronous manner. Operations are performed on a set of SG arrays.
Cryptodevs which allows CPU crypto operation mode have to use RTE_CRYPTODEV_FF_SYM_CPU_CRYPTO capability.
Add a helper method to easily convert mbufs to a SGL form.
Signed-off-by: Konstantin Ananyev <[email protected]> Signed-off-by: Marcin Smoczynski <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
| #
f5862ae9 |
| 05-Feb-2020 |
Thomas Monjalon <[email protected]> |
cryptodev: revert Chacha20-Poly1305 AEAD algorithm
API makes think that rte_cryptodev_info_get() cannot return a value >= 3 (RTE_CRYPTO_AEAD_LIST_END in 19.11). 20.02-rc1 was returning 3 (RTE_CRYPTO
cryptodev: revert Chacha20-Poly1305 AEAD algorithm
API makes think that rte_cryptodev_info_get() cannot return a value >= 3 (RTE_CRYPTO_AEAD_LIST_END in 19.11). 20.02-rc1 was returning 3 (RTE_CRYPTO_AEAD_CHACHA20_POLY1305). So the ABI compatibility contract was broken.
It could be solved with some function versioning, but because a lack of time, the feature is reverted for now.
This reverts following commits: - 6c9f3b347e21 ("cryptodev: add Chacha20-Poly1305 AEAD algorithm") - 2c512e64d600 ("crypto/qat: support Chacha Poly") - d55e01f579e1 ("test/crypto: add Chacha Poly cases")
Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
|
Revision tags: v20.02-rc1 |
|
| #
e98dc331 |
| 15-Jan-2020 |
Balakrishna Bhamidipati <[email protected]> |
cryptodev: support ECPM
Asymmetric crypto library is extended to add ECPM (Elliptic Curve Point Multiplication). The required xform type and op parameters are introduced.
Signed-off-by: Anoob Josep
cryptodev: support ECPM
Asymmetric crypto library is extended to add ECPM (Elliptic Curve Point Multiplication). The required xform type and op parameters are introduced.
Signed-off-by: Anoob Joseph <[email protected]> Signed-off-by: Balakrishna Bhamidipati <[email protected]> Signed-off-by: Sunila Sahu <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
| #
7bb4ea32 |
| 15-Jan-2020 |
Ayuj Verma <[email protected]> |
cryptodev: support ECDSA
Asymmetric crypto library is extended to add ECDSA. Elliptic curve xform and ECDSA op params are introduced.
Signed-off-by: Anoob Joseph <[email protected]> Signed-off-by:
cryptodev: support ECDSA
Asymmetric crypto library is extended to add ECDSA. Elliptic curve xform and ECDSA op params are introduced.
Signed-off-by: Anoob Joseph <[email protected]> Signed-off-by: Ayuj Verma <[email protected]> Signed-off-by: Sunila Sahu <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
| #
6c9f3b34 |
| 13-Jan-2020 |
Arek Kusztal <[email protected]> |
cryptodev: add Chacha20-Poly1305 AEAD algorithm
This patch adds Chacha20-Poly1305 AEAD algorithm to Cryptodev.
Signed-off-by: Arek Kusztal <[email protected]> Acked-by: Fiona Trahe <fion
cryptodev: add Chacha20-Poly1305 AEAD algorithm
This patch adds Chacha20-Poly1305 AEAD algorithm to Cryptodev.
Signed-off-by: Arek Kusztal <[email protected]> Acked-by: Fiona Trahe <[email protected]> Acked-by: Anoob Joseph <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
|
Revision tags: v19.11, v19.11-rc4, v19.11-rc3, v19.11-rc2, v19.11-rc1 |
|
| #
f2b2a449 |
| 10-Oct-2019 |
Arek Kusztal <[email protected]> |
cryptodev: add asymmetric session-less
This commit adds asymmetric session-less option to rte_crypto_asym_op. Feature flag for session-less is added to rte_cryptodev.
Signed-off-by: Arek Kusztal <a
cryptodev: add asymmetric session-less
This commit adds asymmetric session-less option to rte_crypto_asym_op. Feature flag for session-less is added to rte_cryptodev.
Signed-off-by: Arek Kusztal <[email protected]> Acked-by: Anoob Joseph <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
|
Revision tags: v19.08, v19.08-rc4, v19.08-rc3, v19.08-rc2, v19.08-rc1 |
|
| #
90197eb0 |
| 03-Jul-2019 |
Damian Nowak <[email protected]> |
cryptodev: add digest encrypted feature flag
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 d
cryptodev: add digest encrypted feature flag
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. This patch also adds information about new feature flag to the release notes.
Signed-off-by: Damian Nowak <[email protected]> Acked-by: Pablo de Lara <[email protected]> Acked-by: Fiona Trahe <[email protected]>
show more ...
|
|
Revision tags: v19.05, v19.05-rc4, v19.05-rc3, v19.05-rc2, v19.05-rc1 |
|
| #
7df9d02e |
| 03-Apr-2019 |
Fiona Trahe <[email protected]> |
doc: fix missing asymmetric crypto table
Fixes: 11e5ba72cf67 ("doc: add crypto asymmetric feature list") Cc: [email protected]
Signed-off-by: Fiona Trahe <[email protected]> Acked-by: Akhil Goyal
doc: fix missing asymmetric crypto table
Fixes: 11e5ba72cf67 ("doc: add crypto asymmetric feature list") Cc: [email protected]
Signed-off-by: Fiona Trahe <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
| #
398ba4c1 |
| 28-Mar-2019 |
Ayuj Verma <[email protected]> |
cryptodev: add RSA private key feature flag
Add feature flag to reflect RSA private key operation support using quintuple (crt) or exponent type key. if PMD support both, then it should set both.
A
cryptodev: add RSA private key feature flag
Add feature flag to reflect RSA private key operation support using quintuple (crt) or exponent type key. if PMD support both, then it should set both.
App should query cryptodev feature flag to check if Sign and Decryt with CRT keys or exponent is supported, thus call operation with relevant key type.
Signed-off-by: Ayuj Verma <[email protected]> Signed-off-by: Shally Verma <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
|
Revision tags: v19.02, v19.02-rc4, v19.02-rc3, v19.02-rc2, v19.02-rc1, v18.11, v18.11-rc5, v18.11-rc4, v18.11-rc3, v18.11-rc2, v18.11-rc1 |
|
| #
0ad08d3c |
| 21-Sep-2018 |
Anoob Joseph <[email protected]> |
doc: add cryptodev features
Adding 3DES-ECB & AES-XTS to the list of ciphers supported
Signed-off-by: Anoob Joseph <[email protected]> Acked-by: Akhil Goyal <[email protected]>
|
|
Revision tags: v18.08, v18.08-rc3, v18.08-rc2, v18.08-rc1 |
|
| #
2717246e |
| 05-Jul-2018 |
Pablo de Lara <[email protected]> |
cryptodev: replace mbuf scatter gather flag
The current mbuf scatter gatter feature flag is too ambiguous, as it is not clear if input and/or output buffers can be scatter gather mbufs or not, plus
cryptodev: replace mbuf scatter gather flag
The current mbuf scatter gatter feature flag is too ambiguous, as it is not clear if input and/or output buffers can be scatter gather mbufs or not, plus if in-place and/or out-of-place is supported.
Therefore, five new flags will replace this flag: - RTE_CRYPTODEV_FF_IN_PLACE_SGL - RTE_CRYPTODEV_FF_OOP_SGL_IN_SGL_OUT - RTE_CRYPTODEV_FF_OOP_SGL_IN_LB_OUT - RTE_CRYPTODEV_FF_OOP_LB_IN_SGL_OUT - RTE_CRYPTODEV_FF_OOP_LB_IN_LB_OUT
Signed-off-by: Pablo de Lara <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
|
Revision tags: v18.05, v18.05-rc6, v18.05-rc5, v18.05-rc4, v18.05-rc3, v18.05-rc2, v18.05-rc1 |
|
| #
4433ced9 |
| 19-Mar-2018 |
Ravi Kumar <[email protected]> |
doc: add AMD CCP guide
Signed-off-by: Ravi Kumar <[email protected]>
|
| #
6491dbbe |
| 27-Mar-2018 |
Marko Kovacevic <[email protected]> |
crypto/aesni_mb: support AES CMAC
Added support for AES CMAC hash algorithm with 128-bit key, which has been added in the v0.49 of the IPSec Multi-buffer lib.
Signed-off-by: Marko Kovacevic <marko.
crypto/aesni_mb: support AES CMAC
Added support for AES CMAC hash algorithm with 128-bit key, which has been added in the v0.49 of the IPSec Multi-buffer lib.
Signed-off-by: Marko Kovacevic <[email protected]> Acked-by: Pablo de Lara <[email protected]>
show more ...
|
|
Revision tags: v18.02, v18.02-rc4, v18.02-rc3, v18.02-rc2 |
|
| #
42c3576d |
| 22-Jan-2018 |
Akhil Goyal <[email protected]> |
doc: update feature list for cryptodevs
Signed-off-by: Akhil Goyal <[email protected]> Acked-by: Pablo de Lara <[email protected]>
|
|
Revision tags: v18.02-rc1, v17.11, v17.11-rc4, v17.11-rc3, v17.11-rc2 |
|
| #
eadb4fa1 |
| 25-Oct-2017 |
Akhil Goyal <[email protected]> |
cryptodev: support security APIs
Security ops are added to crypto device to support protocol offloaded security operations.
Signed-off-by: Akhil Goyal <[email protected]> Signed-off-by: Declan Do
cryptodev: support security APIs
Security ops are added to crypto device to support protocol offloaded security operations.
Signed-off-by: Akhil Goyal <[email protected]> Signed-off-by: Declan Doherty <[email protected]>
show more ...
|
|
Revision tags: v17.11-rc1 |
|
| #
1a4998dc |
| 21-Sep-2017 |
Pablo de Lara <[email protected]> |
crypto/openssl: support AES-CCM
Add support to AES-CCM, for 128, 192 and 256-bit keys.
Signed-off-by: Pablo de Lara <[email protected]> Acked-by: Fan Zhang <[email protected]>
|
|
Revision tags: v17.08, v17.08-rc4, v17.08-rc3, v17.08-rc2, v17.08-rc1, v17.05, v17.05-rc4, v17.05-rc3, v17.05-rc2, v17.05-rc1 |
|
| #
807418f2 |
| 23-Mar-2017 |
Pablo de Lara <[email protected]> |
doc: reformat crypto drivers overview
Follow the approach in the network devices overview, for the feature matrix, so it improves readibility and maintainability.
Signed-off-by: Pablo de Lara <pabl
doc: reformat crypto drivers overview
Follow the approach in the network devices overview, for the feature matrix, so it improves readibility and maintainability.
Signed-off-by: Pablo de Lara <[email protected]> Acked-by: John McNamara <[email protected]>
show more ...
|