5 #include "../inc/lc6_common.h" 7 int lc6crypto_init(
void);
12 int lc6crypto_encrypt(
13 const unsigned char *data,
15 const unsigned char *skey,
16 const unsigned char *dkey,
17 unsigned char **enc_data,
18 unsigned char **nonce);
20 int lc6crypto_decrypt(
21 const unsigned char *enc_data,
23 const unsigned char *skey,
24 const unsigned char *dkey,
26 const unsigned char *nonce);
28 int lc6crypto_readfile(
30 const unsigned char *password,
34 int lc6crypto_writefile(
36 const unsigned char *password,
37 const unsigned char *data,
43 unsigned char* lc6crypto_hash(
unsigned char*,
int);
45 void lc6crypto_random(
unsigned char*,
int);
Definition: lc6_common.h:38
Definition: lc6_common.h:47
Definition: lc6_common.h:26