QSC Post Quantum Cryptographic Library 1.3.0.0 (C1)
A post quantum secure library written in Ansi C
Loading...
Searching...
No Matches
qsc_tls_extension_bitmap Struct Reference

Tracks extension types observed while parsing one TLS handshake message. More...

#include <tlsextensions.h>

Data Fields

uint64_t lowmask
uint64_t highmask
uint64_t psk_ke_mask
uint64_t tailmask

Detailed Description

Tracks extension types observed while parsing one TLS handshake message.

This structure is a compact bitmap used to detect duplicate extensions in a single TLS extension block. The TLS 1.3 extension grammar permits each extension type to appear at most once in a given message. The parser may reset this structure before parsing a message and call qsc_tls_extensions_bitmap_set() for each decoded extension type.

Field Documentation

◆ highmask

uint64_t highmask

Bits for extension types 64 through 127.

◆ lowmask

uint64_t lowmask

Bits for extension types 0 through 63.

◆ psk_ke_mask

uint64_t psk_ke_mask

Bits for extension types 128 through 191.

◆ tailmask

uint64_t tailmask

Bits for extension types 192 through 255 and folded higher values.


The documentation for this struct was generated from the following file:
  • C:/Users/stepp/Documents/Visual Studio 2022/Projects/C/QSC/QSC/tlsextensions.h