summaryrefslogtreecommitdiff
path: root/tests/unit/core/test-core.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-03-01 14:26:24 +0100
committerSébastien Helleu <flashcode@flashtux.org>2020-03-01 14:26:24 +0100
commit1ae25914588221ece76da2d39ddece16de0c7712 (patch)
tree4cd093d55316c35dd95c56ba8402e9d9923b15a7 /tests/unit/core/test-core.h
parent3472793d24c4e4158d9d274d46eab9fff9e647ea (diff)
downloadweechat-1ae25914588221ece76da2d39ddece16de0c7712.zip
core: add function secure_hash_pbkdf2
Diffstat (limited to 'tests/unit/core/test-core.h')
-rw-r--r--tests/unit/core/test-core.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/unit/core/test-core.h b/tests/unit/core/test-core.h
index edf5bc35f..173829dfe 100644
--- a/tests/unit/core/test-core.h
+++ b/tests/unit/core/test-core.h
@@ -42,5 +42,20 @@
#define DATA_HASH_SHA3_512 "31dfb5fc8f30ac7007acddc4fce562d408706833d0d2af2" \
"e5f61a179099592927ff7d100e278406c7f98d42575001e26e153b135c21f7ef5b00c8" \
"cef93ca048d"
+#define DATA_HASH_SALT "this is a salt of 32 bytes xxxxx"
+#define DATA_HASH_PBKDF2_SHA1_1000 "85ce23c8873830df8f0a96aa82ae7d7635dad12" \
+ "7"
+#define DATA_HASH_PBKDF2_SHA1_100000 "f2c2a079007523df3a5a5c7b578073dff06ba" \
+ "49f"
+#define DATA_HASH_PBKDF2_SHA256_1000 "0eb0a795537a8c37a2d7d7e50a076e07c9a8e" \
+ "e9aa281669381af99fad198997c"
+#define DATA_HASH_PBKDF2_SHA256_100000 "b243ef60f9d9e7a6315f874053802cfb3b7" \
+ "b5a3502d47cf7fd76b3ee5661fcff"
+#define DATA_HASH_PBKDF2_SHA512_1000 "03d8e9e86f3bbe20b88a600a5aa15f8cfbee0" \
+ "a402af301e1714c25467a32489c773c71eddf5aa39f42823ecc54c9e9b015517b5f3c0" \
+ "19bae9463a2d8fe527882"
+#define DATA_HASH_PBKDF2_SHA512_100000 "286cca5521b00a7398530fbf11a570401a8" \
+ "0c901f1584cb493fcb75c49e5c30613c331ce318b34615a08be2fdcb9a3b4d3e9a5b62" \
+ "e119db6941010533cdf73d3"
#endif /* WEECHAT_TEST_UNIT_CORE_H */