ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
crypto_rekey_session_t Struct Reference

crypto rekey session is intentionally a small, concrete record. Fields such as security, send, context, activated_ns give callers the identity and current value they need. It is normally borrowed from, or owned by, the surrounding subsystem—not independently managed. More...

#include <include/ascii-chat/crypto/rekey.h>

Data Fields

crypto_record_t * security
crypto_rekey_emit_fn send
void * context
uint64_t activated_ns
uint64_t last_ns
uint64_t last_request_ns
uint64_t exchange_ns
uint64_t seen_epoch
uint64_t peer_ack
uint8_t deferred_key [CRYPTO_PUBLIC_KEY_SIZE]
bool deferred_request
bool requested
bool remote_requested
bool waiting_response
bool expecting_complete
bool markers_sent
bool ack_sent

Detailed Description

crypto rekey session is intentionally a small, concrete record. Fields such as security, send, context, activated_ns give callers the identity and current value they need. It is normally borrowed from, or owned by, the surrounding subsystem—not independently managed.

Definition at line 20 of file rekey.h.

Field Documentation

◆ ack_sent

bool crypto_rekey_session_t::ack_sent

Definition at line 27 of file rekey.h.

◆ activated_ns

uint64_t crypto_rekey_session_t::activated_ns

Definition at line 24 of file rekey.h.

Referenced by crypto_rekey_session_receive(), and crypto_rekey_session_tick().

◆ context

void* crypto_rekey_session_t::context

Definition at line 23 of file rekey.h.

◆ deferred_key

uint8_t crypto_rekey_session_t::deferred_key[CRYPTO_PUBLIC_KEY_SIZE]

Definition at line 25 of file rekey.h.

Referenced by crypto_rekey_session_receive(), and crypto_rekey_session_tick().

◆ deferred_request

bool crypto_rekey_session_t::deferred_request

Definition at line 26 of file rekey.h.

Referenced by crypto_rekey_session_receive(), and crypto_rekey_session_tick().

◆ exchange_ns

uint64_t crypto_rekey_session_t::exchange_ns

◆ expecting_complete

bool crypto_rekey_session_t::expecting_complete

Definition at line 27 of file rekey.h.

Referenced by crypto_rekey_session_receive(), and crypto_rekey_session_tick().

◆ last_ns

uint64_t crypto_rekey_session_t::last_ns

Definition at line 24 of file rekey.h.

◆ last_request_ns

uint64_t crypto_rekey_session_t::last_request_ns

Definition at line 24 of file rekey.h.

Referenced by crypto_rekey_session_tick().

◆ markers_sent

bool crypto_rekey_session_t::markers_sent

Definition at line 27 of file rekey.h.

Referenced by crypto_rekey_session_receive().

◆ peer_ack

uint64_t crypto_rekey_session_t::peer_ack

Definition at line 24 of file rekey.h.

Referenced by crypto_rekey_session_receive().

◆ remote_requested

bool crypto_rekey_session_t::remote_requested

Definition at line 27 of file rekey.h.

Referenced by crypto_rekey_session_receive(), and crypto_rekey_session_tick().

◆ requested

bool crypto_rekey_session_t::requested

◆ security

crypto_record_t* crypto_rekey_session_t::security

◆ seen_epoch

uint64_t crypto_rekey_session_t::seen_epoch

Definition at line 24 of file rekey.h.

◆ send

crypto_rekey_emit_fn crypto_rekey_session_t::send

Definition at line 22 of file rekey.h.

◆ waiting_response

bool crypto_rekey_session_t::waiting_response

Definition at line 27 of file rekey.h.

Referenced by crypto_rekey_session_receive(), and crypto_rekey_session_tick().


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