Commit Graph
96 Commits
Author SHA1 Message Date
orignal e32e694a83 common HKDF context for ratchets tags 2026-08-08 16:52:28 -04:00
user a3e8777c7e fix typing 2026-06-08 12:03:01 +00:00
user c11a3aff95 fix typing 2026-06-08 11:36:47 +00:00
user 1cc4854bb6 preproccessor: change a logic 2026-06-08 03:30:39 +00:00
user f2e7a0ff5c preproccessor shit 2026-06-08 03:05:42 +00:00
user a7e45f5b7a libressl: preprocessor magic 2026-06-07 14:42:02 +00:00
user 433f3e554b PQ: preproccessor magic 2026-06-07 13:55:31 +00:00
orignal 2e167fe334 pass std::string_view to HKDF 2025-07-09 13:21:04 -04:00
orignal 5bef987529 stop suporting openssl below 1.1.1 2025-06-12 11:22:39 -04:00
orignal 2631255b46 enable post quantum back 2025-06-03 07:57:08 -04:00
orignal 021431d97a disable post-quantum for release 2025-06-01 08:40:44 -04:00
orignal 1a04b59585 common InitNoiseIKState for all ML-KEM crypto 2025-04-14 21:45:53 -04:00
orignal 4c5d0116f8 moved ML-KEM code to PostQuntum.h/.cpp 2025-04-14 18:21:07 -04:00
orignal a83cd99f58 all ML-KEM crypto types 2025-04-14 13:29:53 -04:00
orignal 9ab1a67f0b common ML-KEM names and key lengths 2025-04-13 18:18:44 -04:00
orignal 6b38085f27 Noise state Encrypt/Decrypt operations 2025-04-07 18:47:53 -04:00
orignal 22d854a6be ML-KEM-512 encaps/decaps 2025-03-24 15:45:06 -04:00
orignal 75d5c6036e use EVP interface for DSA sign/verify with OpenSSL 3 2025-03-23 18:53:32 -04:00
orignal a193186935 MLKEM512 keygen added 2025-03-22 22:25:06 -04:00
orignal dd58b2f867 Post-Quantum. MLDSA44 verifier 2025-03-12 15:41:12 -04:00
orignal 4bb82110ab don't create EVP_CIPHER_CTX for each ChaCha20 2025-01-15 21:13:50 -05:00
orignal 3534b9c499 don't create EVP_CIPHER_CTX for each AEAD/Chacha20/Poly1305 message 2024-12-09 20:59:59 -05:00
orignal f23a7f569b pass iv to AES Encrypt/Decrypt directly. aes-test added 2024-12-08 11:08:17 -05:00
orignal 48b62340cc exclude AESNI option 2024-12-07 15:27:23 -05:00
orignal 786da057f2 always use openssl for AES 2024-12-06 20:25:22 -05:00
orignal 0d09a8be00 removed own implementation of x25519 2024-11-01 17:53:27 -04:00
orignal db4208e2e2 fixed 2024-07-30 08:13:24 -04:00
orignal f6ddcd432e removed openssl/engine.h 2024-07-21 09:43:29 -04:00
orignal 37d3d9e604 removed openssl 1.0.2 support 2024-07-06 08:50:51 -04:00
orignal 43e130ee34 reinitialize context before each Sign/Verify call to make it working with openssl 3.2 2023-12-19 19:29:08 -05:00
orignal 0e98dd5c70 use fallback EdDSA implementation with openssl 3.2.0 due to regression in EVP_DigestSign (#23075) 2023-12-18 07:40:40 -05:00
r4sas 1857f14be8 [cpu] use short defines instead of long checks
Signed-off-by: r4sas <r4sas@i2pmail.org>
2023-09-17 18:33:42 +00:00
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
2023-08-31 19:52:51 +03:00
orignal 7705423c42 remove SSU 2022-11-22 20:05:52 -05:00
R4SAS 6b4ffcff5a cleanup code (spaces, tabs)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-05-20 17:44:29 +00:00
orbea 0a1e302e8a libi2pd: Fix the build with LibreSSL 3.5.2 2022-05-12 19:11:17 +00:00
orignal c22ab7e1fc use openssl's siphash for 3.0.1 and higher 2022-05-04 18:58:08 -04:00
orignal a152f36894 MixHash for SSU2 long header 2022-03-07 18:20:06 -05:00
orignal 450266818a Noise XK for SSU2 2022-02-05 15:58:39 -05:00
R4SAS edc0162163 clean line trailing spaces and tabs
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-11-27 23:30:35 +03:00
Dimitris Apostolou 8ee9c437e1 Fix typos 2021-11-13 19:07:50 +02:00
orignal bb8dc67942 don't use openssl's SipHash from 3.0.0 due regression 2021-10-27 19:05:16 -04:00
orignal 349022ae42 don't select ElGamal routers for tunnels 2021-09-03 13:30:01 -04:00
orignal bb518d3d51 don't pass BN_CTX to encrypt/decrypt functions 2021-08-31 18:51:40 -04:00
orignal c45e202fab removed ElGamal encryption support for own router 2021-08-29 14:22:01 -04:00
orignal 726bd0d63b check if x25519 key is valid 2021-01-01 15:03:11 -05:00
orignal 32fc6482cc moved Noise initializations to Crypto.cpp 2020-12-03 17:58:37 -05:00
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
2020-11-15 01:31:20 +03:00
orignal 9f2a2e44a3 common MixHash and MixKey 2020-10-28 21:53:11 -04:00
orignal 5f1e66d64b use pre-calculated x25519 ephemeral keys for ratchets 2020-06-30 13:00:41 -04:00