Safe Haskell | None |
---|---|
Language | Haskell2010 |
The portable C-implementation of Blake2b.
Synopsis
- name :: String
- description :: String
- type Prim = Blake2b
- type Internals = Blake2bMem
- type BufferAlignment = 32
- type BufferPtr = AlignedBlockPtr BufferAlignment Prim
- additionalBlocks :: BlockCount Blake2b
- c_blake2b_compress :: BufferPtr -> BlockCount Prim -> Ptr (BYTES Word64) -> Ptr (BYTES Word64) -> Ptr Blake2b -> IO ()
- c_blake2b_last :: BlockPtr Prim -> BYTES Int -> BYTES Word64 -> BYTES Word64 -> Word64 -> Word64 -> Ptr Blake2b -> IO ()
- processBlocks :: BufferPtr -> BlockCount Blake2b -> Blake2bMem -> IO ()
- processLast :: BufferPtr -> BYTES Int -> Blake2bMem -> IO ()
Documentation
description :: String Source #
type BufferAlignment = 32 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 #