|
DKTP: Dual Key Tunneling Protocol 1.0.0.0a (A1)
A quantum secure dual-key encrypted tunneling protocol
|
The DKTP socket connection state structure. More...
#include <dktp.h>
Data Fields | |
| qsc_socket | target |
| qsc_rcs_state | rxcpr |
| qsc_rcs_state | txcpr |
| uint8_t | deckey [DKTP_ASYMMETRIC_DECAPSULATION_KEY_SIZE] |
| uint8_t | enckey [DKTP_ASYMMETRIC_ENCAPSULATION_KEY_SIZE] |
| uint8_t | pssl [DKTP_SECRET_SIZE] |
| uint8_t | pssr [DKTP_SECRET_SIZE] |
| uint8_t | sigkey [DKTP_ASYMMETRIC_SIGNING_KEY_SIZE] |
| uint8_t | verkey [DKTP_ASYMMETRIC_VERIFY_KEY_SIZE] |
| uint64_t | rxseq |
| uint64_t | txseq |
| uint32_t | cid |
| dktp_flags | exflag |
| bool | receiver |
The DKTP socket connection state structure.
| uint32_t cid |
The connections instance count
| uint8_t deckey[DKTP_ASYMMETRIC_DECAPSULATION_KEY_SIZE] |
The decasulation key storage
| uint8_t enckey[DKTP_ASYMMETRIC_ENCAPSULATION_KEY_SIZE] |
The encasulation key storage
| dktp_flags exflag |
The KEX position flag
| uint8_t pssl[DKTP_SECRET_SIZE] |
The local pre-shared secret
| uint8_t pssr[DKTP_SECRET_SIZE] |
The remote pre-shared secret
| bool receiver |
The instance was initialized in listener mode
| qsc_rcs_state rxcpr |
The receive channel cipher state
| uint64_t rxseq |
The receive channels packet sequence number
| uint8_t sigkey[DKTP_ASYMMETRIC_SIGNING_KEY_SIZE] |
The local signing key
| qsc_socket target |
The target socket structure
| qsc_rcs_state txcpr |
The transmit channel cipher state
| uint64_t txseq |
The transmit channels packet sequence number
| uint8_t verkey[DKTP_ASYMMETRIC_VERIFY_KEY_SIZE] |
The remote signature verification key