DPDK  16.04.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
uint16_t min
uint16_t max
uint16_t increment
struct {
   uint16_t   min
   uint16_t   max
   uint16_t   increment
key_size
struct {
   uint16_t   min
   uint16_t   max
   uint16_t   increment
digest_size
struct {
   uint16_t   min
   uint16_t   max
   uint16_t   increment
aad_size
struct {
   enum rte_crypto_auth_algorithm   algo
   uint16_t   block_size
   struct {
      uint16_t   min
      uint16_t   max
      uint16_t   increment
   }   key_size
   struct {
      uint16_t   min
      uint16_t   max
      uint16_t   increment
   }   digest_size
   struct {
      uint16_t   min
      uint16_t   max
      uint16_t   increment
   }   aad_size
auth
enum rte_crypto_cipher_algorithm algo
struct {
   uint16_t   min
   uint16_t   max
   uint16_t   increment
key_size
struct {
   uint16_t   min
   uint16_t   max
   uint16_t   increment
iv_size
struct {
   enum rte_crypto_cipher_algorithm   algo
   uint16_t   block_size
   struct {
      uint16_t   min
      uint16_t   max
      uint16_t   increment
   }   key_size
   struct {
      uint16_t   min
      uint16_t   max
      uint16_t   increment
   }   iv_size
cipher

Detailed Description

Symmetric Crypto Capability

Definition at line 101 of file rte_cryptodev.h.

Field Documentation

enum rte_crypto_sym_xform_type xform_type

Transform type : Authentication / Cipher

Examples:
l2fwd-crypto/main.c.

Definition at line 102 of file rte_cryptodev.h.

authentication algorithm

Definition at line 106 of file rte_cryptodev.h.

uint16_t block_size

algorithm block size

Definition at line 109 of file rte_cryptodev.h.

uint16_t min

minimum key size

minimum digest size

minimum aad size

minimum iv size

Definition at line 111 of file rte_cryptodev.h.

uint16_t max

maximum key size

maximum digest size

maximum aad size

maximum iv size

Definition at line 112 of file rte_cryptodev.h.

uint16_t increment

if a range of sizes are supported, this parameter is used to indicate increments in byte size that are supported between the minimum and maximum

Definition at line 114 of file rte_cryptodev.h.

struct { ... } key_size

auth key size range

struct { ... } digest_size

digest size range

struct { ... } aad_size

Additional authentication data size range

struct { ... } auth

Symmetric Authentication transform capabilities

Examples:
l2fwd-crypto/main.c.

cipher algorithm

Definition at line 143 of file rte_cryptodev.h.

struct { ... } key_size

cipher key size range

struct { ... } iv_size

Initialisation vector data size range

struct { ... } cipher

Symmetric Cipher transform capabilities

Examples:
l2fwd-crypto/main.c.

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