Safe Haskell | None |
---|---|
Language | Haskell2010 |
The portable C-implementation of Blake2s.
Synopsis
- name :: String
- description :: String
- type Prim = Blake2s
- type Internals = Blake2sMem
- type BufferAlignment = 32
- type BufferPtr = AlignedBlockPtr BufferAlignment Prim
- additionalBlocks :: BlockCount Prim
- c_blake2s_compress :: BufferPtr -> BlockCount Blake2s -> BYTES Word64 -> Ptr Prim -> IO ()
- c_blake2s_last :: BlockPtr Prim -> BYTES Int -> BYTES Word64 -> Word32 -> Word32 -> Ptr Prim -> IO ()
- processBlocks :: BufferPtr -> BlockCount Prim -> Internals -> IO ()
- processLast :: BufferPtr -> BYTES Int -> Internals -> IO ()