hasufell
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
hasufell
8ca155efc0
ALL: rearrange out-parameters to consistently match flint logic
2014-06-22 22:20:07 +02:00
hasufell
b52690d88e
POLY->ASCII: cleanup, rm REALLOCs
2014-06-09 00:10:43 +02:00
hasufell
a35443a56a
DEC: be less fault tolerant
2014-06-09 00:10:42 +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
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
Alexander Rolfes
dd68d1a094
Merge branch 'master' of ssh://gitlab.hasufell.de:22022/pcq/quantumcrypto
...
Conflicts:
src/poly.h solved
src/ntru_decrypt.c fixed
ntru_decrypt.c used changed function heading
2014-05-13 09:51:47 +02:00
Christoph Prüßner
f8f7634c84
DEC
...
ntru_decrypt now uses pb_normalize
2014-05-12 13:49:00 +02:00
Alexander Rolfes
1412ba0d1a
CODE: Fixed missing bracket
2014-05-05 21:56:44 +02:00
Alexander Rolfes
01a08fdafa
CODE: Rename of key-Parameters
...
Renamed private_key and Fp to priv_key and priv_key_inv
2014-05-05 21:53:41 +02:00
Alexander Rolfes
dd73a662a0
DOXYGEN: Documentation of ntru_decrypt function
...
Removed unnecessary comments inside of function and wrote
a Doxygen compliant comment above the function
2014-05-05 21:51:58 +02:00
Christoph Prüßner
74a3fa88c7
moved some lines
2014-05-05 13:58:53 +02:00
Christoph Prüßner
4e6bb38260
numerous fixes
2014-05-03 17:18:23 +02:00
Christoph Prüßner
5254cf93f3
changed return type of ntru_decrypt, implemented second starmultiply,
...
fixed numerical operations to mp_operations
2014-05-03 16:02:09 +02:00
Christoph Prüßner
fa97531eac
implemented the coefficient shift into a range of -q/2 and q/2
2014-05-03 14:57:05 +02:00
Christoph Prüßner
b4a7870e97
fixed pointer arithmetical mistakes
2014-05-03 14:07:12 +02:00
Christoph Prüßner
7349c7e8be
used pb_starmultiply for the first multiplication and added p, q, N
2014-05-03 14:03:03 +02:00
Christoph Prüßner
4de50e2390
removed redundant multiplication functions
2014-05-03 13:51:00 +02:00
Christoph Prüßner
ecdc32f5e0
first implementation of "pseudocode algorithm" (ms_corourke.pdf)
2014-05-02 13:00:00 +02:00
Christoph Prüßner
9cfb19ea78
added commentary and implemented the pseudocode algorithm
...
(ms_corourke.pdf)
2014-05-02 12:18:33 +02:00
Christoph Prüßner
98bdd670d8
added ntru_decrypt function to ntru_decrypt.c
2014-04-23 13:58:57 +02:00
Christoph Prüßner
ac004e5cfe
Added the following files: ntru_decrypt.(c|h)
2014-04-23 13:19:37 +02:00