rte_securi...ss_options(3)
π NAME π
rte_security_tls_record_sess_options β it's a struct, bestie, and it holds the TLS record session options. Manual name is Library Functions Manual, section 3, so yeah, we're deep in the C library archives and it's cozy in here π«Ά
β¨ SYNOPSIS β¨
Pull it in like this, no cap:
#include <rte_security.h>
πΈ Data Fields πΈ
These are the two little bitfields living inside, both one bit wide because we're β¨ efficient β¨:
uint32_t iv_gen_disable: 1uint32_t extra_padding_enable: 1
π Detailed Description π
TLS record session options. That's the whole vibe β it's the options struct for a TLS record session.
Definition at line 629 of file rte_security.h.
π Field Documentation π
uint32_t iv_gen_disable
Disable IV generation in PMD. Yes queen, you get to choose who makes the IV π
- 1: Disable IV generation in PMD. When it's disabled, the IV provided in
rte_crypto_opwill be used by the PMD. So you bring the IV, bestie. - 0: Enable IV generation in PMD. When it's enabled, a PMD generated random value would be used, and the application is not required to provide IV. Let the PMD cook π₯
Definition at line 638 of file rte_security.h.
uint32_t extra_padding_enable
Enable extra padding. Okay so this one is lowkey iconic because it's about ~privacy~ π¦
TLS allows the user to pad the plain text to hide the actual size of the record. This is required to achieve traffic flow confidentiality in case of TLS/DTLS flows. And no, it's not the same as the default padding β this padding is in addition to the default padding performed by PMD (which ensures ciphertext is aligned to block size). Two separate paddings, both doing their thing, we love a layered queen π
On supported devices, the application may pass the required additional padding via the rte_crypto_op.aux_flags field. Yes, that's where it goes.
- 1: Enable extra padding of the plain text provided. The extra padding value would be read from
rte_crypto_op.aux_flags. So make sure you actually put something there, or it's giving void β¨ - 0: Disable extra padding. Simple. Clean. No extra fluff (literally).
Definition at line 654 of file rte_security.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. Not a human, just a very diligent robot doing its little documentation tasks π
That's the whole page, bestie! π This was DPDK, Version 25.11.3, and the manual is rte_securi...ss_options(3) β go forth and configure your TLS record sessions with main character energy, mwah ππ
π¦
π¦ 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