Commit Graph

7 Commits

Author SHA1 Message Date
03f3901b81
ENC: fix possible memory error
LZ4_compress might add a null-byte, so we have to account for that.
2014-06-28 00:47:47 +02:00
e4b6ca84e5
ENC/DEC: implement compression via lz4
This speeds up encryption/decryption considerably, but also
causes complete failure for any non-recoverable char in a message,
since the decompression will fail then.

Also remove the double base64 encode/decode.
2014-06-22 22:44:03 +02:00
8ca155efc0
ALL: rearrange out-parameters to consistently match flint logic 2014-06-22 22:20:07 +02:00
b52690d88e
POLY->ASCII: cleanup, rm REALLOCs 2014-06-09 00:10:43 +02:00
edf7aaf229
ENC: be less fault tolerant 2014-06-09 00:10:42 +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