wickr-crypto-c
|
Public key exchange protected data. After a shared secret is generated using a public key with identifier 'key_id', and run through a KDF, it is used to encrypt data to be protected by the exchange and the ciphertext is stored in 'exchange_ciphertext'. More...
#include <key_exchange.h>
Data Fields | |
wickr_buffer_t * | exchange_id |
uint64_t | key_id |
wickr_cipher_result_t * | exchange_ciphertext |
Public key exchange protected data. After a shared secret is generated using a public key with identifier 'key_id', and run through a KDF, it is used to encrypt data to be protected by the exchange and the ciphertext is stored in 'exchange_ciphertext'.
wickr_key_exchange::exchange_ciphertext |
ciphered shared secret + KDF protected data
wickr_key_exchange::exchange_id |
a unique identifier to be assoiciated with the exchange to aid a recipient in finding a particular exchange within an exchange set
wickr_key_exchange::key_id |
the identifier of the recipient's public key was used to compute the key protecting 'exchange_ciphertext'. This aids a recipient in finding the particular private key they need to use to unlock 'exchange_ciphertext' upon receipt