|
ascii-chat 0.8.38
Real-time terminal-based video chat with ASCII art conversion
|
Stub implementations for crypto-related functions in WASM build. More...
Go to the source code of this file.
Functions | |
| asciichat_error_t | ed25519_verify_signature (const uint8_t public_key[32], const uint8_t *message, size_t message_len, const uint8_t signature[64], const char *gpg_key_id) |
| asciichat_error_t | ed25519_sign_message (const private_key_t *key, const uint8_t *message, size_t message_len, uint8_t signature[64]) |
| asciichat_error_t | parse_public_keys (const char *input, public_key_t *keys_out, size_t *num_keys, size_t max_keys) |
| asciichat_error_t | check_known_host (const char *server_ip, uint16_t port, const uint8_t server_key[32]) |
| asciichat_error_t | check_known_host_no_identity (const char *server_ip, uint16_t port) |
| bool | display_mitm_warning (const char *server_ip, uint16_t port, const uint8_t expected_key[32], const uint8_t received_key[32]) |
| bool | prompt_unknown_host (const char *server_ip, uint16_t port, const uint8_t server_key[32]) |
| bool | prompt_unknown_host_no_identity (const char *server_ip, uint16_t port) |
| asciichat_error_t | add_known_host (const char *server_ip, uint16_t port, const uint8_t server_key[32]) |
| const char * | get_known_hosts_path (void) |
| asciichat_error_t | prompt_password (const char *prompt_text, char *password_out, size_t password_max_len) |
Stub implementations for crypto-related functions in WASM build.
Definition in file lib/platform/wasm/stubs/crypto.c.
| asciichat_error_t add_known_host | ( | const char * | server_ip, |
| uint16_t | port, | ||
| const uint8_t | server_key[32] | ||
| ) |
Definition at line 61 of file lib/platform/wasm/stubs/crypto.c.
| asciichat_error_t check_known_host | ( | const char * | server_ip, |
| uint16_t | port, | ||
| const uint8_t | server_key[32] | ||
| ) |
Definition at line 35 of file lib/platform/wasm/stubs/crypto.c.
| asciichat_error_t check_known_host_no_identity | ( | const char * | server_ip, |
| uint16_t | port | ||
| ) |
Definition at line 40 of file lib/platform/wasm/stubs/crypto.c.
| bool display_mitm_warning | ( | const char * | server_ip, |
| uint16_t | port, | ||
| const uint8_t | expected_key[32], | ||
| const uint8_t | received_key[32] | ||
| ) |
Definition at line 45 of file lib/platform/wasm/stubs/crypto.c.
| asciichat_error_t ed25519_sign_message | ( | const private_key_t * | key, |
| const uint8_t * | message, | ||
| size_t | message_len, | ||
| uint8_t | signature[64] | ||
| ) |
Definition at line 22 of file lib/platform/wasm/stubs/crypto.c.
| asciichat_error_t ed25519_verify_signature | ( | const uint8_t | public_key[32], |
| const uint8_t * | message, | ||
| size_t | message_len, | ||
| const uint8_t | signature[64], | ||
| const char * | gpg_key_id | ||
| ) |
Definition at line 16 of file lib/platform/wasm/stubs/crypto.c.
| const char * get_known_hosts_path | ( | void | ) |
Definition at line 66 of file lib/platform/wasm/stubs/crypto.c.
| asciichat_error_t parse_public_keys | ( | const char * | input, |
| public_key_t * | keys_out, | ||
| size_t * | num_keys, | ||
| size_t | max_keys | ||
| ) |
Definition at line 29 of file lib/platform/wasm/stubs/crypto.c.
| asciichat_error_t prompt_password | ( | const char * | prompt_text, |
| char * | password_out, | ||
| size_t | password_max_len | ||
| ) |
Definition at line 72 of file lib/platform/wasm/stubs/crypto.c.
Referenced by crypto_handshake_client_auth_response().
| bool prompt_unknown_host | ( | const char * | server_ip, |
| uint16_t | port, | ||
| const uint8_t | server_key[32] | ||
| ) |
Definition at line 51 of file lib/platform/wasm/stubs/crypto.c.
| bool prompt_unknown_host_no_identity | ( | const char * | server_ip, |
| uint16_t | port | ||
| ) |
Definition at line 56 of file lib/platform/wasm/stubs/crypto.c.