|
ascii-chat 0.8.38
Real-time terminal-based video chat with ASCII art conversion
|
PCRE2-based regex patterns for cryptographic parsing. More...
Go to the source code of this file.
Functions | |
| bool | crypto_regex_match_known_hosts (const char *line, char **ip_port_out, char **key_type_out, char **hex_key_out, char **comment_out) |
| bool | crypto_regex_match_public_key (const char *line, char **base64_key_out, char **comment_out) |
| bool | crypto_regex_extract_pem_base64 (const char *file_content, char **base64_data_out) |
| bool | crypto_regex_extract_gpg_keygrip (const char *line, char **keygrip_out) |
PCRE2-based regex patterns for cryptographic parsing.
Implements regex-based parsing for SSH formats using PCRE2 with JIT compilation. Uses centralized PCRE2 singleton module for thread-safe lazy initialization.
Definition in file regex.c.
| bool crypto_regex_extract_gpg_keygrip | ( | const char * | line, |
| char ** | keygrip_out | ||
| ) |
Definition at line 267 of file regex.c.
References asciichat_pcre2_extract_named_group().
Referenced by gpg_get_public_key().
| bool crypto_regex_extract_pem_base64 | ( | const char * | file_content, |
| char ** | base64_data_out | ||
| ) |
Definition at line 227 of file regex.c.
References asciichat_pcre2_extract_named_group().
Referenced by parse_ssh_private_key().
| bool crypto_regex_match_known_hosts | ( | const char * | line, |
| char ** | ip_port_out, | ||
| char ** | key_type_out, | ||
| char ** | hex_key_out, | ||
| char ** | comment_out | ||
| ) |
Definition at line 136 of file regex.c.
References asciichat_pcre2_extract_named_group().
Referenced by check_known_host(), and check_known_host_no_identity().
| bool crypto_regex_match_public_key | ( | const char * | line, |
| char ** | base64_key_out, | ||
| char ** | comment_out | ||
| ) |
Definition at line 184 of file regex.c.
References asciichat_pcre2_extract_named_group().
Referenced by parse_ssh_ed25519_line().