DPDK  17.05.2
Data Fields
rte_crypto_sym_xform Struct Reference

#include <rte_crypto_sym.h>

Data Fields

struct rte_crypto_sym_xformnext
enum rte_crypto_sym_xform_type type
struct rte_crypto_auth_xform auth
struct rte_crypto_cipher_xform cipher

Detailed Description

Symmetric crypto transform structure.

This is used to specify the crypto transforms required, multiple transforms can be chained together to specify a chain transforms such as authentication then cipher, or cipher then authentication. Each transform structure can hold a single transform, the type field is used to specify which transform is contained within the union

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

Definition at line 365 of file rte_crypto_sym.h.

Field Documentation

struct rte_crypto_sym_xform* next

next xform in chain

Examples:
examples/l2fwd-crypto/main.c.

Definition at line 366 of file rte_crypto_sym.h.

xform type

Definition at line 368 of file rte_crypto_sym.h.

struct rte_crypto_auth_xform auth

Authentication / hash xform

Definition at line 372 of file rte_crypto_sym.h.

struct rte_crypto_cipher_xform cipher

Cipher xform

Definition at line 374 of file rte_crypto_sym.h.


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