ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
include/ascii-chat/crypto/handshake/server.h
Go to the documentation of this file.
1#pragma once
2
9#include "../../common.h"
10#include "../../crypto/handshake/common.h"
11#include "../../network/acip/transport.h"
12
35
51
69 packet_type_t packet_type, const uint8_t *payload,
70 size_t payload_len);
71
88 packet_type_t packet_type, const uint8_t *payload,
89 size_t payload_len);
90
unsigned char uint8_t
Definition common.h:56
asciichat_error_t
Error and exit codes - unified status values (0-255)
Definition error_codes.h:49
packet_type_t
Network protocol packet type enumeration.
Definition packet.h:286
asciichat_error_t crypto_handshake_server_send_parameters(crypto_handshake_context_t *ctx, acip_transport_t *transport)
Server: Send CRYPTO_PARAMETERS and set handshake context sizes.
asciichat_error_t crypto_handshake_server_complete(crypto_handshake_context_t *ctx, acip_transport_t *transport, packet_type_t packet_type, const uint8_t *payload, size_t payload_len)
Server: Process auth response and complete handshake.
asciichat_error_t crypto_handshake_server_auth_challenge(crypto_handshake_context_t *ctx, acip_transport_t *transport, packet_type_t packet_type, const uint8_t *payload, size_t payload_len)
Server: Process client's public key and send auth challenge.
asciichat_error_t crypto_handshake_server_start(crypto_handshake_context_t *ctx, acip_transport_t *transport)
Server: Start crypto handshake by sending public key.
Transport instance structure.
Definition transport.h:214
Cryptographic handshake context structure.