Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- name :: String
- description :: String
- type RandomBufferSize = 16
- reseedAfter :: BlockCount Prim
- randomBlocks :: BufferPtr -> BlockCount Prim -> Internals -> IO ()
- type Prim = ChaCha20
- type Internals = ChaCha20Mem
- type BufferAlignment = 32
- type BufferPtr = AlignedBlockPtr BufferAlignment Prim
- additionalBlocks :: BlockCount ChaCha20
Documentation
description :: String Source #
type RandomBufferSize = 16 Source #
The number of blocks of the cipher that is generated in one go encoded as a type level nat.
reseedAfter :: BlockCount Prim Source #
How many blocks of the primitive to generated before re-seeding.
type BufferAlignment = 32 Source #
type BufferPtr = AlignedBlockPtr BufferAlignment Prim Source #
additionalBlocks :: BlockCount ChaCha20 Source #