DPDK 21.11.9
|
#include <string.h>
#include <stdint.h>
#include <rte_memory.h>
#include <rte_mempool.h>
#include <rte_common.h>
#include "rte_crypto_sym.h"
Go to the source code of this file.
Data Structures | |
struct | rte_crypto_param_t |
struct | rte_crypto_rsa_priv_key_qt |
struct | rte_crypto_rsa_xform |
struct | rte_crypto_modex_xform |
struct | rte_crypto_modinv_xform |
struct | rte_crypto_dh_xform |
struct | rte_crypto_dsa_xform |
struct | rte_crypto_ec_point |
struct | rte_crypto_ec_xform |
struct | rte_crypto_mod_op_param |
struct | rte_crypto_asym_xform |
struct | rte_crypto_rsa_op_param |
struct | rte_crypto_dh_op_param |
struct | rte_crypto_dsa_op_param |
struct | rte_crypto_ecdsa_op_param |
struct | rte_crypto_ecpm_op_param |
struct | rte_crypto_asym_op |
Typedefs | |
typedef struct rte_crypto_param_t | rte_crypto_param |
Enumerations | |
enum | rte_crypto_asym_xform_type { RTE_CRYPTO_ASYM_XFORM_UNSPECIFIED = 0 , RTE_CRYPTO_ASYM_XFORM_NONE , RTE_CRYPTO_ASYM_XFORM_RSA , RTE_CRYPTO_ASYM_XFORM_DH , RTE_CRYPTO_ASYM_XFORM_DSA , RTE_CRYPTO_ASYM_XFORM_MODINV , RTE_CRYPTO_ASYM_XFORM_MODEX , RTE_CRYPTO_ASYM_XFORM_ECDSA , RTE_CRYPTO_ASYM_XFORM_ECPM , RTE_CRYPTO_ASYM_XFORM_TYPE_LIST_END } |
enum | rte_crypto_asym_op_type { RTE_CRYPTO_ASYM_OP_ENCRYPT , RTE_CRYPTO_ASYM_OP_DECRYPT , RTE_CRYPTO_ASYM_OP_SIGN , RTE_CRYPTO_ASYM_OP_VERIFY , RTE_CRYPTO_ASYM_OP_PRIVATE_KEY_GENERATE , RTE_CRYPTO_ASYM_OP_PUBLIC_KEY_GENERATE , RTE_CRYPTO_ASYM_OP_SHARED_SECRET_COMPUTE , RTE_CRYPTO_ASYM_OP_LIST_END } |
enum | rte_crypto_rsa_padding_type { RTE_CRYPTO_RSA_PADDING_NONE = 0 , RTE_CRYPTO_RSA_PADDING_PKCS1_5 , RTE_CRYPTO_RSA_PADDING_OAEP , RTE_CRYPTO_RSA_PADDING_PSS , RTE_CRYPTO_RSA_PADDING_TYPE_LIST_END } |
enum | rte_crypto_rsa_priv_key_type { RTE_RSA_KEY_TYPE_EXP , RTE_RSA_KEY_TYPE_QT } |
enum | rte_crypto_ec_group |
Variables | |
const char * | rte_crypto_asym_xform_strings [] |
const char * | rte_crypto_asym_op_strings [] |
RTE Definitions for Asymmetric Cryptography
Defines asymmetric algorithms and modes, as well as supported asymmetric crypto operations.
Definition in file rte_crypto_asym.h.
typedef struct rte_crypto_param_t rte_crypto_param |
Buffer to hold crypto params required for asym operations.
These buffers can be used for both input to PMD and output from PMD. When used for output from PMD, application has to ensure the buffer is large enough to hold the target data.
Asymmetric crypto transformation types. Each xform type maps to one asymmetric algorithm performing specific operation
Definition at line 60 of file rte_crypto_asym.h.
Asymmetric crypto operation type variants
Definition at line 104 of file rte_crypto_asym.h.
Padding types for RSA signature.
Definition at line 125 of file rte_crypto_asym.h.
RSA private key type enumeration
enumerates private key format required to perform RSA crypto transform.
Enumerator | |
---|---|
RTE_RSA_KEY_TYPE_EXP | RSA private key is an exponent |
RTE_RSA_KEY_TYPE_QT | RSA private key is in quintuple format See rte_crypto_rsa_priv_key_qt |
Definition at line 146 of file rte_crypto_asym.h.
enum rte_crypto_ec_group |
TLS named curves https://tools.ietf.org/html/rfc8422
Definition at line 338 of file rte_crypto_asym.h.
|
extern |
asym xform type name strings
|
extern |
asym operations type name strings