forked from wolfSSL/wolfssl
global declaration being shadowed in pwdbased.h
This commit is contained in:
@ -33,16 +33,19 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* hashType renamed to typeH to avoid shadowing global declation here:
|
||||||
|
* wolfssl/wolfcrypt/asn.h line 173 in enum Oid_Types
|
||||||
|
*/
|
||||||
WOLFSSL_API int wc_PBKDF1(byte* output, const byte* passwd, int pLen,
|
WOLFSSL_API int wc_PBKDF1(byte* output, const byte* passwd, int pLen,
|
||||||
const byte* salt, int sLen, int iterations, int kLen,
|
const byte* salt, int sLen, int iterations, int kLen,
|
||||||
int hashType);
|
int typeH);
|
||||||
WOLFSSL_API int wc_PBKDF2(byte* output, const byte* passwd, int pLen,
|
WOLFSSL_API int wc_PBKDF2(byte* output, const byte* passwd, int pLen,
|
||||||
const byte* salt, int sLen, int iterations, int kLen,
|
const byte* salt, int sLen, int iterations, int kLen,
|
||||||
int hashType);
|
int typeH);
|
||||||
WOLFSSL_API int wc_PKCS12_PBKDF(byte* output, const byte* passwd, int pLen,
|
WOLFSSL_API int wc_PKCS12_PBKDF(byte* output, const byte* passwd, int pLen,
|
||||||
const byte* salt, int sLen, int iterations,
|
const byte* salt, int sLen, int iterations,
|
||||||
int kLen, int hashType, int purpose);
|
int kLen, int typeH, int purpose);
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
Reference in New Issue
Block a user