orignal
d25206abce
encrypted tunnel test messages
9 months ago
orignal
2b6a95cbee
don't check session for symmetric key tagset. re-create tags hash if too many used tags
10 months ago
orignal
e40b656ecf
Drop for tunnel and encrypted messages
10 months ago
orignal
644d65054d
create smaller I2NP packets
2 years ago
orignal
3adff82d4a
don't handle ack request for router
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
bb518d3d51
don't pass BN_CTX to encrypt/decrypt functions
3 years ago
orignal
da7e41c188
use Tag<64> for ratechet tags
3 years ago
orignal
26d5ced2ef
optimal padding for one-time messages
3 years ago
orignal
6ecfe0789f
don't allocate payload buffer for every single ECIESx25519 message
3 years ago
orignal
5d022c25ba
don't send datetime for one time key message
3 years ago
orignal
cd0751d3f1
padding block for message for router
3 years ago
orignal
a1d1a5df74
datetime block for message for router
3 years ago
orignal
197f13f9c0
rollback
3 years ago
orignal
ba1b8c7c2b
WrapECIESX25519MessageForRouter wihout session
3 years ago
orignal
1e9eb30aa3
garlic encryption of inbound tunnel build message
3 years ago
orignal
83fd289e46
don't re-create noise state for every message
4 years ago
orignal
f321eb66c0
rename DatabaseLookupTageSet to SymmetricKeyTagset
4 years ago
orignal
baec22610e
always set expiration time for NSR tagset
4 years ago
orignal
1285e30b3e
more pre-calculated x25519
4 years ago
orignal
d6f5640685
attach updated LeaseSet to ECIESx25519 incoming sessions
4 years ago
orignal
065cfe3b9d
separate ratchet session for ECIES router
4 years ago
orignal
9d5bb1b2b6
drop routing path for LeaseSet resend
4 years ago
orignal
29176dd9bf
count last send time for expiration
4 years ago
orignal
aedcd1bcc0
remove tag after tagset expiration
4 years ago
orignal
b1262d54de
don't detach ECIESx25519 session from destination
4 years ago
orignal
bc4a97774f
strong pointer to session for receive tagset
4 years ago
orignal
ee3cd44f97
ReceiveRatchetTagSet
4 years ago
orignal
726bd0d63b
check if x25519 key is valid
4 years ago
orignal
7ce92118e4
handle follow-on NSR messages
4 years ago
orignal
86ff0d86db
check if new tag was created
4 years ago
orignal
f2e4d5f06c
trim behind not affter max generated tags
4 years ago
orignal
e2fcab34b7
deccrypt and handle garlic message for ECIES router
4 years ago
orignal
abdf92c084
encrypt message for ECIES router
4 years ago
orignal
32fc6482cc
moved Noise initializations to Crypto.cpp
4 years ago
orignal
c833b16544
check if session expired before generating more tags
4 years ago
orignal
8b3a7486c7
rename CRYPTO_KEY_TYPE_ECIES_X25519_AEAD_RATCHET to CRYPTO_KEY_TYPE_ECIES_X25519_AEAD
4 years ago
orignal
1c7780a423
garlic clove block for router
4 years ago
orignal
4ba1be2dc0
one time garlic encryption for ECIES routers
4 years ago
orignal
6362a7bba5
decrypt garlic on ECIES router
4 years ago
orignal
2b0d1a2190
implement DatabaseLookupTagSet
4 years ago
orignal
da1e52357f
delete symmkey on cleanup
4 years ago
orignal
a05a54b38e
trim behind ECIESx25519 tags
4 years ago
orignal
c3aa6b9cda
use delivery type local if destination is not secified
4 years ago
orignal
c41554109b
change datagram routing path if nothing comes back in 10 seconds
4 years ago
orignal
6f2e6ed887
key for next send ratchet
4 years ago
orignal
5f1e66d64b
use pre-calculated x25519 ephemeral keys for ratchets
4 years ago
orignal
69194118df
generate random padding length in bulk
5 years ago