4 #include <openssl/sha.h>
\r
7 typedef struct HMAC_SHA256Context {
\r
13 HMAC_SHA256_Init(HMAC_SHA256_CTX * ctx, const void * _K, size_t Klen);
\r
16 HMAC_SHA256_Update(HMAC_SHA256_CTX * ctx, const void *in, size_t len);
\r
19 HMAC_SHA256_Final(unsigned char digest[32], HMAC_SHA256_CTX * ctx);
\r
22 PBKDF2_SHA256(const uint8_t * passwd, size_t passwdlen, const uint8_t * salt,
\r
23 size_t saltlen, uint64_t c, uint8_t * buf, size_t dkLen);
\r