65 Commits (445c5f47ae58abe33dbc4be11c9cb6f09c8610cc)

Author SHA1 Message Date
R4SAS 4371a084ec
check for pubkey in X25519Keys::Agree 4 years ago
orignal 726bd0d63b check if x25519 key is valid 4 years ago
R4SAS ca3b819151
[avx] check ig c++ target supports AVX 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) 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 5 years ago
R4SAS 7a5146ea74 fix code syle(spaces->tabs, tabulations) 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
orignal 72c8fd257c eliminate extra buffer for Poly1305 6 years ago
orignal fa620e41a4 correct alignment for polyKey 6 years ago
Jeff Becker f385c624c7
expose poly1305 digester 6 years ago
orignal 34cfd205f6 create new static keys by X25519Keys 6 years ago
orignal 7d9893c614 fixed build error 6 years ago
orignal a8b1a86bd7 X25519Keys for static key 6 years ago
orignal 1babd3a5a2 separate X25519Keys 6 years ago
orignal d320a89590 don't copy buffer to ifself 6 years ago
orignal f7e4afc282 use same buffer for input and output for AEAD/Chacha20/Poly1305 6 years ago
orignal 2b61f9a731 fixed #1217. verify decryption result 6 years ago
yangfl dec848f072 use builtin __AVX__ and __AES__ macros and reduce code duplication 7 years ago
orignal 0aa618b938 process AEAD/Chacha20/Poly1305 frame for data phase of NTCP2 7 years ago
orignal b5682012d3 process SessionRequest and send SessionCreated for NTCP2 7 years ago
orignal 58c92b8405 aead/chacha20/poly1305 from openssl 1.1 7 years ago
orignal 5447259e1a AEAD/ChaCha20/Poly1305 decryption and SessionCreate prcessing 7 years ago
orignal 966256ac32 correct Poly1305 calculation 7 years ago
orignal 6b9061515f AEAD/ChaCha20/Poly1305 test added 7 years ago
orignal df60e78766 AEAD/Chacha20/Poly1305 encryption 7 years ago
Sammael 97127e86dc
Delete some for correct compilation 7 years ago