5ff7c1bd1af650722a6d7fb3135b5dfc51b8c9d1
It appears that the strcat call was the culprit here and caused non-linear run-time growth of the encryption algorithm. Replacing it with memcpy fixed this.
Fun C implementation of NTRUEncrypt
Don't use this for any serious purpose, really. This is a fun implementation with the primary goal of learning.
Building
Dependencies
- FLINT (compiled with gmp and mpfr)
- glib-2.0
- pkgconfig (for the build only)
Compiling the library
Run make to build.
Installing the library
Run make install to install.
Building the documentation
Run make doc . The result will be in the doxygen/html/ subfolder.
Build Status
Languages
C
94.3%
Makefile
3.8%
Objective-C
1.4%
Shell
0.5%
