#ifndef LC6_SSL_H #define LC6_SSL_H #include "../inc/lc6_common.h" int lc6crypto_public_encrypt( const unsigned char *data, const int data_len, const unsigned char *priv, const unsigned char *pub, unsigned char **enc_data, unsigned char **nonce); int lc6crypto_private_decrypt( const unsigned char *enc_data, const int enc_len, const unsigned char *priv, const unsigned char *pub, unsigned char **data, const unsigned char *nonce); int lc6crypto_private_encrypt( const unsigned char *data, const int data_len, const unsigned char *priv, const unsigned char *pub, unsigned char **enc_data, unsigned char **nonce); int lc6crypto_public_decrypt( const unsigned char *enc_data, const int enc_len, const unsigned char *priv, const unsigned char *pub, unsigned char **data, const unsigned char *nonce); int lc6crypto_readfile( const char *file, const unsigned char *password, unsigned char **data, int *data_len); int lc6crypto_writefile( const char *file, const unsigned char *password, const unsigned char *data, const int data_len); LC6_USER* lc6crypto_genuserkey(LC6_USER*); unsigned char* lc6crypto_hash(unsigned char*, int); void lc6crypto_random(unsigned char*, int); #endif