Commit Graph

252 Commits

Author SHA1 Message Date
d8f95240c0
Update .gitignore 2014-05-28 01:12:01 +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
8b9134628c
STRING: improve doxygen comment 2014-05-27 01:08:52 +02:00
fd9ac4ecb8
STRING: add prints() for printing 2014-05-27 01:08:42 +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
7e7ee38404
FILE: add missing include 2014-05-26 21:41:19 +02:00
c862c83f1f
FILE: fix/add doxygen comments 2014-05-26 21:39:10 +02:00
b27170d150
FILE: rename parameter 2014-05-26 21:38:54 +02:00
ff3967f932
STRING: provide function for deleting strings 2014-05-26 21:38:39 +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
hasufell
a1bd81b2f2 Merge branch 'master' of ssh://gitlab.hasufell.de:22022/hasufell/quantumcrypto 2014-05-26 01:59:57 +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
4a07ceadcd
ALL: use uint32_t instead of unsigned int 2014-05-25 22:47:54 +02:00
58e6a90881
ASCII->POLY: improve readability 2014-05-25 22:43:59 +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
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
30b917b3be
POLY: free the array pointer as well 2014-05-25 20:57:40 +02:00
4d8b6a78e5
POLY: provide cleanup function for polynomial arrays 2014-05-25 20:57:40 +02:00
7693805741
ASCII->POLY: reimplement 2014-05-25 20:57:32 +02:00
8703e6975e
POLY: fix header inclusion 2014-05-25 19:00:36 +02:00
853fc668f5
MEM: add REALLOC macro 2014-05-25 19:00:10 +02:00
fc1ac808a2
MEM: add ntru_calloc() function 2014-05-25 18:59:58 +02:00
0048ccfe66 Merge branch 'master' into 'master'
ascii to poly and poly to ascii
2014-05-25 18:59:54 +02:00
286c300890 Merge branch 'master' into 'master'
First try of conversion to flint, plus key creation

decryption and encryption converted as well, but no idea if they work

randomisation not converted yet, needs to be revised
2014-05-25 12:01:09 +02:00
hasufell
d274a1af03 BUILD: fix UNBUNDLE, rm obsolete libtom references 2014-05-25 04:40:49 +02:00
fd0ba50c85
POLY: rework poly_new()
Don't allocate anything here, just operate on
the parameters.
2014-05-25 04:16:48 +02:00
aa01859192
KEYGEN: fix missing initialisation 2014-05-25 04:07:51 +02:00
c3eb0e52f4
KEYGEN: add deletion method 2014-05-25 04:06:24 +02:00
3ea4006b1c
DEC: fix memory leak 2014-05-25 04:06:05 +02:00
b71e4b1ce2
POLY: improve inline doc 2014-05-25 03:57:51 +02:00
3905b4aba9
POLY: improve doxygen comments 2014-05-25 03:56:39 +02:00
b604ecd915
DOC: update Doxyfile 2014-05-25 02:15:40 +02:00
13b54fa7f5
DOC: add brief/file comments 2014-05-25 02:15:24 +02:00
89447a7abb
POLY: rm obsolete doxygen comment 2014-05-25 01:48:55 +02:00
f3ac38a6c0
POLY: add print functions 2014-05-25 01:40:07 +02:00
bdb12ac175
BUILD: rm obsolete tompoly/tommath references 2014-05-25 01:36:44 +02:00
eb8fa515b4
DOC: fix more doxygen comments 2014-05-25 01:13:34 +02:00
32f2eb2295
KEYGEN: add doxygen comments 2014-05-25 01:11:56 +02:00
dda90cabcf
DEC: use a central lift after we are done 2014-05-25 01:04:30 +02:00
23d95ae992
KEYGEN: fix priv_inv key 2014-05-25 01:04:09 +02:00
8fd5a6c829
ENC: fix encryption 2014-05-25 00:58:34 +02:00
1443b11fa8
KEYGEN: fix keys 2014-05-25 00:58:22 +02:00
805559a8ca
BUILD: add keypair to build 2014-05-25 00:58:01 +02:00