rte_crypto...m_encap_op(3)
π NAME π
rte_crypto_ml_kem_encap_op β bestie, this is the struct you reach for when you're doing PQC ML-KEM encapsulation π
β¨ SYNOPSIS β¨
#include <rte_crypto_asym.h>
π¦ Data Fields
rte_crypto_param messagerte_crypto_param ekrte_crypto_param cipherrte_crypto_param sk
πΈ DETAILED DESCRIPTION πΈ
okay so, this is the PQC ML-KEM ENCAP op β¨
It's holding all the parameters for the PQC ML-KEM encapsulation operation β the whole lil squad of things you gotta hand over before the math does its thing.
fr fr, this is defined at line 861 of the file rte_crypto_asym.h. no cap. π
π FIELD DOCUMENTATION π
π rte_crypto_param message
The message β and bestie, it's 32 bytes in length β used for randomness. it's giving entropy, but make it cute π²β¨
Definition at line 862 of file rte_crypto_asym.h.
π rte_crypto_param ek
The encapsulation key. yep, that's the one. the key that does the encapsulating, main character energy π
Definition at line 865 of file rte_crypto_asym.h.
π«§ rte_crypto_param cipher
Pointer to output data π which is, specifically:
- The computed cipher.
- Refer
rte_crypto_ml_kem_cipher_sizefor size of buffer.
bestie do NOT forget to check rte_crypto_ml_kem_cipher_size for the buffer size, i'm literally begging π
Definition at line 868 of file rte_crypto_asym.h.
π€« rte_crypto_param sk
Pointer to output data π and that output is:
- The computed shared secret key (32 bytes).
Definition at line 875 of file rte_crypto_asym.h.
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code. so iconic of it, honestly. the docs literally wrote themselves πβ¨
aaaand that's the whole vibe check, bestie π«Ά this lil page came to you straight from DPDK, version 25.11.3 π, and yeah β it's the rte_crypto...m_encap_op(3) page from the Library Functions Manual. go forth and encapsulate, you absolute legend πππ¦
π¦ 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