DPDK  24.07.0
Data Fields
rte_cryptodev_symmetric_capability Struct Reference

#include <rte_cryptodev.h>

Data Fields

enum rte_crypto_sym_xform_type xform_type
 
enum rte_crypto_auth_algorithm algo
 
uint16_t block_size
 
struct rte_crypto_param_range key_size
 
struct rte_crypto_param_range digest_size
 
struct rte_crypto_param_range aad_size
 
struct rte_crypto_param_range iv_size
 
struct {
   enum rte_crypto_auth_algorithm   algo
 
   uint16_t   block_size
 
   struct rte_crypto_param_range   key_size
 
   struct rte_crypto_param_range   digest_size
 
   struct rte_crypto_param_range   aad_size
 
   struct rte_crypto_param_range   iv_size
 
auth
 
enum rte_crypto_cipher_algorithm algo
 
uint32_t dataunit_set
 
struct {
   enum rte_crypto_cipher_algorithm   algo
 
   uint16_t   block_size
 
   struct rte_crypto_param_range   key_size
 
   struct rte_crypto_param_range   iv_size
 
   uint32_t   dataunit_set
 
cipher
 
enum rte_crypto_aead_algorithm algo
 

Detailed Description

Symmetric Crypto Capability

Examples:
examples/fips_validation/fips_dev_self_test.c, and examples/fips_validation/main.c.

Definition at line 107 of file rte_cryptodev.h.

Field Documentation

◆ xform_type

enum rte_crypto_sym_xform_type xform_type

Transform type : Authentication / Cipher / AEAD

Examples:
examples/ipsec-secgw/ipsec-secgw.c, examples/ipsec-secgw/ipsec.c, and examples/l2fwd-crypto/main.c.

Definition at line 108 of file rte_cryptodev.h.

◆ algo [1/3]

authentication algorithm

Definition at line 112 of file rte_cryptodev.h.

◆ block_size

uint16_t block_size

algorithm block size

Definition at line 114 of file rte_cryptodev.h.

◆ key_size

struct rte_crypto_param_range key_size

auth key size range

cipher key size range

AEAD key size range

Definition at line 116 of file rte_cryptodev.h.

◆ digest_size

struct rte_crypto_param_range digest_size

digest size range

Definition at line 118 of file rte_cryptodev.h.

◆ aad_size

struct rte_crypto_param_range aad_size

Additional authentication data size range

Definition at line 120 of file rte_cryptodev.h.

◆ iv_size

struct rte_crypto_param_range iv_size

Initialisation vector data size range

Definition at line 122 of file rte_cryptodev.h.

◆ auth

struct { ... } auth

Symmetric Authentication transform capabilities

Examples:
examples/ipsec-secgw/ipsec-secgw.c, examples/ipsec-secgw/ipsec.c, and examples/l2fwd-crypto/main.c.

◆ algo [2/3]

cipher algorithm

Definition at line 127 of file rte_cryptodev.h.

◆ dataunit_set

uint32_t dataunit_set

Supported data-unit lengths: RTE_CRYPTO_CIPHER_DATA_UNIT_LEN_* bits or 0 for lengths defined in the algorithm standard.

Definition at line 135 of file rte_cryptodev.h.

◆ cipher

struct { ... } cipher

Symmetric Cipher transform capabilities

Examples:
examples/ipsec-secgw/ipsec-secgw.c, examples/ipsec-secgw/ipsec.c, and examples/l2fwd-crypto/main.c.

◆ algo [3/3]

AEAD algorithm

Definition at line 144 of file rte_cryptodev.h.


The documentation for this struct was generated from the following file: