DPDK 25.03.0-rc0
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
 
uint32_t op_capa [RTE_CRYPTO_ASYM_OP_LIST_END]
 

Detailed Description

Asymmetric Xform Crypto Capability

Examples
examples/fips_validation/main.c.

Definition at line 159 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 160 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.

Examples
examples/fips_validation/main.c.

Definition at line 163 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 174 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 179 of file rte_cryptodev.h.

◆ op_capa

uint32_t op_capa[RTE_CRYPTO_ASYM_OP_LIST_END]

Operation specific capabilities.

Definition at line 185 of file rte_cryptodev.h.

◆ hash_algos

uint64_t hash_algos

Bitmask of hash algorithms supported for op_type.

Definition at line 189 of file rte_cryptodev.h.


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