QSTP common includes and definitions.
qstp_errors qstp_kex_client_key_exchange(qstp_kex_client_state *kcs, qstp_connection_state *cns)
Run the network client version of the key exchange.
Definition kex.c:554
qstp_errors qstp_kex_server_key_exchange(qstp_kex_server_state *kss, qstp_connection_state *cns)
Run the network server version of the key exchange.
Definition kex.c:716
#define QSTP_CERTIFICATE_SERIAL_SIZE
The length of the certificate serial number field in bytes.
Definition qstp.h:536
#define QSTP_ASYMMETRIC_SIGNING_KEY_SIZE
The byte size of the asymmetric signature signing-key array (Dilithium)
Definition qstp.h:313
#define QSTP_ASYMMETRIC_VERIFICATION_KEY_SIZE
The byte size of the asymmetric signature verification-key array (Dilithium)
Definition qstp.h:319
qstp_errors
The QSTP error values.
Definition qstp.h:875
#define QSTP_CERTIFICATE_HASH_SIZE
The size in bytes of the certificate hash.
Definition qstp.h:482
The QSTP socket connection state structure.
Definition qstp.h:1081
The QSTP client state structure.
Definition kex.h:95
uint8_t verkey[QSTP_ASYMMETRIC_VERIFICATION_KEY_SIZE]
Definition kex.h:98
uint64_t expiration
Definition kex.h:99
uint8_t serial[QSTP_CERTIFICATE_SERIAL_SIZE]
Definition kex.h:97
uint8_t schash[QSTP_CERTIFICATE_HASH_SIZE]
Definition kex.h:96
The QSTP server state structure.
Definition kex.h:119
uint8_t verkey[QSTP_ASYMMETRIC_VERIFICATION_KEY_SIZE]
Definition kex.h:125
uint8_t sigkey[QSTP_ASYMMETRIC_SIGNING_KEY_SIZE]
Definition kex.h:124
uint8_t * prikey
Definition kex.h:120
uint8_t * pubkey
Definition kex.h:121
uint64_t expiration
Definition kex.h:126
uint8_t serial[QSTP_CERTIFICATE_SERIAL_SIZE]
Definition kex.h:122
uint8_t schash[QSTP_CERTIFICATE_HASH_SIZE]
Definition kex.h:123