rte_crypto_auth_xform - Man Page

Synopsis

#include <rte_crypto_sym​.h>

Data Fields

enum rte_crypto_auth_operation op
enum rte_crypto_auth_algorithm algo
struct key
struct iv
uint16_t digest_length

Detailed Description

Authentication / Hash transform data​.

This structure contains data relating to an authentication/hash crypto transforms​. The fields op, algo and digest_length are common to all authentication transforms and MUST be set​.

Definition at line 406 of file rte_crypto_sym​.h​.

Field Documentation

enum rte_crypto_auth_operation op

Authentication operation type

Definition at line 407 of file rte_crypto_sym​.h​.

enum rte_crypto_auth_algorithm algo

Authentication algorithm selection

Definition at line 409 of file rte_crypto_sym​.h​.

struct rte_crypto_auth_xform::[struct]​.key key

Authentication key data​. The authentication key length MUST be less than or equal to the block size of the algorithm​. It is the callers responsibility to ensure that the key length is compliant with the standard being used (for example RFC 2104, FIPS 198a)​.

struct rte_crypto_auth_xform::[struct]​.iv iv

Initialisation vector parameters

uint16_t digest_length

Length of the digest to be returned​. If the verify option is set, this specifies the length of the digest to be compared for the session​.

It is the caller's responsibility to ensure that the digest length is compliant with the hash algorithm being used​. If the value is less than the maximum length allowed by the hash, the result shall be truncated​.

Definition at line 460 of file rte_crypto_sym​.h​.

Author

Generated automatically by Doxygen for DPDK from the source code​.

Info

Version 25.11.3 DPDK