DKTP: Dual Key Tunneling Protocol 1.0.0.0a (A1)
A quantum secure dual-key encrypted tunneling protocol
|
Internal state for the Duplex key exchange (server-side). More...
#include <kex.h>
Data Fields | |
uint8_t | keyid [DKTP_KEYID_SIZE] |
uint8_t | schash [DKTP_HASH_SIZE] |
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 | rverkey [DKTP_ASYMMETRIC_VERIFY_KEY_SIZE] |
uint8_t | sigkey [DKTP_ASYMMETRIC_SIGNING_KEY_SIZE] |
uint8_t | verkey [DKTP_ASYMMETRIC_VERIFY_KEY_SIZE] |
uint64_t | expiration |
Internal state for the Duplex key exchange (server-side).
This structure holds the state information required by a server participating in a Duplex key exchange. It contains cryptographic parameters including key identities, session hashes, asymmetric keys, and an expiration timestamp. In addition, it includes a callback function (key_query
) that is used to retrieve the appropriate public key during the key exchange process.
uint8_t deckey[DKTP_ASYMMETRIC_DECAPSULATION_KEY_SIZE] |
The asymmetric cipher private key
uint8_t enckey[DKTP_ASYMMETRIC_ENCAPSULATION_KEY_SIZE] |
The asymmetric cipher public key
uint64_t expiration |
The expiration time, in seconds from epoch
uint8_t keyid[DKTP_KEYID_SIZE] |
The key identity string
uint8_t pssl[DKTP_SECRET_SIZE] |
The local pre-shared secret
uint8_t pssr[DKTP_SECRET_SIZE] |
The remote pre-shared secret
uint8_t rverkey[DKTP_ASYMMETRIC_VERIFY_KEY_SIZE] |
The remote asymmetric signature verification-key
uint8_t schash[DKTP_HASH_SIZE] |
The session token hash
uint8_t sigkey[DKTP_ASYMMETRIC_SIGNING_KEY_SIZE] |
The asymmetric signature signing-key
uint8_t verkey[DKTP_ASYMMETRIC_VERIFY_KEY_SIZE] |
The local asymmetric signature verification-key