Commit Graph

53 Commits (710a35993db02644f7f28dbee739fe1e7a68a5a5)

Author SHA1 Message Date
weko 710a35993d change some log level to error back 1 year ago
weko 354a04f0f6 Up level for some logs to critical 1 year ago
orignal 55b2f2c625 memory pool for IdentityEx 1 year ago
R4SAS 503f522cc3
[style] clean trailing spaces and tabs
Signed-off-by: R4SAS <r4sas@i2pmail.org>
1 year ago
orignal a902d68669 enable compressible padding 1 year 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>
2 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>
4 years ago
R4SAS 7a5146ea74 fix code syle(spaces->tabs, tabulations)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
orignal 2fc16ee13d indetification of incoming garlic messages 4 years ago
orignal f4ca6bbb52 fixed race with identity verifier 4 years ago
orignal 2ffe62ba41 [[fallthrough]] if C++17 only 4 years ago
orignal e0cb26bd9e fixed fallthough warning for C++17 4 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 5 years ago
orignal ff44bcc489 complete implementation of RedDSA 5 years ago
orignal 557244bc3f verify blinding key for encrypted LS2 5 years ago
orignal ea3070d02b derivation of subcredentials for LeaseSet2 5 years ago
orignal 2f0115c300 handle RedDSA as EdDSA 5 years ago
orignal 96d961c393 correct public key for EdDSA trasient key 5 years ago
orignal 80ffe13f3e correct offline signature layout 5 years ago
orignal 1eb726c9bb create offline keys 5 years ago
orignal 1fa3ba8b42 read offline info 5 years ago
orignal 5398b651f7 handle LS2 in destinations 5 years ago
orignal bce4224d6e extract and verify LS2 transient key 5 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 6 years ago
yangfl 46f62e1af9 remove trailing whitespaces 6 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