mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-12 19:30:04 +01:00
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@366 36d66b0a-2a48-0410-832c-cd162a569da5
16 lines
389 B
C
16 lines
389 B
C
#ifndef INCLUDED_CRYPTSETUP_LUKS_PBKDF_H
|
|
#define INCLUDED_CRYPTSETUP_LUKS_PBKDF_H
|
|
|
|
#include <stddef.h>
|
|
|
|
int PBKDF2_HMAC(const char *hash,
|
|
const char *password, size_t passwordLen,
|
|
const char *salt, size_t saltLen, unsigned int iterations,
|
|
char *dKey, size_t dKeyLen);
|
|
|
|
|
|
int PBKDF2_performance_check(const char *hash, uint64_t *iter);
|
|
int PBKDF2_HMAC_ready(const char *hash);
|
|
|
|
#endif
|