26#ifndef WOLF_CRYPT_PWDBASED_H
27#define WOLF_CRYPT_PWDBASED_H
42WOLFSSL_API
int wc_PBKDF1_ex(
byte* key,
int keyLen,
byte* iv,
int ivLen,
43 const byte* passwd,
int passwdLen,
44 const byte* salt,
int saltLen,
int iterations,
45 int hashType,
void* heap);
46WOLFSSL_API
int wc_PBKDF1(
byte* output,
const byte* passwd,
int pLen,
47 const byte* salt,
int sLen,
int iterations,
int kLen,
49WOLFSSL_API
int wc_PBKDF2_ex(
byte* output,
const byte* passwd,
int pLen,
50 const byte* salt,
int sLen,
int iterations,
int kLen,
51 int typeH,
void* heap,
int devId);
52WOLFSSL_API
int wc_PBKDF2(
byte* output,
const byte* passwd,
int pLen,
53 const byte* salt,
int sLen,
int iterations,
int kLen,
55WOLFSSL_API
int wc_PKCS12_PBKDF(
byte* output,
const byte* passwd,
int pLen,
56 const byte* salt,
int sLen,
int iterations,
57 int kLen,
int typeH,
int purpose);
58WOLFSSL_API
int wc_PKCS12_PBKDF_ex(
byte* output,
const byte* passwd,
int passLen,
59 const byte* salt,
int saltLen,
int iterations,
int kLen,
60 int hashType,
int id,
void* heap);
63WOLFSSL_API
int wc_scrypt(
byte* output,
const byte* passwd,
int passLen,
64 const byte* salt,
int saltLen,
int cost,
65 int blockSize,
int parallel,
int dkLen);
66WOLFSSL_API
int wc_scrypt_ex(
byte* output,
const byte* passwd,
int passLen,
67 const byte* salt,
int saltLen, word32 iterations,
68 int blockSize,
int parallel,
int dkLen);
WOLFSSL_API int wc_PBKDF2(byte *output, const byte *passwd, int pLen, const byte *salt, int sLen, int iterations, int kLen, int typeH)
This function implements the Password Based Key Derivation Function 2 (PBKDF2), converting an input p...
Definition pwdbased.c:273
WOLFSSL_API int wc_PKCS12_PBKDF(byte *output, const byte *passwd, int pLen, const byte *salt, int sLen, int iterations, int kLen, int typeH, int purpose)
This function implements the Password Based Key Derivation Function (PBKDF) described in RFC 7292 App...
Definition pwdbased.c:341
WOLFSSL_API int wc_PBKDF1(byte *output, const byte *passwd, int pLen, const byte *salt, int sLen, int iterations, int kLen, int typeH)
This function implements the Password Based Key Derivation Function 1 (PBKDF1), converting an input p...
Definition pwdbased.c:163