diff --git a/.gitignore b/.gitignore index 4905720..566858b 100644 --- a/.gitignore +++ b/.gitignore @@ -20,4 +20,4 @@ latex/ src/main.c src/main -.settings/org.eclipse* \ No newline at end of file +./.settings/org.eclipse* \ No newline at end of file diff --git a/src/ntru_decrypt.h b/src/ntru_decrypt.h index 1170d0f..9da81cc 100644 --- a/src/ntru_decrypt.h +++ b/src/ntru_decrypt.h @@ -22,6 +22,9 @@ #ifndef NTRU_DECRYPT_H #define NTRU_DECRYPT_H -/*int ntru_decrypt(char* encr_msg, pb_poly private_key);*/ +#include "poly.h" +#include "context.h" + +int ntru_decrypt(char *encr_msg, pb_poly *private_key, ntru_context *context, char ** decr_msg); #endif /* NTRU_DECRYPT */