Merge branch 'vendor/TNFTP'
[dragonfly.git] / contrib / cryptsetup / luks / pbkdf.h
1 #ifndef INCLUDED_CRYPTSETUP_LUKS_PBKDF_H
2 #define INCLUDED_CRYPTSETUP_LUKS_PBKDF_H
3
4 #include <stddef.h>
5
6 /* */
7
8 int PBKDF2_HMAC(const char *hash,
9                 const char *password, size_t passwordLen,
10                 const char *salt, size_t saltLen, unsigned int iterations,
11                 char *dKey, size_t dKeyLen);
12
13
14 int PBKDF2_performance_check(const char *hash, uint64_t *iter);
15 int PBKDF2_HMAC_ready(const char *hash);
16
17 #endif