Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Main Page
Related Pages
Supported Boards
Modules
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Enumerations
Data Structures
Data Structures
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
w
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerator
Related Symbols
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
_
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
►
RIOT OS
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
pbkdf2.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2019 Freie Universität Berlin
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
22
#ifndef HASHES_PBKDF2_H
23
#define HASHES_PBKDF2_H
24
25
#include "
hashes/sha256.h
"
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
36
#define PBKDF2_KEY_SIZE SHA256_DIGEST_LENGTH
37
50
void
pbkdf2_sha256
(
const
void
*password,
size_t
password_len,
51
const
void
*salt,
size_t
salt_len,
52
int
iterations,
53
uint8_t *output);
54
55
#ifdef __cplusplus
56
}
57
#endif
58
59
#endif
/* HASHES_PBKDF2_H */
pbkdf2_sha256
void pbkdf2_sha256(const void *password, size_t password_len, const void *salt, size_t salt_len, int iterations, uint8_t *output)
Create a key from a password and hash using PBKDF2.
sha256.h
Header definitions for the SHA256 hash function.
Generated on Wed Feb 19 2025 17:03:48 by
1.12.0