From 74ddfe65e72f022d7ebcc194d5eccf790b22fea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Pr=C3=BC=C3=9Fner?= Date: Wed, 23 Apr 2014 13:45:03 +0200 Subject: [PATCH] remodified gitignore and defined function "ntru_decrypt(..)" --- .gitignore | 2 +- src/ntru_decrypt.h | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) 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 */