Commit Graph

316 Commits

Author SHA1 Message Date
hasufell 9256a56076
PUB-API: rename the headers, install them in ntru/ subfolder 2014-06-09 00:10:39 +02:00
hasufell 544548f6db
DOC: improve function documentation 2014-06-09 00:10:38 +02:00
hasufell 7f54d6c0f7
DOC: fix some doxygen comments 2014-06-09 00:10:38 +02:00
hasufell 063f837588
BUILD: fix install rules and doc generation
Also provide proper SONAME.
2014-06-09 00:10:38 +02:00
hasufell 07cc12f649
PUB-API: add public API headers 2014-06-09 00:10:38 +02:00
hasufell 12d9bbfa4e
STRING: add missing doxygen comment 2014-06-09 00:10:38 +02:00
hasufell 5db9b014c6
PARAMS: use forward declaration 2014-06-09 00:10:37 +02:00
hasufell cd6e477f31
ALL: add missing includes 2014-06-09 00:10:37 +02:00
hasufell f7131410bf
ALL: prefix all files with ntru_ 2014-06-09 00:10:37 +02:00
hasufell 58bf823e36
Rm obsolete file 2014-06-09 00:10:37 +02:00
hasufell 6dccef4dc9
ALL: rename context to params 2014-06-09 00:10:37 +02:00
hasufell 516b14414a
DOC: fix various doxygen comments 2014-06-09 00:10:36 +02:00
hasufell 8c5649ea24
RND: use function callback for random ints 2014-06-09 00:10:36 +02:00
hasufell e88dc81c90
RND: make random int functions public 2014-06-09 00:10:36 +02:00
hasufell 9b71469b51
RND: first try of random module
Currently only works with specifying the number
of negative and positive ones.
2014-06-09 00:10:36 +02:00
hasufell 2eb7af07dc
POLY: add null-ptr tolerant fmpz_cmp_si_n() function 2014-06-09 00:10:36 +02:00
hasufell 6199ab2505
BUILD: fix automatic toolchain detection 2014-06-09 00:10:36 +02:00
hasufell f23720fe07
ENC: rm obsolete comment 2014-06-09 00:10:35 +02:00
hasufell 81b570d9a9
POLY->ASCII: improve modularity 2014-06-09 00:10:35 +02:00
hasufell 2503fdcfa4
ASCII->POLY: split up to poly_ascii.c 2014-06-09 00:10:35 +02:00
hasufell b82126d180
ASCII->POLY: rm obsolete comments 2014-06-09 00:10:35 +02:00
hasufell a265a89a0d
ALL: use const modifiers on parameters where possible 2014-06-09 00:10:35 +02:00
hasufell 9b8b7e9129
DEC: make sure all polynomials are shifted [-q/2, q/2] 2014-06-09 00:10:35 +02:00
hasufell 87c8d9a7d5
TRAVIS: another try to fix travis build 2014-06-09 00:10:27 +02:00
hasufell d65520b6cf
TRAVIS: try to fix travis build again 2014-06-09 00:10:13 +02:00
hasufell 81dc206d23
TRAVIS: try to fix travis build 2014-06-09 00:10:03 +02:00
hasufell a79fb49cdf
BUILD: fix build with clang 2014-06-09 00:10:03 +02:00
hasufell f7f8556910
BUILD: allow to pick up CC from env 2014-06-09 00:10:03 +02:00
hasufell c7d06dc7bc
BUILD: Fix common.mk 2014-06-09 00:10:03 +02:00
hasufell 2fbeb412cf
TRAVIS: add travis.yml 2014-06-09 00:09:51 +02:00
hasufell 19a6ab89c7
KEYGEN: fix typo 2014-05-30 22:26:36 +02:00
hasufell 7f23aa2a35
ALL: fix memory leaks 2014-05-30 19:54:50 +02:00
hasufell 8871b496c2
KEYGEN: support import/export of keys 2014-05-30 19:23:45 +02:00
hasufell a42b65505a
KEYGEN: we need the pubkey unshifted 2014-05-30 19:11:57 +02:00
hasufell d6cbb73865
ASCII->POLY: fix binary support, rm obsolete logic, minor fixes 2014-05-30 18:54:51 +02:00
hasufell f7b3462dc6
POLY: consistent var naming 2014-05-30 18:42:09 +02:00
hasufell c125d48209
BUILD: update clean target 2014-05-30 18:40:42 +02:00
hasufell 82ae4a7a52
ASCII->POLY: rm redundant counter 2014-05-30 01:37:03 +02:00
hasufell 0f2f2aec06
ASCII->POLY: update doxygen comment 2014-05-29 22:16:50 +02:00
hasufell 27b20f97b7
ASCII->POLY: avoid trailing junk data 2014-05-29 22:11:05 +02:00
hasufell bdc3aad651
ENC: fix encryption
It was actually broken, since we did overwrite the
out-coefficients instead of adding to them. Fixing this
again causes the same problems as described in the
inline comment, no matter which implementation we use.
2014-05-29 16:46:35 +02:00
hasufell a050b8853a
ENC: rm redundant code 2014-05-29 00:20:16 +02:00
hasufell bb0207ba03
KEYGEN: improve error handling 2014-05-28 23:11:52 +02:00
hasufell 67ec5615c7
POLY: readability 2014-05-28 23:11:13 +02:00
hasufell 9039e47eb4
Fix README 2014-05-28 21:31:12 +02:00
hasufell 0a4270341c
Add README.md 2014-05-28 21:25:52 +02:00
hasufell 7759bff8f7
RAND: rm obsolete implementation 2014-05-28 21:19:57 +02:00
hasufell 6142381abb
BUILD: cleanup 2014-05-28 21:18:33 +02:00
hasufell 74bf318d29
Remove bundled FLINT 2014-05-28 21:18:11 +02:00
hasufell 4def114c5c
POLY: style/readability 2014-05-28 20:57:55 +02:00