Commit Graph

30 Commits

Author SHA1 Message Date
csoler
2bab688dec
fixed merge with upstream/master 2018-07-19 23:22:24 +02:00
csoler
db06c32e80
turned turtle encryption routine into a generic authenticated encryption method in librs::crypto 2018-06-28 10:01:57 +02:00
csoler
8641da189c
relicensed util/ and moved rsaes to crypto/ 2018-05-30 21:34:38 +02:00
csoler
b3277824eb
license fix in pqi 2018-05-28 22:03:39 +02:00
csoler
544b4af4c2
fixed license in chat, crypto, dht, file_sharing 2018-05-21 20:50:38 +02:00
csoler
d0039241d3 replaced usleep() by rstime::rs_usleep() which accepts times >= 1 sec. Should fix problems on windows 2018-01-27 20:22:31 +01:00
Phenom
35186c4054 Fix clang warning: unused variable 'res'
/libretroshare/src/crypto/chacha20.cpp:978: warning: unused variable
'res' [-Wunused-variable]
        uint256_32 res(q1) ;
2017-07-16 21:12:09 +02:00
Enno Boland
2046d9eaae fix building with libressl 2017-05-21 10:48:58 +02:00
sehraf
7371fdc432 add openssl chacha20 support 2017-05-05 21:01:19 +02:00
sehraf
96b4a1b2d8 add openssl chacha20-poly1305 support 2017-05-05 15:40:02 +02:00
csoler
1f8fd95dbf fixed uninitialised memory read in chacha20 test code 2017-03-09 20:48:26 +01:00
csoler
d5f2ae83e5 fixed memory leak recently introduced with openssl-1.1.0 changes 2017-03-09 20:39:12 +01:00
csoler
5c95b88095 compilation fix for openssl-1.1.0 (pqissl+authssl part) 2017-02-19 22:38:02 +01:00
csoler
57bbd15893 fixing compilation for openssl-1.1.0 (chacha20.cc, HMAC structure, part 2) 2017-02-19 11:10:25 +01:00
csoler
d7bfc3264b fixing compilation for openssl-1.1.0 (chacha20.cc, HMAC structure) 2017-02-19 10:56:33 +01:00
csoler
d631758e8c added hashstream class to hash content of RsIdentityUsage and fix duplication of identity usage statistics 2017-01-05 23:07:59 +01:00
csoler
ffcf44b3fe removing call to drand48(). RSRandom is safer 2016-11-04 21:54:28 +01:00
csoler
79632ed27b fixed compilation on windows 2016-11-04 21:48:58 +01:00
mr-alice
def20a3f4c encrypted FT works. Fixed last bugs in ftServer 2016-10-30 15:11:22 +01:00
mr-alice
8486346368 added new encryption/authentication format AEAD_chacha20_sha256 2016-10-26 22:05:56 +02:00
mr-alice
c87ca67120 improved efficiency of AEAD 2016-10-26 18:15:47 +02:00
mr-alice
88298b997e added check for cleartext in AEAD test vector #1 2016-10-26 14:45:21 +02:00
mr-alice
42f6f26820 fixed bug in AEAD 2016-10-26 14:36:35 +02:00
mr-alice
177752e6af fixed a few bugs in AEAD construction based on test results 2016-10-25 23:16:36 +02:00
mr-alice
0570427c1d added google test for chacha20 code 2016-10-25 14:09:39 +02:00
mr-alice
0387a28e78 added methods to get files from hash(hash) in directory_storage and ftServer 2016-10-25 00:08:27 +02:00
mr-alice
2d72b88130 added code for AEAD construction 2016-10-24 15:59:34 +02:00
mr-alice
9d32406669 added ft decryption routine 2016-10-19 22:49:51 +02:00
mr-alice
3ad0a81d8f added encryption routine for FT 2016-10-19 21:30:37 +02:00
mr-alice
997154f9c5 added preliminary implementation of chacha20/poly1305 2016-10-13 15:13:56 +02:00