pkcs5_pbkdf2.h
author Ryan C. Gordon <icculus@icculus.org>
Thu, 09 Apr 2020 02:15:46 -0400
changeset 60 a0629a9e3ee6
parent 0 d7ee4e2ed49d
permissions -rw-r--r--
otp: Some base32-decoding fixes to match what Google Authenticator expects.

#ifndef _INCL_PKCS5_PBKDF2_H_
#define _INCL_PKCS5_PBKDF2_H_

#include <stdint.h>

int pkcs5_pbkdf2(const char *pass, size_t pass_len, const uint8_t *salt, size_t salt_len, uint8_t *key, size_t key_len, unsigned int rounds);

#endif

// end of pkcs5_pbkdf2.h ...