Commit Graph

39 Commits (master)

Author SHA1 Message Date
Avril d76b77fbf1
Fixed build fail with async feature.
3 years ago
Avril 903bfcd7c4
Added `from_parts()`, as counterpart to `into_parts()`.
3 years ago
Avril 0645e61590
Exposed `cha` module for keygen and `Crypter` creation.
3 years ago
Avril e7f56fb6ee
Added AsyncSource: Feature `async` version of `Source`. (Does not include the buffer config that the syncronous `Source` uses.)
3 years ago
Avril 9784208fc8
Added crate-level re-exports.
3 years ago
Avril 5d1ac4fa7a
Started AsyncSource.
3 years ago
Avril e536d6b232
Moved async_stream::Sink into seperate files.
3 years ago
Avril 20199e3610 Added basic docs to `Source`.
3 years ago
Avril ea70fdc2d1
Fix failing tests of buffer.
3 years ago
Avril 907862f554
Source: Encrypt and Decrypt tests passing. (For both internal and external buffer.)
3 years ago
Avril 30416382ec
Renamed `reuse-buffer` to `ad-hoc-buffer`
3 years ago
Avril 843616e35e
impl `Read` for `Source`: Implemented for internal and external buffer usage
3 years ago
Avril 6cbbf2bd2c
XXX: Can"t update crypter with an in-place buffer...
3 years ago
Avril 404d4511f8
Added compile-time distunguishing of internal/external buffer usage
3 years ago
Avril e18b166514
`stream`: Move `Sink` and `Source` to seperate files
3 years ago
Avril 107b7902e1
Source<R>::read(),transform() impl.
3 years ago
Avril 42dbd94392
Start: `Source<R>`: chacha20_poly1305 en/decryption wrapper over `io::Read` types.
3 years ago
Avril b7c8c64733
cookie config alowing backing stream ownership transfer to be optional
3 years ago
Avril d5c9492c44
removed cc dep
3 years ago
Avril 7226ebdb7b
static linking works when cc lto is disabled
3 years ago
Avril e76499c166
tests passing. static linking failing, not sure why
3 years ago
Avril 65ad649519
TODO: rework error reporting
3 years ago
Avril 6937dc5242
failing FFI test
3 years ago
Avril f8dc3de398
fix cookie return vals
3 years ago
Avril 9557d4e80b
cookie open creation
3 years ago
Avril 860cf33b41
added cc20_write() to write to CSink
3 years ago
Avril 13e3b84929
added C FFI header
3 years ago
Avril bf63998e73
C interface write passthrough and opaque allocation ok
3 years ago
Avril 90d3c2615f
start FFI function implementations
3 years ago
Avril d9dd56faf0
added serde support
3 years ago
Avril 9333e994f2
document key/iv encoding/decoding
3 years ago
Avril 4b4d752491
added documentation
3 years ago
Avril 317a9b47a8
async working
3 years ago
Avril 969653b1aa
async stream start
3 years ago
Avril f42cedafc3
cleaned up prune
3 years ago
Avril 1621ca45b6
prevent inlining of prune on explicit_clear nightly builds
3 years ago
Avril 1c61cee7ae
remove dependency on non-standard 'explicit_bzero()' on nightly builds
3 years ago
Avril 1ecf0eab91
added clflush after explicit_bzero on x86 nightly builds
3 years ago
Avril c0d7234b5a
initial commit
3 years ago