DPDK  24.07.0
Data Fields
rte_cryptodev_asymmetric_xform_capability Struct Reference

#include <rte_cryptodev.h>

Data Fields

enum rte_crypto_asym_xform_type xform_type
 
uint32_t op_types
 
uint64_t hash_algos
 
struct rte_crypto_param_range modlen
 
uint8_t internal_rng
 

Detailed Description

Asymmetric Xform Crypto Capability

Examples:
examples/fips_validation/main.c.

Definition at line 163 of file rte_cryptodev.h.

Field Documentation

◆ xform_type

enum rte_crypto_asym_xform_type xform_type

Transform type: RSA/MODEXP/DH/DSA/MODINV

Definition at line 164 of file rte_cryptodev.h.

◆ op_types

uint32_t op_types

Bitmask for supported rte_crypto_asym_op_type or rte_crypto_asym_ke_type. Which enum is used is determined by the rte_crypto_asym_xform_type. For key exchange algorithms like Diffie-Hellman it is rte_crypto_asym_ke_type, for others it is rte_crypto_asym_op_type.

Definition at line 167 of file rte_cryptodev.h.

◆ modlen

struct rte_crypto_param_range modlen

Range of modulus length supported by modulus based xform. Value 0 mean implementation default

Definition at line 178 of file rte_cryptodev.h.

◆ internal_rng

uint8_t internal_rng

Availability of random number generator for Elliptic curve based xform. Value 0 means unavailable, and application should pass the required random value. Otherwise, PMD would internally compute the random number.

Definition at line 183 of file rte_cryptodev.h.

◆ hash_algos

uint64_t hash_algos

Bitmask of hash algorithms supported for op_type.

Definition at line 190 of file rte_cryptodev.h.


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