1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 19:23:13 +02:00

core: add support of CRC32 algorithm in hash functions

This commit is contained in:
Sébastien Helleu
2020-02-29 21:12:13 +01:00
parent 410a5b341f
commit 7449bc8827
8 changed files with 17 additions and 0 deletions
+2
View File
@@ -66,6 +66,7 @@
c - '0')
char *string_hash_algo_string[] = {
"crc32",
"md5",
"sha1",
"sha224", "sha256", "sha384", "sha512",
@@ -73,6 +74,7 @@ char *string_hash_algo_string[] = {
NULL,
};
int string_hash_algo[] = {
GCRY_MD_CRC32,
GCRY_MD_MD5,
GCRY_MD_SHA1,
GCRY_MD_SHA224, GCRY_MD_SHA256, GCRY_MD_SHA384, GCRY_MD_SHA512,