diff options
Diffstat (limited to 'src/plugins/plugin-api.h')
-rw-r--r-- | src/plugins/plugin-api.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/plugin-api.h b/src/plugins/plugin-api.h index b8d377017..e266b5c69 100644 --- a/src/plugins/plugin-api.h +++ b/src/plugins/plugin-api.h @@ -38,6 +38,10 @@ extern int plugin_api_crypto_hash_pbkdf2 (const void *data, int data_size, const void *salt, int salt_size, int iterations, void *hash, int *hash_size); +extern int plugin_api_crypto_hmac (const void *key, int key_size, + const void *message, int message_size, + const char *hash_algo, + void *hash, int *hash_size); /* config */ extern void plugin_api_config_file_option_free (struct t_config_option *option); |