RTE_CRYPTODEV_ASYMMETRIC_XFORM_CAPABILITY(3)
๐ rte_cryptodev_asymmetric_xform_capability ๐
okay bestie, so this is a page from the Library Functions Manual โ specifically rte_crypto..._capability(3) โ and it's literally all about rte_cryptodev_asymmetric_xform_capability. it's a struct, it lives in DPDK's cryptodev world, and it's here to tell you what your crypto device can and cannot do with asymmetric transforms. no cap, it's giving โจspec sheet energyโจ and we're gonna read every single line of it together. ๐ซถ
๐ธ NAME ๐ธ
rte_cryptodev_asymmetric_xform_capability โ the struct that spells out which asymmetric xform stuff your crypto device supports ๐
โจ SYNOPSIS โจ
#include <rte_cryptodev.h>
๐ Data Fields ๐
enum rte_crypto_asym_xform_type xform_typeuint32_t op_typesuint64_t hash_algos
๐ Detailed Description ๐
Asymmetric Xform Crypto Capability
like. that's the whole vibe. it's the capability report card for asymmetric xforms. ๐
Definition at line 163 of file rte_cryptodev.h.
๐ Field Documentation ๐
๐ enum rte_crypto_asym_xform_type xform_type
Transform type: RSA/MODEXP/DH/DSA/MODINV
so basically which flavor of transform we're talking about. pick your fighter: RSA, MODEXP, DH, DSA, or MODINV. ๐ฅ
Definition at line 164 of file rte_cryptodev.h.
๐ uint32_t op_types
Bitmask for supported rte_crypto_asym_op_type or rte_crypto_ml_kem_op_type or rte_crypto_ml_dsa_op_type or rte_crypto_asym_ke_type.
and bestie, the way you figure out which enum is in play is โ plot twist โ it's determined by the rte_crypto_asym_xform_type. ๐ญ here's the cheat sheet:
- for key exchange algorithms like Diffie-Hellman ๐ it's
rte_crypto_asym_ke_type - for ML-KEM algorithms ๐ it's
rte_crypto_ml_kem_op_type - for ML-DSA algorithms ๐ it's
rte_crypto_ml_dsa_op_type - for everything else ๐ it's
rte_crypto_asym_op_type
Definition at line 167 of file rte_cryptodev.h.
๐ฆ struct rte_crypto_param_range modlen
Range of modulus length supported by modulus based xform. a value of 0 means the implementation default. (so like, "idk pick for me" but for math ๐งฎ)
Definition at line 181 of file rte_cryptodev.h.
๐ uint8_t internal_rng
Availability of random number generator for Elliptic curve based xform.
- value
0means unavailable, and the application should pass the required random value itself ๐ - otherwise, the PMD would internally compute the random number โจ
Definition at line 186 of file rte_cryptodev.h.
๐ uint32_t op_capa[RTE_CRYPTO_ASYM_OP_LIST_END]
Operation specific capabilities. ๐ ๏ธ
Definition at line 192 of file rte_cryptodev.h.
๐ง uint32_t mlkem_capa[RTE_CRYPTO_ML_KEM_OP_END]
Bitmask of supported ML-KEM parameter sets. ๐
Definition at line 195 of file rte_cryptodev.h.
โญ uint32_t mldsa_capa[RTE_CRYPTO_ML_DSA_OP_END]
Bitmask of supported ML-DSA parameter sets. ๐
Definition at line 198 of file rte_cryptodev.h.
๐ uint64_t hash_algos
Bitmask of hash algorithms supported for op_type. ๐งฌ
Definition at line 202 of file rte_cryptodev.h.
๐ Author ๐
Generated automatically by Doxygen for DPDK from the source code. (yes bestie, a robot wrote this and honestly? it ate. ๐ค๐ )
and that's the whole page!! mwah ๐ this was DPDK Version 25.11.3 of rte_crypto..._capability(3), so if you're reading this from a different version, go check your own build before you @ me. stay slaying, stay compiling, and remember: read the bitmask, respect the bitmask. ๐โจ
๐ฆ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 ยท BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 ยท BSD-3-Clause
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms