ascii-chat
0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
lib/crypto/handshake/server.h
Go to the documentation of this file.
1
#pragma once
2
9
#include "
common.h
"
10
32
asciichat_error_t
crypto_handshake_server_start
(
crypto_handshake_context_t
*ctx,
socket_t
client_socket);
33
45
asciichat_error_t
crypto_handshake_server_auth_challenge
(
crypto_handshake_context_t
*ctx,
socket_t
client_socket);
46
58
asciichat_error_t
crypto_handshake_server_complete
(
crypto_handshake_context_t
*ctx,
socket_t
client_socket);
59
asciichat_error_t
asciichat_error_t
Error and exit codes - unified status values (0-255)
Definition
error_codes.h:46
socket_t
int socket_t
Socket handle type (POSIX: int)
Definition
socket.h:50
crypto_handshake_server_complete
asciichat_error_t crypto_handshake_server_complete(crypto_handshake_context_t *ctx, socket_t client_socket)
Server: Process auth response and complete handshake.
Definition
lib/crypto/handshake/server.c:399
crypto_handshake_server_start
asciichat_error_t crypto_handshake_server_start(crypto_handshake_context_t *ctx, socket_t client_socket)
Server: Start crypto handshake by sending public key.
Definition
lib/crypto/handshake/server.c:18
crypto_handshake_server_auth_challenge
asciichat_error_t crypto_handshake_server_auth_challenge(crypto_handshake_context_t *ctx, socket_t client_socket)
Server: Process client's public key and send auth challenge.
Definition
lib/crypto/handshake/server.c:98
crypto_handshake_context_t
Cryptographic handshake context structure.
Definition
crypto/handshake/common.h:70
common.h
Common SIMD utilities and structures.
lib
crypto
handshake
server.h
Generated by
1.9.8