IMP_NONCE(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’… rte_securi...ecord_xform(3) β€” from the Library Functions Manual πŸŽ€

okay so bestie, before anything else: this page lives in the Library Functions Manual, and the star of the show is rte_security_tls_record_xform. she's a struct, she's got range, and she's about to make your TLS sessions make sense. buckle up. πŸ¦‹


✨ NAME ✨

rte_security_tls_record_xform β€” literally the blueprint for setting up a TLS record security session. that's the whole vibe. 🫢


🌸 SYNOPSIS 🌸

#include <rte_security.h>

πŸŽ€ Data Fields

  • enum rte_security_tls_version ver
  • enum rte_security_tls_sess_type type
  • struct rte_security_tls_record_sess_options options
  • struct rte_security_tls_record_lifetime life

πŸ’– Detailed Description πŸ’–

TLS record protocol session configuration. periodt.

this struct holds all the data you need to actually create a TLS record security session β€” it's giving "everything you need, nothing you don't." πŸ‘‘

Definition at line 678 of file rte_security.h.

🌈 Field Documentation 🌈

πŸ’œ enum rte_security_tls_version ver

TLS record version. the receipts of which TLS you're on. ✨

Definition at line 680 of file rte_security.h.

πŸ’œ enum rte_security_tls_sess_type type

TLS record session type. she has a type, and it's this one. πŸ’…

Definition at line 682 of file rte_security.h.

πŸ’œ struct rte_security_tls_record_sess_options options

TLS record session options. all the little extras. πŸŽ€

Definition at line 684 of file rte_security.h.

πŸ’œ struct rte_security_tls_record_lifetime life

TLS record session lifetime. how long she lives her truth. 🌸

Definition at line 686 of file rte_security.h.

πŸ’œ uint64_t seq_no

Starting sequence number.

6B starting sequence number to be used. yes, 6 bytes specifically, no cap. πŸ”₯

Definition at line 691 of file rte_security.h.

πŸ’œ uint8_t imp_nonce[RTE_SECURITY_DTLS_1_2_IMP_NONCE_LEN]

Implicit nonce to be used for AEAD algos. iconic little nonce, doing nonce things for the AEAD girlies. ✨

Definition at line 693 of file rte_security.h.

πŸ’œ struct { ... } tls_1_2

TLS 1.2 parameters. the classic. the icon. πŸ‘‘

πŸ’œ uint32_t min_payload_len

Minimum payload length (in case of write sessions). For shorter inputs, the payload would be padded appropriately before performing crypto transformations.

so like β€” if your input is shorter than this, it gets padded first, and then the crypto transformations happen. order matters bestie, don't skip ahead. 🧚

Definition at line 707 of file rte_security.h.

πŸ’œ struct { ... } tls_1_3

TLS 1.3 parameters. the newer one. she ate. πŸ’…

πŸ’œ uint16_t epoch

Epoch value to be used. 🌈

Definition at line 713 of file rte_security.h.

πŸ’œ uint32_t ar_win_sz

Anti replay window size to enable sequence replay attack handling. Anti replay check is disabled if the window size is 0.

⚠️ real talk: set this to 0 and the anti replay check is straight up off. not disabled-in-a-cute-way, disabled-disabled. so maybe don't unless you mean it. πŸ’€
Definition at line 722 of file rte_security.h.

πŸ’œ struct { ... } dtls_1_2

DTLS 1.2 parameters


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. it wasn't me, it was the robot. πŸ€–πŸ’–


and that's the whole page, bestie β€” every field, every line number, every vibe intact. mwah. πŸ“

πŸ’« sign-off time: this iconic little page comes to you from DPDK, Version 26.03.0 β€” go forth and configure your TLS record sessions responsibly. 🫢✨

πŸ“¦ where this page comes from