DPDK  21.08.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 109 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, and examples/l2fwd-crypto/main.c.

Definition at line 110 of file rte_cryptodev.h.

◆ algo [1/3]

authentication algorithm

Definition at line 115 of file rte_cryptodev.h.

◆ block_size

uint16_t block_size

algorithm block size

Definition at line 117 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 119 of file rte_cryptodev.h.

◆ digest_size

struct rte_crypto_param_range digest_size

digest size range

Definition at line 121 of file rte_cryptodev.h.

◆ aad_size

struct rte_crypto_param_range aad_size

Additional authentication data size range

Definition at line 123 of file rte_cryptodev.h.

◆ iv_size

struct rte_crypto_param_range iv_size

Initialisation vector data size range

Definition at line 125 of file rte_cryptodev.h.

◆ auth

struct { ... } auth

Symmetric Authentication transform capabilities

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

◆ algo [2/3]

cipher algorithm

Definition at line 130 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 138 of file rte_cryptodev.h.

◆ cipher

struct { ... } cipher

Symmetric Cipher transform capabilities

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

◆ algo [3/3]

AEAD algorithm

Definition at line 147 of file rte_cryptodev.h.


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