DPDK  24.07.0
Data Fields
rte_crypto_param_t Struct Reference

#include <rte_crypto_asym.h>

Data Fields

uint8_t * data
 
rte_iova_t iova
 
size_t length
 

Detailed Description

Buffer to hold crypto params required for asym operations.

These buffers can be used for both input to PMD and output from PMD. When used for output from PMD, application has to ensure the buffer is large enough to hold the target data.

If an operation requires the PMD to generate a random number, and the device supports CSRNG, 'data' should be set to NULL. The crypto parameter in question will not be used by the PMD, as it is internally generated.

Definition at line 201 of file rte_crypto_asym.h.

Field Documentation

◆ data

uint8_t* data

pointer to buffer holding data

Examples:
examples/fips_validation/main.c.

Definition at line 202 of file rte_crypto_asym.h.

◆ iova

rte_iova_t iova

IO address of data buffer

Definition at line 204 of file rte_crypto_asym.h.

◆ length

size_t length

length of data in bytes

Examples:
examples/fips_validation/main.c.

Definition at line 206 of file rte_crypto_asym.h.


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