1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00
trezor-firmware/pbkdf2.h
2013-12-09 16:25:03 +01:00

10 lines
255 B
C

#ifndef __PBKDF2_H__
#define __PBKDF2_H__
#include <stdint.h>
// salt needs to have 4 extra bytes available beyond saltlen
void pbkdf2(const uint8_t *pass, int passlen, uint8_t *salt, int saltlen, uint32_t iterations, uint8_t *key, int keylen);
#endif