summaryrefslogtreecommitdiff
path: root/src/core/wee-secure.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-09-13 15:10:19 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-09-13 15:10:19 +0200
commitef99d544fa8b968358724db6926b78bc8eed5341 (patch)
treebe0390e5b95d2a61dca91a3fbbdc4b2a9fcc7220 /src/core/wee-secure.h
parent684bfd64c6893d12b6a4f82fe61e33e7d14e0a4d (diff)
downloadweechat-ef99d544fa8b968358724db6926b78bc8eed5341.zip
core: add algorithms `sha512-224`, `sha512-256`, `sha3-*`, blake2b-*` and `blake2s-*` in option sec.crypt.hash_algo (closes #2008)
Diffstat (limited to 'src/core/wee-secure.h')
-rw-r--r--src/core/wee-secure.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/core/wee-secure.h b/src/core/wee-secure.h
index df7a8f7d0..9ea759edf 100644
--- a/src/core/wee-secure.h
+++ b/src/core/wee-secure.h
@@ -28,28 +28,9 @@
#define SECURE_DATA_PASSPHRASE_FLAG "__passphrase__"
#define SECURE_SALT_SIZE 8
-enum t_secure_config_hash_algo
-{
- SECURE_CONFIG_HASH_SHA224 = 0,
- SECURE_CONFIG_HASH_SHA256,
- SECURE_CONFIG_HASH_SHA384,
- SECURE_CONFIG_HASH_SHA512,
-};
-
-enum t_secure_config_cipher
-{
- SECURE_CONFIG_CIPHER_AES128 = 0,
- SECURE_CONFIG_CIPHER_AES192,
- SECURE_CONFIG_CIPHER_AES256,
-};
-
extern char *secure_passphrase;
extern struct t_hashtable *secure_hashtable_data;
extern struct t_hashtable *secure_hashtable_data_encrypted;
-extern char *secure_hash_algo_string[];
-extern int secure_hash_algo[];
-extern char *secure_cipher_string[];
-extern int secure_cipher[];
extern int secure_data_encrypted;
extern char *secure_decrypt_error[];