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_session Struct Reference

For crypto session, this is the live record that ties owner, mutex, records, rotation together. The owning code creates it, updates it while work is active, and releases its handles and pointed-to storage before freeing the record. More...

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

Data Fields

crypto_context_t * owner
mutex_t mutex
crypto_record_t records
crypto_rekey_session_t rotation
crypto_session_message_t messages [16]
size_t head
size_t count
asciichat_error_t failure

Detailed Description

For crypto session, this is the live record that ties owner, mutex, records, rotation together. The owning code creates it, updates it while work is active, and releases its handles and pointed-to storage before freeing the record.

Definition at line 20 of file include/ascii-chat/crypto/session.h.

Field Documentation

◆ count

size_t crypto_session::count

Definition at line 26 of file include/ascii-chat/crypto/session.h.

Referenced by acip_security_next_control().

◆ failure

asciichat_error_t crypto_session::failure

◆ head

size_t crypto_session::head

Definition at line 26 of file include/ascii-chat/crypto/session.h.

Referenced by acip_security_next_control().

◆ messages

crypto_session_message_t crypto_session::messages[16]

Definition at line 25 of file include/ascii-chat/crypto/session.h.

Referenced by acip_security_next_control().

◆ mutex

mutex_t crypto_session::mutex

◆ owner

crypto_context_t* crypto_session::owner

◆ records

◆ rotation


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