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: 1
  • uint32_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_op will 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