orignal
0d09a8be00
removed own implementation of x25519
4 weeks ago
SystemFailure
f98a310235
Revert LibreSSL workaround when LibreSSL version >= 4.0.0
1 month ago
orignal
0c924836cf
fixed AEAD verification for LibreSSL
3 months ago
orignal
37d3d9e604
removed openssl 1.0.2 support
5 months ago
R4SAS
1857f14be8
[cpu] use short defines instead of long checks
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year 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
627b8dca83
Fixed buf offset EVP_EncryptFinal_ex() to include outlen.
1 year ago
contextswap
12d0abda55
[
...
Signed-off-by: contextswap <ctxswp@proton.me>
2 years ago
contextswap
7418f11651
limit aesni inline asm to x86
...
Signed-off-by: contextswap <ctxswp@proton.me>
2 years ago
R4SAS
2c19da9aa7
fix warnings about unused code
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal
7705423c42
remove SSU
2 years ago
R4SAS
6b4ffcff5a
cleanup code (spaces, tabs)
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal
a152f36894
MixHash for SSU2 long header
3 years ago
orignal
450266818a
Noise XK for SSU2
3 years ago
R4SAS
edc0162163
clean line trailing spaces and tabs
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal
921ec9ec12
fix build with openssl 3.0.0
3 years ago
orignal
349022ae42
don't select ElGamal routers for tunnels
3 years ago
orignal
bb518d3d51
don't pass BN_CTX to encrypt/decrypt functions
3 years ago
orignal
c45e202fab
removed ElGamal encryption support for own router
3 years ago
R4SAS
4371a084ec
check for pubkey in X25519Keys::Agree
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
orignal
726bd0d63b
check if x25519 key is valid
4 years ago
R4SAS
ca3b819151
[avx] check ig c++ target supports AVX
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
orignal
abdf92c084
encrypt message for ECIES router
4 years ago
orignal
32fc6482cc
moved Noise initializations to Crypto.cpp
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
9f2a2e44a3
common MixHash and MixKey
4 years ago
orignal
e135696530
support multiple encryption keys through the I2CP
5 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
9f79bdae9b
encryptor for ECIES-X25519-AEAD-Ratchet
5 years ago
orignal
599ec62bb0
use HKDF for NTCP2 key derivation data phase
5 years ago
orignal
74e8610ec9
DH auth for encrypted LeaseSet2
6 years ago
orignal
5b56f4007b
counter is always in Little Endian
6 years ago
orignal
e2071542bf
use 16 bytes iv for chacha20
6 years ago
orignal
aa4bddd6ec
common HKDF
6 years ago
orignal
9b64be07a9
set chacha20 counter to 1
6 years ago
orignal
9188e3ad3f
ChaCha20 decrypt
6 years ago
Rosen Penev
90f2b2d249
Fix compilation without deprecated OpenSSL APIs
6 years ago
orignal
f74b27c58c
check if chacha20 and poly1305 is presented in openssl build
6 years ago
orignal
8a987af244
initialize m_Pkey
6 years ago
orignal
c7af2889fa
removed dummy initializer
6 years ago
orignal
5ab3390434
don't create dummy initializer for android
6 years ago
orignal
67f60f1889
set openssl no_config before boost::asio:ssl
6 years ago
orignal
985a468d0f
don't read openssl config file
6 years ago
orignal
f30b6c9e6e
const reference to vector of buffers
6 years ago
orignal
7efb47fed4
send NTCP2 frame from I2NP messages
6 years ago
orignal
7692332f0e
don't inialize Chacha20 state twice
6 years ago
orignal
ef6db64e9f
correct chacha20 for multiple messages
6 years ago
orignal
e68f1dbc99
AEAD/Chacha20/Poly1305 encrypt multiple buffers
6 years ago
orignal
cf0fc3a4a9
some performance improvements
6 years ago