67a4557487
ASCII->POLY: also allow binary data
2014-05-28 20:57:40 +02:00
bf192a0498
ASCII->POLY: use double base64 encoding for more entropy
2014-05-28 02:04:45 +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
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
e4c5094af9
ALL: improve readability
2014-05-25 23:04:22 +02:00
47afca9fe6
ASCII->POLY: rename header guard
2014-05-25 20:57:41 +02:00
566894b230
ASCII->POLY: add file/brief doxygen comment
2014-05-25 20:57:41 +02:00
7693805741
ASCII->POLY: reimplement
2014-05-25 20:57:32 +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