Student Main
288b013fa2
span based aead ChunkEncrypt, remove bouncycastle aead aes
6 years ago
Student Main
c99d0b33bb
span encrypt api in aead
6 years ago
Student Main
0497ce88ff
remove excessive state in Encryptor, as we use 2 encryptor per connection.
6 years ago
Student Main
35633053e1
span based cipher api
6 years ago
Student Main
4dfba3bf63
UI get cipher info from EncryptorFactory
6 years ago
Student Main
ac9eaaeb05
adjust test case, update EncryptorInfo API
6 years ago
Student Main
019b6656c5
Merge branch 'nacl-core-chacha20' into net-core-build
6 years ago
Student Main
83b994e3b4
NaCl.Core based ChaCha20Poly1305
6 years ago
Student Main
53378dc7f5
refactor cipher api. native aes gcm
6 years ago
Student Main
7df8272f0a
Native encryption
6 years ago
Student Main
09c3b73e32
remove libsscrypto.dll.gz
6 years ago
Student Main
64c8473d82
Merge branch 'net-rc4' into cross-platform
6 years ago
celeron533
6f8159d304
Pass the test case (BC encrypt, Mbed decrypt)
But still has mismatch in real web browse
6 years ago
celeron533
95835d0445
Side-by-side between Mbed and BC
All ciphertext and plaintext are same. But after comment out the MbedTLS.cipher_auth_encrypt() part, test fail.
6 years ago
celeron533
77c6cc4e08
Add BouncyCastle AEAD
6 years ago
Student Main
edd723de49
rc4 doesn't use iv
and plain cipher for aead for fun
6 years ago
celeron533
84c55d116d
WIP: Migrate to NLog
6 years ago
Syrone Wong
3329291ab9
add xchacha20-ietf-poly1305
- update mbedtls to 2.7.0, use new md5 api
- update libsodium to 1.0.16
- static link to openssl 1.1.0g, check libsscrypto repo for detail
8 years ago
Syrone Wong
4d4f1753c7
Add OpenSSL 1.1.0g support due to hardware acceleration
Note: If you want to compile it by yourself, please make sure
do NOT use `no-asm` configure option, since the main point of
this commit is to utilize assembly in openssl
Add OpenSSL test
8 years ago
Syrone Wong
5d75e19c26
prefer to use aes-256-gcm in libsodium
which is hardware accelerated compared to AES-GCM in mbedtls
We have to drop this commit when mbedtls support hw-accelerated GCM
when compiling with MSVC
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Syrone Wong
2eeebc29d7
Replace circular buffer with the blockcopy variant
to get rid of deep copy
- update NuGet pkg
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Syrone Wong
3b3a8c9077
fix legacy key derivation
9 years ago
Syrone Wong
877644609b
spare enough space for UDP packet
9 years ago
Syrone Wong
3de14098d7
add AEAD support
9 years ago