ObjFW
Loading...
Searching...
No Matches
Classes | Functions
OFPBKDF2.h File Reference
import "macros.h"

Go to the source code of this file.

Classes

struct  OFPBKDF2Parameters
 The parameters for OFPBKDF2. More...
 

Functions

void OFPBKDF2 (OFPBKDF2Parameters parameters)
 Derives a key from a password and a salt using PBKDF2.
 

Function Documentation

◆ OFPBKDF2()

void OFPBKDF2 ( OFPBKDF2Parameters parameters)
extern

Derives a key from a password and a salt using PBKDF2.

Note
This will call reset (OFHMAC) on the HMAC first, making it possible to reuse the HMAC, but also meaning all previous results from the HMAC get invalidated if they have not been copied.
Parameters
parametersThe parameters to use