|
DPDK 26.11.0-rc1
|
#include <rte_cryptodev.h>
Data Fields | |
| struct rte_crypto_param_range | modlen |
| bool | pss_explicit_salt |
| uint8_t | pad_types |
| uint64_t | mgf1_hash_algos |
RSA transform capability parameters.
Used when rte_cryptodev_asymmetric_xform_capability::xform_type is RTE_CRYPTO_ASYM_XFORM_RSA. Advertises supported modulus lengths, MGF1 hash algorithms, and padding schemes.
Primary hash algorithms for RSA operations (e.g. OAEP, PSS) are reported separately via hash_algos in rte_cryptodev_asymmetric_xform_capability.
Definition at line 171 of file rte_cryptodev.h.
| struct rte_crypto_param_range modlen |
Supported RSA modulus length range, in bytes. A min, max, or increment value of 0 means no limit is imposed for that field and the PMD default applies.
Definition at line 172 of file rte_cryptodev.h.
| bool pss_explicit_salt |
Support for application-supplied RSA-PSS salt (rte_crypto_rsa_op_param::pss_salt). false (default): PMD always generates the salt internally. true: PMD accepts an application-supplied salt.
Definition at line 178 of file rte_cryptodev.h.
| uint8_t pad_types |
Bitmask of supported RSA padding schemes. Each bit corresponds to enum rte_crypto_rsa_padding_type. A value of 0 means padding capability is not reported and the PMD default may apply.
Definition at line 185 of file rte_cryptodev.h.
| uint64_t mgf1_hash_algos |
Bitmask of hash algorithms supported for MGF1 mask generation. Each bit corresponds to enum rte_crypto_auth_algorithm. Used for RSA-OAEP and RSA-PSS when MGF1 may use a digest different from the primary hash. A value of 0 means MGF1 capability is not reported and the PMD default may apply.
Definition at line 192 of file rte_cryptodev.h.