My Project
Loading...
Searching...
No Matches
pwdbased.h File Reference

Go to the source code of this file.

Functions

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 password with a concatenated salt into a more secure key, which it stores in output. It allows the user to select between SHA and MD5 as hash functions.
 
WOLFSSL_API int wc_PBKDF2_ex (byte *output, const byte *passwd, int pLen, const byte *salt, int sLen, int iterations, int kLen, int typeH, void *heap, int devId)
 
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 password with a concatenated salt into a more secure key, which it stores in output. It allows the user to select any of the supported HMAC hash functions, including: MD5, SHA, SHA256, SHA384, SHA512, and BLAKE2B.
 
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 Appendix B. This function converts an input password with a concatenated salt into a more secure key, which it stores in output. It allows the user to select any of the supported HMAC hash functions, including: MD5, SHA, SHA256, SHA384, SHA512, and BLAKE2B.
 
WOLFSSL_API int wc_PKCS12_PBKDF_ex (byte *output, const byte *passwd, int passLen, const byte *salt, int saltLen, int iterations, int kLen, int hashType, int id, void *heap)
 
WOLFSSL_API int wc_scrypt (byte *output, const byte *passwd, int passLen, const byte *salt, int saltLen, int cost, int blockSize, int parallel, int dkLen)
 
WOLFSSL_API int wc_scrypt_ex (byte *output, const byte *passwd, int passLen, const byte *salt, int saltLen, word32 iterations, int blockSize, int parallel, int dkLen)
 

Variables

 C
 

Variable Documentation

◆ C

C
extern
Initial value:
{
#endif
WOLFSSL_API int wc_PBKDF1_ex(byte* key, int keyLen, byte* iv, int ivLen,
const byte* passwd, int passwdLen,
const byte* salt, int saltLen, int iterations,
int hashType, void* heap)