1
0
mirror of https://github.com/biergaizi/codecrypt synced 2024-06-27 09:18:16 +00:00
Commit Graph

389 Commits

Author SHA1 Message Date
Mirek Kratochvil
a4ce9019e9 papers: sphincs 2015-12-05 18:56:07 +01:00
Mirek Kratochvil
5b2bc564d1 iohelpers: forgotten styleup 2015-12-05 18:55:09 +01:00
Mirek Kratochvil
dabb8fe1a1 prevent mangling user output by correct escapes
+ some code cleaning
2015-12-05 18:34:50 +01:00
Mirek Kratochvil
1d2197ca02 symkey: change default key size to 512 bits 2015-12-05 18:31:36 +01:00
Mirek Kratochvil
bad79f05a0 mce_qcmdpc: code cleaniness 2015-11-17 17:07:05 +01:00
Mirek Kratochvil
aaa8c9ae9d cleaned-up version bump 2015-11-15 20:43:30 +01:00
Mirek Kratochvil
de4ee8aa39 algos_enc: fixup the padding for non-byte-aligned keys 2015-11-15 20:38:30 +01:00
Mirek Kratochvil
78a00ae3ce mce_qcmdpc: implement faster decoding
This replaces the periodic recalculation of error correlations and the syndrome
by in-place modification. Bit flip is therefore a bit slower, but overall
decoding of the 256-bit secure variant fits in 200ms, and 128-bit variant
decodes under 20ms.

There still could be some (blatantly nondeterministic) method to do this using
FFT, research underway.
2015-11-15 20:35:03 +01:00
Mirek Kratochvil
4b8f65ab2d man: update years 2015-11-15 11:27:18 +01:00
Mirek Kratochvil
0a22ed3749 readme: update 2015-11-15 11:19:36 +01:00
Mirek Kratochvil
5a1e1cb0f2 FFT multiplication paper 2015-11-15 11:06:34 +01:00
Mirek Kratochvil
f06372d874 mce_qcmdpc: fixup comments 2015-11-15 11:06:34 +01:00
Mirek Kratochvil
bbfd0601d8 version bump 2015-11-15 11:06:34 +01:00
Mirek Kratochvil
3f625e3690 implement circulant multiplication by FFT +tooling
The thing in now used in mce_qcmdpc where possible.
Also, some parameter tuning.
2015-11-15 11:05:44 +01:00
Mirek Kratochvil
23cd287372 documentation updates 2015-11-07 23:52:16 +01:00
Mirek Kratochvil
a7ffdbdee0 bvector: use faster to/from string/byte conversion 2015-11-07 23:17:09 +01:00
Mirek Kratochvil
bbca109f8b mce_qcmdpc: remove debug output 2015-11-07 19:53:42 +01:00
Mirek Kratochvil
9af9f9acb1 papers 2015-11-07 19:45:27 +01:00
Mirek Kratochvil
8b4e0ba4ea massive code cleanup and removal of dead code 2015-11-07 19:38:08 +01:00
Mirek Kratochvil
17f77e16a4 mce_qcmdpc: QC-MDPC McEliece 2015-11-07 19:37:30 +01:00
Mirek Kratochvil
878d326859 bvector: faster implementation with 64bit ints 2015-11-07 19:33:47 +01:00
Mirek Kratochvil
19d59f9ec1 bulk-apply new code styling rules 2015-10-31 22:58:17 +01:00
Mirek Kratochvil
a2c1c3992d mce_qd: add a security warning 2015-10-31 10:00:58 +01:00
Mirek Kratochvil
67192f621e main: update the year 2015-10-30 21:02:03 +01:00
Mirek Kratochvil
246cda84a7 prevent mangling user output by crafted keyring 2014-08-16 15:27:36 +02:00
Mirek Kratochvil
beff8d65fb more interesting papers 2014-05-17 15:21:18 +02:00
Mirek Kratochvil
72f05a01c6 bump to v1.6.1 2014-05-17 15:20:54 +02:00
Mirek Kratochvil
68909b74ad symkey: simplify padding 2014-04-19 22:09:44 +02:00
Mirek Kratochvil
07012cb297 symkey: use hmac to fix possible collision attack 2014-04-19 21:59:15 +02:00
Mirek Kratochvil
80aed3c476 docs update 2014-04-11 11:55:30 +02:00
Mirek Kratochvil
8d43c29988 update changelog and others 2014-04-09 16:34:50 +02:00
Mirek Kratochvil
760bcdc7f7 new encryption algos with xsynd/chacha20 2014-04-09 16:14:31 +02:00
Mirek Kratochvil
85b1c69b5c algos_sig: macro-squash 2014-04-09 16:01:37 +02:00
Mirek Kratochvil
eae6fe5675 algos_sig: use chacha instead of rc4 for padding 2014-04-09 15:51:58 +02:00
Mirek Kratochvil
5c739804fd algos_enc: macro-squash algorighm definitions 2014-04-09 15:29:34 +02:00
Mirek Kratochvil
c85a3f72a5 hash: correctly accept HAVE_CRYPTOPP 2014-04-06 14:53:47 +02:00
Mirek Kratochvil
c00f69d7e7 update changelog and documentation 2014-04-06 14:06:59 +02:00
Mirek Kratochvil
8e0597824a symmetric encryption working 2014-04-06 13:46:04 +02:00
Mirek Kratochvil
b30009b910 chacha: fix 2 funny oneliners 2014-04-06 13:37:26 +02:00
Mirek Kratochvil
9c4287c636 named collections for hashes and stream ciphers
also, with the funny factoryof<> and instanceof<> primitives that kindof
solve the memory trouble.
2014-04-05 23:45:01 +02:00
Mirek Kratochvil
654b2f58ef serialization: use macros for hard work 2014-04-05 14:54:54 +02:00
Mirek Kratochvil
eb47cce9ad symkey: primitive for symmetric encryption 2014-04-05 14:33:25 +02:00
Mirek Kratochvil
958e878fd6 update ChangeLog 2014-04-05 14:22:48 +02:00
Mirek Kratochvil
c5cf430ab5 fmtseq: remove internal rc4 usage, use chacha20
Result is incompatible with previous version. Those just shouldn't be
used anymore.
2014-04-05 14:04:08 +02:00
Mirek Kratochvil
37d9c9a98e algos_enc: make timing&sidechannel attacks harder
There was possible timing information leaking from failed decryptions,
new code makes the whole thing fail in almost the same time in all
cases.
2014-04-05 13:04:29 +02:00
Mirek Kratochvil
fd489ae69f generator: remove rc4 usage, some cleaning 2014-04-05 11:36:50 +02:00
Mirek Kratochvil
3659cc837e xsynd: new stream cipher
This one is especially cool. It is code based (yeyeye matches the
project name! :D ), it is provably secure (not like the others!) AAAND
is still quite fast (not fast as chacha though).
2014-04-02 10:49:55 +02:00
Mirek Kratochvil
562188b52d chacha: test vector compliance check 2014-04-01 11:41:21 +02:00
Mirek Kratochvil
39202f8dfb chacha: forgotten public 2014-04-01 11:04:49 +02:00
Mirek Kratochvil
d44ae939d5 chacha: fix discarding
although it's not needed here.
2014-03-30 19:15:43 +02:00