| @@ -1,6 +1,7 @@ | |||
| #ifndef LC6_SSL_H | |||
| #define LC6_SSL_H | |||
| #include <sodium.h> | |||
| #include "../inc/lc6_common.h" | |||
| int lc6crypto_init(void); | |||
| @@ -39,4 +40,7 @@ unsigned char* lc6crypto_hash(unsigned char*, int); | |||
| void lc6crypto_random(unsigned char*, int); | |||
| #define LC6_CRYPTO_HASHLEN crypto_generichash_BYTES | |||
| #define LC6_CRYPTO_HASHSIGNLEN (crypto_secretbox_NONCEBYTES+crypto_box_MACBYTES+crypto_generichash_BYTES) | |||
| #endif | |||