R4SAS
6b4ffcff5a
cleanup code (spaces, tabs)
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS
edc0162163
clean line trailing spaces and tabs
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS
94661f697b
[log] update log messages ( closes #1693 )
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
Simon Vetter
a348e10620
libi2pd: fix undefined behaviour and memory overruns
...
This fixes the following issues (flagged by cppcheck):
[libi2pd/ECIESX25519AEADRatchetSession.cpp:537]: (error) Buffer is accessed out of bounds: m_NSREncodedKey
[libi2pd/Identity.cpp:22]: (error) Buffer is accessed out of bounds: keys.publicKey
[libi2pd/Identity.cpp:22]: (error) Buffer is accessed out of bounds: publicKey
[libi2pd/NetDb.cpp:70] -> [libi2pd/NetDb.cpp:69]: (error) Iterator 'it' used after element has been erased
[libi2pd/SSUData.cpp:186] -> [libi2pd/SSUData.cpp:187]: (warning) Shifting 32-bit value by 63 bits is undefined behaviour.
3 years ago
orignal
ad036de69d
eliminate allocation of m_ExtendedBuffer
3 years ago
R4SAS
7373dae026
[avx] check if c++ target supports AVX ( closes #1600 )
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
orignal
8b3a7486c7
rename CRYPTO_KEY_TYPE_ECIES_X25519_AEAD_RATCHET to CRYPTO_KEY_TYPE_ECIES_X25519_AEAD
4 years ago
R4SAS
62cd9fffa3
Automate AES-NI and AVX detection on runtime, make it default on x86-based systems ( #1578 )
...
Rework CPU extensions detection code and build with AES-NI and AVX support by default
4 years ago
orignal
bd04f92087
correct public key for ECIES address
4 years ago
orignal
b12fa97a38
32 bytes private key for ECIESx25519
4 years ago
orignal
ef5495bfb2
padding for x25519 crypto key
4 years ago
R4SAS
8bae4975fb
add copyright headers
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
5 years ago
R4SAS
7a5146ea74
fix code syle(spaces->tabs, tabulations)
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
5 years ago
orignal
2fc16ee13d
indetification of incoming garlic messages
5 years ago
orignal
f4ca6bbb52
fixed race with identity verifier
5 years ago
orignal
2ffe62ba41
[[fallthrough]] if C++17 only
5 years ago
orignal
e0cb26bd9e
fixed fallthough warning for C++17
5 years ago
orignal
9f79bdae9b
encryptor for ECIES-X25519-AEAD-Ratchet
5 years ago
orignal
553d59c32b
decryptor for ECIES-X25519-AEAD-Ratchet
5 years ago
orignal
ef0fb48f1f
blind private keys
6 years ago
orignal
ff44bcc489
complete implementation of RedDSA
6 years ago
orignal
557244bc3f
verify blinding key for encrypted LS2
6 years ago
orignal
ea3070d02b
derivation of subcredentials for LeaseSet2
6 years ago
orignal
2f0115c300
handle RedDSA as EdDSA
6 years ago
orignal
96d961c393
correct public key for EdDSA trasient key
6 years ago
orignal
80ffe13f3e
correct offline signature layout
6 years ago
orignal
1eb726c9bb
create offline keys
6 years ago
orignal
1fa3ba8b42
read offline info
6 years ago
orignal
5398b651f7
handle LS2 in destinations
6 years ago
orignal
bce4224d6e
extract and verify LS2 transient key
6 years ago
orignal
358cdcf4c4
removed RSA signatures completly
6 years ago
yangfl
dec848f072
use builtin __AVX__ and __AES__ macros and reduce code duplication
6 years ago
yangfl
50ba52756f
fix mixing tabs and spaces
7 years ago
yangfl
46f62e1af9
remove trailing whitespaces
7 years ago
orignal
272090fc8f
don't accept streams from RSA detinations
7 years ago
orignal
ab6bc52a0f
don't create destination with RSA signature
7 years ago
orignal
a21fb17d73
renamed ECIES-P256
7 years ago
orignal
a4ce224cd1
pass correct crypto type to identity
7 years ago
orignal
ab1cd3f5cf
ECIES for GOST R 34.10
7 years ago
orignal
c5f784719d
implement Decrypt for all local destination
7 years ago
orignal
81658d2ff9
generic encryption for RoutingDestination
7 years ago
orignal
efacfced45
CryptoKey added
7 years ago
orignal
e634c89995
generate non-ElGamal encryption keys pair
7 years ago
Jeff Becker
c13fd2261e
add stuff for address generator tool
7 years ago
Jeff Becker
4cc3b7f9fb
restructure build to separate the 3 main components into 3 subdirectories
...
libi2pd for core libs
libi2pd_client for i2pd client libs
daemon for i2pd daemon libs
8 years ago
orignal
fa1965deb4
assign signature types 8 and 9 to GOST R 34.10
8 years ago
orignal
69804c23f1
check if destination keys are correct
8 years ago
orignal
bd2c2acd5f
use CryptoProA params for GOST R 34.10-2012 256 bits
8 years ago
orignal
726828a487
use GOST 34.11-2012 with GOST 34.10
8 years ago
orignal
6b9a270506
enable TC26 paramSet A 512 for GOST 34.10-2012
8 years ago