wickr-crypto-c

Data Fields
wickr_transport_root_key Struct Reference
Wickr_transport_root_key

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

## Detailed Description

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.

## Field Documentation

## ◆ cipher

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

## ◆ packets_per_evo_recv

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

## ◆ packets_per_evo_send

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

## ◆ secret

wickr_transport_root_key::secret

data that represents the master secret which is cipher.key_len in size

The documentation for this struct was generated from the following file:

- src/wickrcrypto/include/wickrcrypto/transport_root_key.h