Avril
c658e8a702
Added `timesync()`: Force a future to take *at least* a certain duration of time to complete.
...
Added `.pad_time()` extension method for `T: Future` (TODO: Currently only compiles on nightly as it requires `impl Future` in trait impl, and must be boxed on stable. But `Future.boxed()` extension requires the future to be `Send` for some reason, which we don"t require. Find a way to box the future without it needing to be `Send`.)
Fortune for rsh's current commit: Curse − 凶
4 years ago
Avril
444f3f38dc
Added `ESock::transfer_state()`: Change the `tx` and `rx` types in a encrypted socket while maintaining its keys and other encryption state.
...
Fortune for rsh's current commit: Half blessing − 半吉
4 years ago
Avril
5fa9bccc52
Added const_generics to smallvec.
...
Fortune for rsh's current commit: Future blessing − 末吉
4 years ago
Avril
b6b3bb0fd5
Improved error messages for `set_encrypted_read()` and `exchange()`.
...
Fortune for rsh's current commit: Future small blessing − 末小吉
4 years ago
Avril
3991d82f93
Added better error messages and context to `ESockSessionKey::to_ciphertext()`
...
Fortune for rsh's current commit: Blessing − 吉
4 years ago
Avril
3a5331b5f1
Added `bin` module for byte slice concat.
...
Removed !Unpin `exchange()` function.
Removed `Exchange<"sock,W,R>` future
Tests for RSA ciphertext len passing. (512 bytes static.)
Fortune for rsh's current commit: Future small blessing − 末小吉
4 years ago
Avril
d349c018c2
Using AsyncSource instead of dump Duplex hack.
...
Fortune for rsh's current commit: Future small blessing − 末小吉
4 years ago
Avril
7f8acbba7f
Bumped version of `chacha20stream` to 2.0: Added support for `Read` and `AsyncRead` en/decryption.
...
Fortune for rsh's current commit: Future small blessing − 末小吉
4 years ago
Avril
52d19c730b
Start reworking SerializedMessage -> binary pipeline.
...
Moved from `io::Write` to `bytes::BufMut`, etc.
TODO: Move from `io::Read` to `bytes::Buf` (SerializedMessage::<impl MessageValue>::from_buffer(impl Buf))
Fortune for rsh's current commit: Future small blessing − 末小吉
4 years ago
Avril
ab97278dbd
Added `subtrait!` macro for creating a blanket-impl trait that ``inherits" from one or more different traits in a few different ways (normal -> `Sized` types only, `dyn`: Sized and unsized types , `virtual`: Sized and unsized types, downcastable.)
...
Fortune for rsh's current commit: Curse − 凶
4 years ago
Avril
d3c43b323b
Added task cancelling module
...
Fortune for rsh's current commit: Future blessing − 末吉
4 years ago
Avril
101ce28602
Encrypt + Sign tests work.
...
Fortune for rsh's current commit: Future blessing − 末吉
4 years ago
Avril
226901861a
Start adding stack-allocation helper functions. (ext.rs)
...
Fortune for rsh's current commit: Half curse − 半凶
4 years ago
Avril
9142244bca
Started `Message` protocol.
...
Fortune for rsh's current commit: Small curse − 小凶
4 years ago