Ordo
0.3.4
Symmetric Cryptography Library
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
include
ordo
kdf
pbkdf2.h
Go to the documentation of this file.
1
/*===-- kdf/pbkdf2.h -----------------------------------*- PUBLIC -*- H -*-===*/
16
/*===----------------------------------------------------------------------===*/
17
18
#ifndef ORDO_PBKDF2_H
19
#define ORDO_PBKDF2_H
20
22
#include "
ordo/common/interface.h
"
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
29
/*===----------------------------------------------------------------------===*/
30
31
#define kdf_pbkdf2 ordo_kdf_pbkdf2
32
33
/*===----------------------------------------------------------------------===*/
34
63
ORDO_PUBLIC
64
int
kdf_pbkdf2
(
prim_t
hash,
const
void
*params,
65
const
void
*pwd,
size_t
pwd_len,
66
const
void
*salt,
size_t
salt_len,
67
uintmax_t iterations,
68
void
*out,
size_t
out_len);
69
70
/*===----------------------------------------------------------------------===*/
71
72
#ifdef __cplusplus
73
}
74
#endif
75
76
#endif
prim_t
int prim_t
Data type which holds a primitive identifier.
Definition:
identification.h:58
kdf_pbkdf2
ORDO_PUBLIC int kdf_pbkdf2(prim_t hash, const void *params, const void *pwd, size_t pwd_len, const void *salt, size_t salt_len, uintmax_t iterations, void *out, size_t out_len)
Definition:
pbkdf2.c:12
interface.h
API.
Generated on Sun Jul 27 2014 23:46:11 for Ordo by
1.8.6