Commit Graph

5 Commits

Author SHA1 Message Date
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
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
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
f7131410bf ALL: prefix all files with ntru_ 2014-06-09 00:10:37 +02:00