raaz-0.3.2: Fast and type safe cryptography.
Safe HaskellNone
LanguageHaskell2010

Blake2b.CHandWritten

Description

The portable C-implementation of Blake2b.

Synopsis

Documentation

type Prim = Blake2b Source #

type Internals = Blake2bMem Source #

type BufferPtr = AlignedBlockPtr BufferAlignment Prim Source #

additionalBlocks :: BlockCount Blake2b Source #

c_blake2b_compress :: BufferPtr -> BlockCount Prim -> Ptr (BYTES Word64) -> Ptr (BYTES Word64) -> Ptr Blake2b -> IO () Source #

c_blake2b_last :: BlockPtr Prim -> BYTES Int -> BYTES Word64 -> BYTES Word64 -> Word64 -> Word64 -> Ptr Blake2b -> IO () Source #

processBlocks :: BufferPtr -> BlockCount Blake2b -> Blake2bMem -> IO () Source #

processLast :: BufferPtr -> BYTES Int -> Blake2bMem -> IO () Source #

Process the last bytes.