Skip to content

stream-cipher-v0.8.0-pre

@tarcieri tarcieri tagged this 14 Oct 17:39
Support for initializing a stream cipher from a `BlockCipherMut`.

This is a corollary to `FromBlockCipher`, but for cases where `mut`
access is needed to the inner block cipher instance (e.g. cryptographic
accelerator hardware peripherals).

Using chained blanket impls, it's possible to allow a blanket impl of
`NewStreamCipher` for types which impl either `FromBlockCipherMut` or
`FromBlockCipher`.
Assets 2
Loading