From 3157d1f06e37906fd8821d2d869c40eac0d2b38c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 1 Mar 2020 22:27:56 +0100 Subject: api: add function crypto_hash_pbkdf2 --- tests/unit/core/test-core-crypto.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/unit/core') diff --git a/tests/unit/core/test-core-crypto.cpp b/tests/unit/core/test-core-crypto.cpp index 92df917f9..9bab485e6 100644 --- a/tests/unit/core/test-core-crypto.cpp +++ b/tests/unit/core/test-core-crypto.cpp @@ -91,7 +91,7 @@ extern "C" #define WEE_CHECK_HASH_PBKDF2(__result_code, __result_hash, \ __data, __data_size, \ - __hash_subalgo, __salt, __salt_size, \ + __hash_algo, __salt, __salt_size, \ __iterations) \ if (__result_hash) \ { \ @@ -105,7 +105,7 @@ extern "C" hash_size = -1; \ LONGS_EQUAL(__result_code, \ weecrypto_hash_pbkdf2 (__data, __data_size, \ - __hash_subalgo, \ + __hash_algo, \ __salt, __salt_size, \ __iterations, \ hash, &hash_size)); \ -- cgit v1.2.3