DPDK  17.02.1
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 351 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 352 of file rte_crypto_sym.h.

xform type

Definition at line 354 of file rte_crypto_sym.h.

struct rte_crypto_auth_xform auth

Authentication / hash xform

Definition at line 358 of file rte_crypto_sym.h.

struct rte_crypto_cipher_xform cipher

Cipher xform

Definition at line 360 of file rte_crypto_sym.h.


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