DPDK
2.2.0
|
Go to the source code of this file.
Data Structures | |
struct | rte_crypto_key |
struct | rte_crypto_cipher_xform |
struct | rte_crypto_auth_xform |
struct | rte_crypto_xform |
struct | rte_crypto_op |
Functions | |
static void | __rte_crypto_op_reset (struct rte_crypto_op *op) |
static void | rte_crypto_op_attach_session (struct rte_crypto_op *op, struct rte_cryptodev_session *sess) |
RTE Cryptographic Definitions
Defines symmetric cipher and authentication algorithms and modes, as well as supported symmetric crypto operation combinations.
Definition in file rte_crypto.h.
Symmetric Cipher Algorithms
RTE_CRYPTO_CIPHER_NULL |
NULL cipher algorithm. No mode applies to the NULL algorithm. |
RTE_CRYPTO_CIPHER_3DES_CBC |
Triple DES algorithm in CBC mode |
RTE_CRYPTO_CIPHER_3DES_CTR |
Triple DES algorithm in CTR mode |
RTE_CRYPTO_CIPHER_3DES_ECB |
Triple DES algorithm in ECB mode |
RTE_CRYPTO_CIPHER_AES_CBC |
AES algorithm in CBC mode |
RTE_CRYPTO_CIPHER_AES_CCM |
AES algorithm in CCM mode. When this cipher algorithm is used the RTE_CRYPTO_AUTH_AES_CCM element of the rte_crypto_hash_algorithm enum MUST be used to set up the related rte_crypto_auth_xform structure in the session context or in the op_params of the crypto operation structure in the case of a session-less crypto operation |
RTE_CRYPTO_CIPHER_AES_CTR |
AES algorithm in Counter mode |
RTE_CRYPTO_CIPHER_AES_ECB |
AES algorithm in ECB mode |
RTE_CRYPTO_CIPHER_AES_F8 |
AES algorithm in F8 mode |
RTE_CRYPTO_CIPHER_AES_GCM |
AES algorithm in GCM mode. When this cipher algorithm is used the RTE_CRYPTO_AUTH_AES_GCM element of the rte_crypto_auth_algorithm enum MUST be used to set up the related rte_crypto_auth_setup_data structure in the session context or in the op_params of the crypto operation structure in the case of a session-less crypto operation. |
RTE_CRYPTO_CIPHER_AES_XTS |
AES algorithm in XTS mode |
RTE_CRYPTO_CIPHER_ARC4 |
(A)RC4 cipher algorithm |
RTE_CRYPTO_CIPHER_KASUMI_F8 |
Kasumi algorithm in F8 mode |
RTE_CRYPTO_CIPHER_SNOW3G_UEA2 |
SNOW3G algorithm in UEA2 mode |
RTE_CRYPTO_CIPHER_ZUC_EEA3 |
ZUC algorithm in EEA3 mode |
Definition at line 54 of file rte_crypto.h.
Symmetric Cipher Direction
RTE_CRYPTO_CIPHER_OP_ENCRYPT |
Encrypt cipher operation |
RTE_CRYPTO_CIPHER_OP_DECRYPT |
Decrypt cipher operation |
Definition at line 106 of file rte_crypto.h.
Symmetric Authentication / Hash Algorithms
Definition at line 168 of file rte_crypto.h.
Symmetric Authentication / Hash Operations
RTE_CRYPTO_AUTH_OP_VERIFY |
Verify authentication digest |
RTE_CRYPTO_AUTH_OP_GENERATE |
Generate authentication digest |
Definition at line 241 of file rte_crypto.h.
Crypto transformation types
RTE_CRYPTO_XFORM_NOT_SPECIFIED |
No xform specified |
RTE_CRYPTO_XFORM_AUTH |
Authentication xform |
RTE_CRYPTO_XFORM_CIPHER |
Cipher xform |
Definition at line 309 of file rte_crypto.h.
Crypto operation session type. This is used to specify whether a crypto operation has session structure attached for immutable parameters or if all operation information is included in the operation data structure.
RTE_CRYPTO_OP_WITH_SESSION |
Session based crypto operation |
RTE_CRYPTO_OP_SESSIONLESS |
Session-less crypto operation |
Definition at line 341 of file rte_crypto.h.
enum rte_crypto_op_status |
Status of crypto operation
Definition at line 347 of file rte_crypto.h.
|
inlinestatic |
Reset the fields of a crypto operation to their default values.
op | The crypto operation to be reset. |
Definition at line 590 of file rte_crypto.h.
|
inlinestatic |
Attach a session to a crypto operation
Definition at line 599 of file rte_crypto.h.