|
ascii-chat 0.8.38
Real-time terminal-based video chat with ASCII art conversion
|
Go to the source code of this file.
Functions | |
| asciichat_error_t | acds_identity_generate (uint8_t public_key[32], uint8_t secret_key[64]) |
| asciichat_error_t | acds_identity_load (const char *path, uint8_t public_key[32], uint8_t secret_key[64]) |
| asciichat_error_t | acds_identity_save (const char *path, const uint8_t public_key[32], const uint8_t secret_key[64]) |
| void | acds_identity_fingerprint (const uint8_t public_key[32], char fingerprint[65]) |
| asciichat_error_t | acds_identity_default_path (char *path_out, size_t path_size) |
| asciichat_error_t acds_identity_default_path | ( | char * | path_out, |
| size_t | path_size | ||
| ) |
Definition at line 121 of file identity.c.
References platform_get_config_dir(), and safe_snprintf().
Referenced by discovery_session_create().
| void acds_identity_fingerprint | ( | const uint8_t | public_key[32], |
| char | fingerprint[65] | ||
| ) |
Definition at line 104 of file identity.c.
References safe_snprintf().
Referenced by acds_main(), and discovery_session_create().
| asciichat_error_t acds_identity_generate | ( | uint8_t | public_key[32], |
| uint8_t | secret_key[64] | ||
| ) |
Definition at line 18 of file identity.c.
Referenced by acds_main(), and discovery_session_create().
| asciichat_error_t acds_identity_load | ( | const char * | path, |
| uint8_t | public_key[32], | ||
| uint8_t | secret_key[64] | ||
| ) |
Definition at line 32 of file identity.c.
References platform_fopen().
Referenced by acds_main(), and discovery_session_create().
| asciichat_error_t acds_identity_save | ( | const char * | path, |
| const uint8_t | public_key[32], | ||
| const uint8_t | secret_key[64] | ||
| ) |
Definition at line 61 of file identity.c.
References PLATFORM_MAX_PATH_LENGTH, platform_mkdir_recursive(), and platform_open().
Referenced by acds_main(), and discovery_session_create().