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
hkdf.h
Go to the documentation of this file.
1
/*===-- kdf/hkdf.h -------------------------------------*- PUBLIC -*- H -*-===*/
13
/*===----------------------------------------------------------------------===*/
14
15
#ifndef ORDO_HDKF_H
16
#define ORDO_HDKF_H
17
19
#include "
ordo/common/interface.h
"
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
26
/*===----------------------------------------------------------------------===*/
27
28
#define kdf_hkdf ordo_kdf_hkdf
29
30
/*===----------------------------------------------------------------------===*/
31
63
ORDO_PUBLIC
64
int
kdf_hkdf
(
prim_t
hash,
const
void
*params,
65
const
void
*key,
size_t
key_len,
66
const
void
*salt,
size_t
salt_len,
67
const
void
*info,
size_t
info_len,
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_hkdf
ORDO_PUBLIC int kdf_hkdf(prim_t hash, const void *params, const void *key, size_t key_len, const void *salt, size_t salt_len, const void *info, size_t info_len, void *out, size_t out_len)
Definition:
hkdf.c:12
interface.h
API.
Generated on Sun Jul 27 2014 23:46:11 for Ordo by
1.8.6