1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 16:23:14 +02:00

api: add function crypto_hash_pbkdf2

This commit is contained in:
Sébastien Helleu
2020-03-01 22:27:56 +01:00
parent 9a6a27ef58
commit 3157d1f06e
12 changed files with 293 additions and 11 deletions
+5
View File
@@ -37,6 +37,11 @@ extern int plugin_api_string_base_decode (int base, const char *from,
extern int plugin_api_crypto_hash (const void *data, int data_size,
const char *hash_algo,
void *hash, int *hash_size);
extern int plugin_api_crypto_hash_pbkdf2 (const void *data, int data_size,
const char *hash_algo,
const void *salt, int salt_size,
int iterations,
void *hash, int *hash_size);
/* config */
extern void plugin_api_config_file_option_free (struct t_config_option *option);