⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module record

Module record 

Source
Expand description

TLS 1.3 Record Layer (RFC 8446 Section 5)

Handles record framing, fragment reassembly, and encrypted record wrapping/unwrapping for TLS 1.3.

Structs§

FragmentBuffer
Fragment reassembly buffer for handshake messages that span multiple records
RecordHeader
TLS record header (5 bytes on the wire)
TlsRecord
TLS plaintext record

Enums§

ContentType
TLS record content types (RFC 8446 Section 5.1)

Functions§

decrypt_record
Unwrap an encrypted TLS 1.3 record back to plaintext.
encrypt_record
Wrap a plaintext record into an encrypted TLS 1.3 record.