pub trait XofReaderCore: BlockSizeUser {
    // Required method
    fn read_block(&mut self) -> GenericArray<u8, Self::BlockSize>;
}
Expand description

Core reader trait for extendable-output function (XOF) result.

Required Methods§

source

fn read_block(&mut self) -> GenericArray<u8, Self::BlockSize>

Read next XOF block.

Implementations on Foreign Types§

§

impl XofReaderCore for CShake256ReaderCore

§

fn read_block( &mut self ) -> GenericArray<u8, <CShake256ReaderCore as BlockSizeUser>::BlockSize>

§

impl XofReaderCore for Shake128ReaderCore

§

fn read_block( &mut self ) -> GenericArray<u8, <Shake128ReaderCore as BlockSizeUser>::BlockSize>

§

impl XofReaderCore for TurboShake128ReaderCore

§

fn read_block( &mut self ) -> GenericArray<u8, <TurboShake128ReaderCore as BlockSizeUser>::BlockSize>

§

impl XofReaderCore for Shake256ReaderCore

§

fn read_block( &mut self ) -> GenericArray<u8, <Shake256ReaderCore as BlockSizeUser>::BlockSize>

§

impl XofReaderCore for CShake128ReaderCore

§

fn read_block( &mut self ) -> GenericArray<u8, <CShake128ReaderCore as BlockSizeUser>::BlockSize>

§

impl XofReaderCore for TurboShake256ReaderCore

§

fn read_block( &mut self ) -> GenericArray<u8, <TurboShake256ReaderCore as BlockSizeUser>::BlockSize>

Implementors§