0f2f2aec06
ASCII->POLY: update doxygen comment
2014-05-29 22:16:50 +02:00
27b20f97b7
ASCII->POLY: avoid trailing junk data
2014-05-29 22:11:05 +02:00
67a4557487
ASCII->POLY: also allow binary data
2014-05-28 20:57:40 +02:00
f17b3fd6d0
ASCII->POLY: use malloc instead of calloc
2014-05-28 19:42:08 +02:00
0c9e53b5fb
ASCII->POLY: cosmetic cleanup
2014-05-28 19:41:51 +02:00
4440322d29
ASCII->POLY: fix broken loop
2014-05-28 19:40:39 +02:00
hasufell
593c24ff90
ASCII->POLY: fix some valgrind warnings
...
Especially uninitalized memory warnings.
2014-05-28 11:20:28 +02:00
bf192a0498
ASCII->POLY: use double base64 encoding for more entropy
2014-05-28 02:04:45 +02:00
2ec61bc87e
ALL: improve readability
2014-05-28 01:17:19 +02:00
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
e0b75b98e2
ASCII->POLY: refactor and make more modular
...
Introduced appropriate function for single polynomials
as well.
2014-05-27 01:08:17 +02:00
03d935d088
ASCII->POLY: improve doxygen comments
2014-05-26 21:59:29 +02:00
4dbfe1e663
FILE: add file subsystem and move string to ntru_string subs.
2014-05-26 21:30:42 +02:00
7a5b899825
ENC/DEC: allow encryption/decryption of strings
2014-05-26 20:59:12 +02:00
hasufell
fcb07e6d54
ASCII->POLY: readability
2014-05-26 10:56:42 +02:00
hasufell
96a36515ab
ASCII->POLY: fix possible junk data at end of string
2014-05-26 10:56:31 +02:00
e4c5094af9
ALL: improve readability
2014-05-25 23:04:22 +02:00
6aebea2cde
ASCII->POLY: improve readability
2014-05-25 22:50:39 +02:00
58e6a90881
ASCII->POLY: improve readability
2014-05-25 22:43:59 +02:00
566894b230
ASCII->POLY: add file/brief doxygen comment
2014-05-25 20:57:41 +02:00
d6a2269f2f
ASCII->POLY: simplify with macros
2014-05-25 20:57:40 +02:00
1a1f610d38
ASCII->POLY: fix array size
2014-05-25 20:57:40 +02:00
7693805741
ASCII->POLY: reimplement
2014-05-25 20:57:32 +02:00
malte
b997dc65fd
POLY->ASCII: added inline comments.
2014-05-18 18:28:39 +02:00
malte
3bf66ce274
POLY->ASCII: Added a function to get a string out of a given polynom.
2014-05-18 18:08:36 +02:00
malte
d498ddf1a8
ASCII->POLY: written a function to convert a char* string into a polynom.
...
The function returns a newly allocated poynom of the string size * 7
7 bits per ASCII symbol.
the function need to be warped so the maximal poynom is corresponding to
the NTRU context.
2014-05-18 10:28:25 +02:00