Commit Graph

278 Commits

Author SHA1 Message Date
c91f469419
DOC: random doxygen improvements 2014-06-23 17:43:12 +02:00
018e4f68e4
ERR: improve doxygen doc 2014-06-22 22:23:37 +02:00
8ca155efc0
ALL: rearrange out-parameters to consistently match flint logic 2014-06-22 22:20:07 +02:00
3310533234
ASCII->POLY: rm obsolete comments 2014-06-19 17:20:06 +02:00
d1cc3bc524
KEYGEN: add const modifiers where possible 2014-06-09 18:41:03 +02:00
56484e939a
ASCII->POLY: rm obsolete trailing NULL byte
Since we use memcpy in conjunction with a call to
get_int_to_bin_str().
2014-06-09 13:09:44 +02:00
df7386847f
DOC: improve doxygen intro pages 2014-06-09 02:17:21 +02:00
f76429b24b
DOC: fix various doxygen comments 2014-06-09 02:12:04 +02:00
4fbb63e67f
DOC: run doxygen separately for internal/external API
Also only install the external API on gh-pages.
2014-06-09 02:11:52 +02:00
ad26c67f3d
ASCII->POLY: rm obsolete assignment 2014-06-09 00:10:44 +02:00
5ff7c1bd1a
ASCII->POLY: improve performance wrt #6
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.
2014-06-09 00:10:44 +02:00
3bce63f96a
POLY: fix doxygen comment 2014-06-09 00:10:43 +02:00
b52690d88e
POLY->ASCII: cleanup, rm REALLOCs 2014-06-09 00:10:43 +02:00
7a7072675e
FILE: optimize allocation 2014-06-09 00:10:43 +02:00
9d46af710f
RND: use more appropriate error macro 2014-06-09 00:10:43 +02:00
46c93c5c7b
ENC: fix doxygen comments 2014-06-09 00:10:43 +02:00
64b2ef04f9
POLY: fix doxygen comments 2014-06-09 00:10:42 +02:00
1122dc6763
KEYGEN: fix doxygen comments 2014-06-09 00:10:42 +02:00
cffc6545ae
KEYGEN: be more verbose on error 2014-06-09 00:10:42 +02:00
edf7aaf229
ENC: be less fault tolerant 2014-06-09 00:10:42 +02:00
a35443a56a
DEC: be less fault tolerant 2014-06-09 00:10:42 +02:00
eef192f0cc
FILE: be more fault tolerant 2014-06-09 00:10:41 +02:00
44896c0cb1
ERR: add more error/warning macros 2014-06-09 00:10:40 +02:00
682b3a47d2
DOC: refactor, use dedicated doxygen folder, add Index Page 2014-06-09 00:10:39 +02:00
544548f6db
DOC: improve function documentation 2014-06-09 00:10:38 +02:00
063f837588
BUILD: fix install rules and doc generation
Also provide proper SONAME.
2014-06-09 00:10:38 +02:00
12d9bbfa4e
STRING: add missing doxygen comment 2014-06-09 00:10:38 +02:00
5db9b014c6
PARAMS: use forward declaration 2014-06-09 00:10:37 +02:00
cd6e477f31
ALL: add missing includes 2014-06-09 00:10:37 +02:00
f7131410bf
ALL: prefix all files with ntru_ 2014-06-09 00:10:37 +02:00
58bf823e36
Rm obsolete file 2014-06-09 00:10:37 +02:00
6dccef4dc9
ALL: rename context to params 2014-06-09 00:10:37 +02:00
516b14414a
DOC: fix various doxygen comments 2014-06-09 00:10:36 +02:00
8c5649ea24
RND: use function callback for random ints 2014-06-09 00:10:36 +02:00
e88dc81c90
RND: make random int functions public 2014-06-09 00:10:36 +02:00
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
2eb7af07dc
POLY: add null-ptr tolerant fmpz_cmp_si_n() function 2014-06-09 00:10:36 +02:00
f23720fe07
ENC: rm obsolete comment 2014-06-09 00:10:35 +02:00
81b570d9a9
POLY->ASCII: improve modularity 2014-06-09 00:10:35 +02:00
2503fdcfa4
ASCII->POLY: split up to poly_ascii.c 2014-06-09 00:10:35 +02:00
b82126d180
ASCII->POLY: rm obsolete comments 2014-06-09 00:10:35 +02:00
a265a89a0d
ALL: use const modifiers on parameters where possible 2014-06-09 00:10:35 +02:00
9b8b7e9129
DEC: make sure all polynomials are shifted [-q/2, q/2] 2014-06-09 00:10:35 +02:00
19a6ab89c7
KEYGEN: fix typo 2014-05-30 22:26:36 +02:00
7f23aa2a35
ALL: fix memory leaks 2014-05-30 19:54:50 +02:00
8871b496c2
KEYGEN: support import/export of keys 2014-05-30 19:23:45 +02:00
a42b65505a
KEYGEN: we need the pubkey unshifted 2014-05-30 19:11:57 +02:00
d6cbb73865
ASCII->POLY: fix binary support, rm obsolete logic, minor fixes 2014-05-30 18:54:51 +02:00
f7b3462dc6
POLY: consistent var naming 2014-05-30 18:42:09 +02:00
c125d48209
BUILD: update clean target 2014-05-30 18:40:42 +02:00