ObjFW
Classes | Typedefs | Functions
pbkdf2.h File Reference
#import "macros.h"
Include dependency graph for pbkdf2.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  of_pbkdf2_parameters_t
 The parameters for of_pbkdf2. More...
 

Typedefs

typedef struct of_pbkdf2_parameters_t of_pbkdf2_parameters_t
 The parameters for of_pbkdf2.
 

Functions

void of_pbkdf2 (of_pbkdf2_parameters_t param)
 Derives a key from a password and a salt using PBKDF2. More...
 

Function Documentation

◆ of_pbkdf2()

void of_pbkdf2 ( of_pbkdf2_parameters_t  param)

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
paramThe parameters to use