pkcs5_pbkdf2.h
author Ryan C. Gordon <icculus@icculus.org>
Mon, 23 Dec 2013 23:48:35 -0500
changeset 16 f5a7ede6c1f3
parent 0 d7ee4e2ed49d
permissions -rw-r--r--
Use luaFatal() if luaL_dofile() explodes.

#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 ...