~ubuntu-branches/ubuntu/maverick/cryptsetup/maverick-proposed

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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