wickr-crypto-c
|
A root key for the wickr_transport_ctx that is used to communicate the master secret for the transport communication. The root key can be converted to a set of stream keys based on direction for use in a transport. More...
#include <transport_root_key.h>
Data Fields | |
wickr_buffer_t * | secret |
wickr_cipher_t | cipher |
uint32_t | packets_per_evo_send |
uint32_t | packets_per_evo_recv |
A root key for the wickr_transport_ctx that is used to communicate the master secret for the transport communication. The root key can be converted to a set of stream keys based on direction for use in a transport.
wickr_transport_root_key::cipher |
the cipher that the root key creator has chosen to use when converting the secret into a set of stream keys
wickr_transport_root_key::packets_per_evo_recv |
the value to set for packets_per_evolution
when creating a stream key in the DECODE direction
wickr_transport_root_key::packets_per_evo_send |
the value to set for packets_per_evolution
when creating a stream key in the ENCODE direction
wickr_transport_root_key::secret |
data that represents the master secret which is cipher.key_len in size