Student Main
69dff0cce5
per encryptor optimization
6 years ago
Student Main
924cde77e2
switch to CachedNetworkStream based api, fix AEADEncrypt buffer management
6 years ago
Student Main
92137d28aa
make compiler happy in encryption
6 years ago
Student Main
a972813e45
drop byte array based Encrypt Decrypt
6 years ago
Student Main
2cd649a05c
span based Encrypt Decrypt
6 years ago
Student Main
6fc9a43cc4
ReadOnlySpan in encrypt api
6 years ago
Student Main
af405a668a
doc, lint
6 years ago
Student Main
bf56f40292
remove loop buffer from aead encryptor
6 years ago
Student Main
e4a33c2f6a
remove loop buffer from stream encryptor
6 years ago
Student Main
bb8ca59dd5
fix aes-cfb with magic
6 years ago
Student Main
f8d1de8414
aead use span based CipherEncrypt/CipherDecrypt
6 years ago
Student Main
b332a6bd1c
drop stream cipher cipherUpdate api, drop table cipher due to performance issue
6 years ago
Student Main
93b57eb132
fix chacha20-ietf data size limitation by manually calculate IC and offset
6 years ago
Student Main
6c81a6d6d4
fix chacha20-ietf with some limitation. refactor Span.Slice usage
6 years ago
Student Main
c2bf74c554
use span instead of new byte[] in table cipher key generation
update build target
6 years ago
Student Main
0d5ad751ad
improve Logger.Dump, few rename
6 years ago
Student Main
9675f80749
buggy chacha20-ietf
6 years ago
Student Main
a7e5fcde51
buggy aes-cfb with bouncycastle
6 years ago
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
8fc46bb9c4
refactor crypto test
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
b60b26bc57
bouncy castle based crypto functions
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
Student Main
695716cd29
bring back table, add plain
revert d24548a04f
6 years ago
Student Main
5280c580d0
register native rc4
6 years ago
Student Main
5d658fc841
bring native rc4 back, along with rc4-md5
partially revert 421554f8ec
6 years ago
celeron533
84c55d116d
WIP: Migrate to NLog
6 years ago
Student Main
dcb6092eb8
set default method to chacha20-ietf-poly1305 in all place...
6 years ago
Student Main
0f0f41a4d4
use optional chain syntax in RNG.cs
Hope it will resolve errors in CI.
6 years ago
Damir Ainullin
842a29a31a
Removed unused array allocations
7 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
b2645f9f0a
Fix bf-cfb name
Don't use Cname
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