orignal
d3062d2994
don't create full identity from buffer if only ident hash is needed
5 months ago
orignal
5af13849a9
check if offline signature is expired when load keys
5 months ago
orignal
a1995c13cd
flood to 2 next day closest floodfills before UTC midnight
6 months ago
R4SAS
7b6aa41ca8
CPU: remove AVX code, switch to __builtin for AES detection ( #1959 )
...
* [cpu] remove avx detect and code blocks, try to switch to __builtin
* [cpu] use __builtin_* only on x86 systems
* [cpu] perform check in separate function
* [cpu] set AES definition on MSVC
* update x86 and aes support checks at compile time
* [cmake] update comment about AES on MSVC
1 year ago
Chad Fraleigh
c4be5f7fdb
Use offset from Identity::signingKey instead of Identity::certificate for key.
1 year ago
weko
710a35993d
change some log level to error back
2 years ago
weko
354a04f0f6
Up level for some logs to critical
2 years ago
orignal
55b2f2c625
memory pool for IdentityEx
2 years ago
R4SAS
503f522cc3
[style] clean trailing spaces and tabs
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal
a902d68669
enable compressible padding
2 years ago
orignal
2b6d9eaa8b
disable compressible padding for now
2 years ago
orignal
b2767304e9
correct padding offset
2 years ago
orignal
3d4d3ce80d
compressable crypto key and padding for routers and destination
2 years ago
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
7 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