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 |
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.
| uint64_t highmask |
Bits for extension types 64 through 127.
| uint64_t lowmask |
Bits for extension types 0 through 63.
| uint64_t psk_ke_mask |
Bits for extension types 128 through 191.
| uint64_t tailmask |
Bits for extension types 192 through 255 and folded higher values.