- Timestamp:
- Feb 7, 2019, 8:36:33 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_arm/trunk/wolfssl-3.12.2/wolfssl/wolfcrypt/pwdbased.h
r352 r372 20 20 */ 21 21 22 /*! 23 \file wolfssl/wolfcrypt/pwdbased.h 24 */ 22 25 23 26 #ifndef WOLF_CRYPT_PWDBASED_H … … 28 31 #ifndef NO_PWDBASED 29 32 30 #ifndef NO_MD531 #include <wolfssl/wolfcrypt/md5.h> /* for hash type */32 #endif33 34 #include <wolfssl/wolfcrypt/sha.h>35 33 36 34 #ifdef __cplusplus … … 42 40 * wolfssl/wolfcrypt/asn.h line 173 in enum Oid_Types 43 41 */ 42 WOLFSSL_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); 44 46 WOLFSSL_API int wc_PBKDF1(byte* output, const byte* passwd, int pLen, 45 47 const byte* salt, int sLen, int iterations, int kLen, … … 61 63 #endif 62 64 63 /* helper functions */64 WOLFSSL_LOCAL int GetDigestSize(int typeH);65 WOLFSSL_LOCAL int GetPKCS12HashSizes(int typeH, word32* v, word32* u);66 WOLFSSL_LOCAL int DoPKCS12Hash(int typeH, byte* buffer, word32 totalLen,67 byte* Ai, word32 u, int iterations);68 69 65 70 66 #ifdef __cplusplus
Note:
See TracChangeset
for help on using the changeset viewer.