pkcs5_pbkdf2.h
author Ryan C. Gordon <icculus@icculus.org>
Sun, 18 Jun 2017 01:57:23 -0400
changeset 55 0aaf56a96d21
parent 0 d7ee4e2ed49d
permissions -rw-r--r--
Added initial code for producing time-based One Time Passwords.
icculus@0
     1
#ifndef _INCL_PKCS5_PBKDF2_H_
icculus@0
     2
#define _INCL_PKCS5_PBKDF2_H_
icculus@0
     3
icculus@0
     4
#include <stdint.h>
icculus@0
     5
icculus@0
     6
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);
icculus@0
     7
icculus@0
     8
#endif
icculus@0
     9
icculus@0
    10
// end of pkcs5_pbkdf2.h ...
icculus@0
    11