pkcs5_pbkdf2.h
author Ryan C. Gordon <icculus@icculus.org>
Sun, 18 Jun 2017 01:56:42 -0400
changeset 54 3d70f17a68b8
parent 0 d7ee4e2ed49d
permissions -rw-r--r--
Replaced existing HMAC-SHA1 code in pkcs5_pbkdf2.c with my new one.

Didn't realize this was already here, doh! It was a good learning experience
in any case!
#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 ...