Commit Graph

15 Commits

Author SHA1 Message Date
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 52c1abe8ee
DEC: style fix 2014-05-28 20:56:57 +02:00
hasufell c48dad818e
DEC: improve error handling 2014-05-28 20:56:43 +02:00
hasufell 2ec61bc87e
ALL: improve readability 2014-05-28 01:17:19 +02:00
hasufell 9f6b7319bb
ASCII->POLY: refactor
Use base64 (via glib) instead of plain char cast.

Remove ascii_to_poly() since it's unreliable (we don't
really know how many polynomials we will need
for a string).
2014-05-28 01:09:52 +02:00
hasufell e0b75b98e2
ASCII->POLY: refactor and make more modular
Introduced appropriate function for single polynomials
as well.
2014-05-27 01:08:17 +02:00
hasufell 4dbfe1e663
FILE: add file subsystem and move string to ntru_string subs. 2014-05-26 21:30:42 +02:00
hasufell 7a5b899825
ENC/DEC: allow encryption/decryption of strings 2014-05-26 20:59:12 +02:00
hasufell e4c5094af9
ALL: improve readability 2014-05-25 23:04:22 +02:00
hasufell 3ea4006b1c
DEC: fix memory leak 2014-05-25 04:06:05 +02:00
hasufell 13b54fa7f5
DOC: add brief/file comments 2014-05-25 02:15:24 +02:00
hasufell eb8fa515b4
DOC: fix more doxygen comments 2014-05-25 01:13:34 +02:00
hasufell dda90cabcf
DEC: use a central lift after we are done 2014-05-25 01:04:30 +02:00
hasufell c075f4a0a3
ALL: Convert codebase to flint
POLY, ENC, DEC all converted. RAND will have to be revised.
2014-05-24 23:16:25 +02:00