73 Commits (5bb20cb0392ab637df2cc7f6690e98d0d7c8b629)

Author SHA1 Message Date
R4SAS 6b4ffcff5a cleanup code (spaces, tabs) 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 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 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