Avril
9784208fc8
Added crate-level re-exports.
...
Fortune for chacha20stream's current commit: Blessing − 吉
3 years ago
Avril
5d1ac4fa7a
Started AsyncSource.
...
Fortune for chacha20stream's current commit: Half blessing − 半吉
3 years ago
Avril
e536d6b232
Moved async_stream::Sink into seperate files.
...
Fortune for chacha20stream's current commit: Curse − 凶
3 years ago
Avril
20199e3610
Added basic docs to `Source`.
...
Fortune for chacha20stream's current commit: Middle blessing − 中吉
3 years ago
Avril
ea70fdc2d1
Fix failing tests of buffer.
...
Fix incorrect buffer feature checks
Fortune for chacha20stream's current commit: Future small blessing − 末小吉
3 years ago
Avril
907862f554
Source: Encrypt and Decrypt tests passing. (For both internal and external buffer.)
...
Fortune for chacha20stream's current commit: Half blessing − 半吉
3 years ago
Avril
30416382ec
Renamed `reuse-buffer` to `ad-hoc-buffer`
...
Fortune for chacha20stream's current commit: Small curse − 小凶
3 years ago
Avril
843616e35e
impl `Read` for `Source`: Implemented for internal and external buffer usage
...
TODO: Rename reuse-buffer to ad-hoc-buffer: We can"t update crypter in-place, need a seperate buffer :/
Fortune for chacha20stream's current commit: Small blessing − 小吉
3 years ago
Avril
6cbbf2bd2c
XXX: Can"t update crypter with an in-place buffer...
...
Fortune for chacha20stream's current commit: Small curse − 小凶
3 years ago
Avril
404d4511f8
Added compile-time distunguishing of internal/external buffer usage
...
`reuse-buffer` feature available if explicitly opting into it. Buffers can be moved from internal<->external buffers. By default, internal buffers are used when `reuse-buffer` is disabled, and external ones are used when it is enabled.
Fortune for chacha20stream's current commit: Future small blessing − 末小吉
3 years ago
Avril
e18b166514
`stream`: Move `Sink` and `Source` to seperate files
...
Fortune for chacha20stream's current commit: Small curse − 小凶
3 years ago
Avril
107b7902e1
Source<R>::read(),transform() impl.
...
Fixed compilation failure with `reuse-buffer` due to references to inner buffer in non-#cfg"d code.
Fortune for chacha20stream's current commit: Future small blessing − 末小吉
3 years ago
Avril
42dbd94392
Start: `Source<R>`: chacha20_poly1305 en/decryption wrapper over `io::Read` types.
...
TODO: `AsyncSource<R>`: Async version of `Source<R>`, and the `AsyncRead` couterpart of `AsyncSink<R>`.
TODO: `Stream<RW>`, `AsyncStream<RW>`: Combines both `Sink<W>` and `Source<R>` for `Read+Write` types (and async counterparts) using the same cipher key.
Fortune for chacha20stream's current commit: Small curse − 小凶
3 years ago
Avril
b64ae499ad
update README
4 years ago
Avril
9586ac5aa4
version bump. pushing C API v0 at lib version 1.2.0
4 years ago
Avril
ba5f979a49
test program uses open_memstream for backing
4 years ago
Avril
57541f233b
start: document header
4 years ago
Avril
b7c8c64733
cookie config alowing backing stream ownership transfer to be optional
4 years ago
Avril
d5c9492c44
removed cc dep
...
reimplemented wrapper.c in Rust
4 years ago
Avril
7226ebdb7b
static linking works when cc lto is disabled
4 years ago
Avril
ce642b5f51
static linking works when cc lto is disabled
4 years ago
Avril
e76499c166
tests passing. static linking failing, not sure why
4 years ago
Avril
65ad649519
TODO: rework error reporting
4 years ago
Avril
6937dc5242
failing FFI test
4 years ago
Avril
f7ea81344d
disable strict aliasing for c wrapper
4 years ago
Avril
f8dc3de398
fix cookie return vals
4 years ago
Avril
3e94e78442
drop required C standard to c90
4 years ago
Avril
9557d4e80b
cookie open creation
4 years ago
Avril
860cf33b41
added cc20_write() to write to CSink
4 years ago
Avril
13e3b84929
added C FFI header
4 years ago
Avril
bf63998e73
C interface write passthrough and opaque allocation ok
4 years ago
Avril
90d3c2615f
start FFI function implementations
4 years ago
Avril
d9dd56faf0
added serde support
4 years ago
Avril
9333e994f2
document key/iv encoding/decoding
4 years ago
Avril
ab8c713145
update README
4 years ago
Avril
09f361f8a0
stable release 1.0
4 years ago
Avril
4b4d752491
added documentation
4 years ago
Avril
317a9b47a8
async working
4 years ago
Avril
969653b1aa
async stream start
4 years ago
Avril
f42cedafc3
cleaned up prune
4 years ago
Avril
1621ca45b6
prevent inlining of prune on explicit_clear nightly builds
4 years ago
Avril
1c61cee7ae
remove dependency on non-standard 'explicit_bzero()' on nightly builds
4 years ago
Avril
1ecf0eab91
added clflush after explicit_bzero on x86 nightly builds
4 years ago
Avril
c0d7234b5a
initial commit
...
fork from 'chacha20'
4 years ago