|
NAMErte_crypto_sym.h SYNOPSIS#include <string.h>
Data Structuresstruct rte_crypto_vec
Enumerationsenum rte_crypto_cipher_algorithm {
RTE_CRYPTO_CIPHER_NULL = 1, RTE_CRYPTO_CIPHER_3DES_CBC,
RTE_CRYPTO_CIPHER_3DES_CTR, RTE_CRYPTO_CIPHER_3DES_ECB,
RTE_CRYPTO_CIPHER_AES_CBC, RTE_CRYPTO_CIPHER_AES_CTR,
RTE_CRYPTO_CIPHER_AES_ECB, RTE_CRYPTO_CIPHER_AES_F8,
RTE_CRYPTO_CIPHER_AES_XTS, RTE_CRYPTO_CIPHER_ARC4,
RTE_CRYPTO_CIPHER_KASUMI_F8, RTE_CRYPTO_CIPHER_SNOW3G_UEA2,
RTE_CRYPTO_CIPHER_ZUC_EEA3, RTE_CRYPTO_CIPHER_DES_CBC,
RTE_CRYPTO_CIPHER_AES_DOCSISBPI,
RTE_CRYPTO_CIPHER_DES_DOCSISBPI, RTE_CRYPTO_CIPHER_SM4_ECB,
RTE_CRYPTO_CIPHER_SM4_CBC, RTE_CRYPTO_CIPHER_SM4_CTR,
RTE_CRYPTO_CIPHER_SM4_OFB, RTE_CRYPTO_CIPHER_SM4_CFB,
RTE_CRYPTO_CIPHER_SM4_XTS }
Functionsstatic void __rte_crypto_sym_op_reset (struct
rte_crypto_sym_op *op)
Variablesconst char * rte_crypto_cipher_operation_strings []
Detailed DescriptionRTE Definitions for Symmetric Cryptography Defines symmetric cipher and authentication algorithms and modes, as well as supported symmetric crypto operation combinations. Definition in file rte_crypto_sym.h. Enumeration Type Documentationenum rte_crypto_cipher_algorithmSymmetric Cipher Algorithms Note, to avoid ABI breakage across releases
Enumerator
Definition at line 120 of file rte_crypto_sym.h. enum rte_crypto_cipher_operationSymmetric Cipher Direction Enumerator
Definition at line 186 of file rte_crypto_sym.h. enum rte_crypto_auth_algorithmSymmetric Authentication / Hash Algorithms Note, to avoid ABI breakage across releases
Enumerator
Definition at line 311 of file rte_crypto_sym.h. enum rte_crypto_auth_operationSymmetric Authentication / Hash Operations Enumerator
Definition at line 390 of file rte_crypto_sym.h. enum rte_crypto_aead_algorithmSymmetric AEAD Algorithms Note, to avoid ABI breakage across releases
Enumerator
Definition at line 480 of file rte_crypto_sym.h. enum rte_crypto_aead_operationSymmetric AEAD Operations Enumerator
Definition at line 492 of file rte_crypto_sym.h. enum rte_crypto_sym_xform_typeCrypto transformation types Enumerator
Definition at line 564 of file rte_crypto_sym.h. Function Documentationstatic void __rte_crypto_sym_op_reset (struct rte_crypto_sym_op * op) [inline], [static]Reset the fields of a symmetric operation to their default values. Parameters op The crypto operation to be reset.
Definition at line 887 of file rte_crypto_sym.h. static struct rte_crypto_sym_xform * __rte_crypto_sym_op_sym_xforms_alloc (struct rte_crypto_sym_op * sym_op, void * priv_data, uint8_t nb_xforms) [inline], [static]Allocate space for symmetric crypto xforms in the private data space of the crypto operation. This also defaults the crypto xform type to RTE_CRYPTO_SYM_XFORM_NOT_SPECIFIED and configures the chaining of the xforms in the crypto operation Returns
Definition at line 904 of file rte_crypto_sym.h. static int __rte_crypto_sym_op_attach_sym_session (struct rte_crypto_sym_op * sym_op, void * sess) [inline], [static]Attach a session to a symmetric crypto operation Parameters sym_op crypto operation
sess cryptodev session Definition at line 927 of file rte_crypto_sym.h. static __rte_experimental int rte_crypto_mbuf_to_vec (const struct rte_mbuf * mb, uint32_t ofs, uint32_t len, struct rte_crypto_vec vec[], uint32_t num) [inline], [static]Converts portion of mbuf data into a vector representation. Each segment will be represented as a separate entry in vec array. Expects that provided ofs + len not to exceed mbuf's pkt_len. Parameters mb Pointer to the rte_mbuf
object.
ofs Offset within mbuf data to start with. len Length of data to represent. vec Pointer to an output array of IO vectors. num Size of an output array. Returns
Definition at line 954 of file rte_crypto_sym.h. Variable Documentationconst char* rte_crypto_cipher_operation_strings[] [extern]Cipher operation name strings const char* rte_crypto_auth_operation_strings[] [extern]Authentication operation name strings const char* rte_crypto_aead_operation_strings[] [extern]Authentication operation name strings AuthorGenerated automatically by Doxygen for DPDK from the source code.
|