ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
include/ascii-chat/crypto/handshake/client.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
34 packet_type_t packet_type, const uint8_t *payload,
35 size_t payload_len);
36
54 packet_type_t packet_type, const uint8_t *payload,
55 size_t payload_len);
56
74 packet_type_t packet_type, const uint8_t *payload,
75 size_t payload_len);
76
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_client_complete(crypto_handshake_context_t *ctx, acip_transport_t *transport, packet_type_t packet_type, const uint8_t *payload, size_t payload_len)
Client: Wait for handshake complete confirmation.
asciichat_error_t crypto_handshake_client_key_exchange(crypto_handshake_context_t *ctx, acip_transport_t *transport, packet_type_t packet_type, const uint8_t *payload, size_t payload_len)
Client: Process server's public key and send our public key.
asciichat_error_t crypto_handshake_client_auth_response(crypto_handshake_context_t *ctx, acip_transport_t *transport, packet_type_t packet_type, const uint8_t *payload, size_t payload_len)
Client: Process auth challenge and send response.
Transport instance structure.
Definition transport.h:214
Cryptographic handshake context structure.