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_key_exchange_state Struct Reference

Stores ephemeral client-side state for a TLS key exchange. More...

#include <tlsgroups.h>

Data Fields

qsc_tls_named_group group
uint8_t publicshare [QSC_TLS_MAX_HYBRID_CLIENT_KEYSHARE_SIZE]
size_t publicsharelen
uint8_t privatekey [QSC_TLS_MAX_PRIVATE_KEY_SIZE]
size_t privatekeylen
bool initialized

Detailed Description

Stores ephemeral client-side state for a TLS key exchange.

Field Documentation

◆ group

The active named group for the ephemeral key exchange.

◆ initialized

bool initialized

True when the state contains a valid generated key pair.

◆ privatekey

uint8_t privatekey[QSC_TLS_MAX_PRIVATE_KEY_SIZE]

Stored private or decapsulation key material.

◆ privatekeylen

size_t privatekeylen

Length of the private key material in bytes.

◆ publicshare

Encoded client key share emitted on the wire.

◆ publicsharelen

size_t publicsharelen

Length of the publicshare buffer in bytes.


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