orignal
1e98572c32
use std::span instead naked poinnted for transient private key
2026-09-22 08:26:13 -04:00
acetone
4d9cba2df5
b33 offline keys for an encrypted LeaseSet
2026-09-21 14:33:24 -04:00
orignal
f70e74f316
don't try to copy private key if not set
2026-09-19 21:43:23 -04:00
orignal
4e2a13bb8e
drop public keys if FromBuffer failed
2026-09-17 21:14:41 -04:00
orignal
a6ebaeda0c
don't crash if unknown signing key type for new private keys
2026-09-17 18:38:12 -04:00
jpk68
5e93f74e19
fix: missing checks and limits
2026-09-16 08:47:15 -04:00
acetone
6d79da0e2f
refresh offline transient on destination service
2026-06-22 21:57:06 +03:00
orignal
d6273b277d
Identity/IdentMetrics split
2026-05-27 08:25:28 -04:00
orignal
e9f7477fcf
reuse previously calculated peer ordering group
2026-05-26 21:48:21 -04:00
orignal
855bf09313
removed MLDSA44 support for now
2026-04-09 17:20:11 -04:00
orignal
91e164dbbf
correct private signing key size for offline signatures
2026-02-18 15:09:51 -05:00
orignal
60cc526dda
common code to extract routers hashes from param
2026-01-15 19:51:51 -05:00
orignal
7ec0c98036
fixed newkeys crash
2025-05-28 06:39:39 -04:00
orignal
724d8bde4e
handle incoming packets with ML-DSA signature
2025-04-21 21:25:51 -04:00
orignal
9bd2b8df76
create and handle ML-DSA identities and signatures
2025-04-20 18:53:21 -04:00
orignal
9c46ff2449
Initial Noise states and encryptors/decryptors for ML-KEM-768 and ML-KEM-1024
2025-04-15 13:26:19 -04:00
orignal
935c055a35
encryptor/decryptor/keygen for ECIES_MLKEM512_X25519_AEAD
2025-03-19 22:00:08 -04:00
orignal
bd2b96627c
calculate crypto key length from key type
2025-03-18 19:23:13 -04:00
orignal
93cc810f29
use string/string_view for base64
2025-03-17 09:06:11 -04:00
orignal
e3227ee5ee
MLDSA44 signer and keygen
2025-03-13 15:43:22 -04:00
orignal
dd58b2f867
Post-Quantum. MLDSA44 verifier
2025-03-12 15:41:12 -04:00
orignal
9c97909e04
removed test crypto/signature types
2025-03-05 10:51:21 -05:00
orignal
5e301937f2
use pointer to whole struct instead publicKey for buffer
2025-01-19 15:22:46 -05:00
orignal
634ceceb1c
use std::string_view instead const std::string&
2025-01-12 12:23:26 -05:00
orignal
d3062d2994
don't create full identity from buffer if only ident hash is needed
2024-07-25 20:36:46 -04:00
orignal
5af13849a9
check if offline signature is expired when load keys
2024-07-09 13:44:30 -04:00
orignal
a1995c13cd
flood to 2 next day closest floodfills before UTC midnight
2024-06-04 12:45:35 -04: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
Chad Fraleigh
c4be5f7fdb
Use offset from Identity::signingKey instead of Identity::certificate for key.
2023-07-09 18:45:30 -07:00
weko
710a35993d
change some log level to error back
2023-03-31 12:16:32 +00:00
weko
354a04f0f6
Up level for some logs to critical
2023-03-31 11:29:04 +00:00
orignal
55b2f2c625
memory pool for IdentityEx
2023-03-16 21:32:53 -04:00
R4SAS
503f522cc3
[style] clean trailing spaces and tabs
...
Signed-off-by: R4SAS <r4sas@i2pmail.org >
2023-01-03 21:25:19 +03:00
orignal
a902d68669
enable compressible padding
2022-12-12 18:36:29 -05:00
orignal
2b6d9eaa8b
disable compressible padding for now
2022-10-26 13:26:16 -04:00
orignal
b2767304e9
correct padding offset
2022-10-24 18:07:04 -04:00
orignal
3d4d3ce80d
compressable crypto key and padding for routers and destination
2022-10-24 15:12:07 -04:00
R4SAS
6b4ffcff5a
cleanup code (spaces, tabs)
...
Signed-off-by: R4SAS <r4sas@i2pmail.org >
2022-05-20 17:44:29 +00:00
R4SAS
edc0162163
clean line trailing spaces and tabs
...
Signed-off-by: R4SAS <r4sas@i2pmail.org >
2021-11-27 23:30:35 +03:00
R4SAS
94661f697b
[log] update log messages ( closes #1693 )
...
Signed-off-by: R4SAS <r4sas@i2pmail.org >
2021-11-27 22:53:53 +03:00
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.
2021-10-19 22:27:12 +02:00
orignal
ad036de69d
eliminate allocation of m_ExtendedBuffer
2021-09-09 21:19:52 -04:00
R4SAS
7373dae026
[avx] check if c++ target supports AVX ( closes #1600 )
...
Signed-off-by: R4SAS <r4sas@i2pmail.org >
2020-12-12 09:54:07 +03:00
orignal
8b3a7486c7
rename CRYPTO_KEY_TYPE_ECIES_X25519_AEAD_RATCHET to CRYPTO_KEY_TYPE_ECIES_X25519_AEAD
2020-11-14 18:28:50 -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
bd04f92087
correct public key for ECIES address
2020-11-03 18:41:27 -05:00
orignal
b12fa97a38
32 bytes private key for ECIESx25519
2020-10-29 18:41:21 -04:00
orignal
ef5495bfb2
padding for x25519 crypto key
2020-10-23 22:14:00 -04:00
R4SAS
8bae4975fb
add copyright headers
...
Signed-off-by: R4SAS <r4sas@i2pmail.org >
2020-05-22 18:14:53 +00:00
R4SAS
7a5146ea74
fix code syle(spaces->tabs, tabulations)
...
Signed-off-by: R4SAS <r4sas@i2pmail.org >
2020-05-22 18:14:53 +00:00