|
SKDP: Symmetric Key Distribution Protocol 1.1.0.0 (A1)
Encrypted tunneling protocol using pre-shared keys
|
The SKDP server state structure. More...
#include <skdpserver.h>
Data Fields | |
| qsc_rcs_state | rxcpr |
| qsc_rcs_state | txcpr |
| uint8_t | did [SKDP_KID_SIZE] |
| uint8_t | dsh [SKDP_STH_SIZE] |
| uint8_t | kid [SKDP_KID_SIZE] |
| uint8_t | ssh [SKDP_STH_SIZE] |
| uint8_t | sdk [SKDP_SDK_SIZE] |
| uint64_t | expiration |
| uint64_t | rxseq |
| uint64_t | txseq |
| skdp_flags | exflag |
The SKDP server state structure.
This structure maintains the state of an SKDP server connection during the key exchange and secure communication session. It includes the cipher states for both the receive and transmit channels, identity and session hashes, as well as the server derivation key. The structure also holds expiration information and packet sequence numbers for both receiving and transmitting messages. The exflag field indicates the current position within the key exchange process.
| uint8_t did[SKDP_KID_SIZE] |
The device identity string
| uint8_t dsh[SKDP_STH_SIZE] |
The device session hash
| skdp_flags exflag |
The key exchange (kex) position flag
| uint64_t expiration |
The expiration time, in seconds from epoch
| uint8_t kid[SKDP_KID_SIZE] |
The key identity string
| qsc_rcs_state rxcpr |
The receive channel cipher state
| uint64_t rxseq |
The receive channel packet sequence number
| uint8_t sdk[SKDP_SDK_SIZE] |
The server derivation key
| uint8_t ssh[SKDP_STH_SIZE] |
The server session hash
| qsc_rcs_state txcpr |
The transmit channel cipher state
| uint64_t txseq |
The transmit channel packet sequence number