| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
XChaCha20.Implementation
Synopsis
- name :: String
- description :: String
- type Prim = XChaCha20
- data Internals = XChaCha20Mem {
- copyOfKey :: MemoryCell (Key ChaCha20)
- chacha20Internals :: Internals
- type BufferAlignment = BufferAlignment
- type BufferPtr = AlignedBlockPtr BufferAlignment Prim
- additionalBlocks :: BlockCount XChaCha20
- processBlocks :: BufferPtr -> BlockCount Prim -> Internals -> IO ()
- processLast :: BufferPtr -> BYTES Int -> Internals -> IO ()
Documentation
description :: String Source #
Constructors
| XChaCha20Mem | |
Fields
| |
Instances
| Memory Internals Source # | |
Defined in XChaCha20.Implementation | |
| WriteAccessible Internals Source # | |
Defined in XChaCha20.Implementation | |
| Extractable Internals (BlockCount XChaCha20) Source # | |
Defined in XChaCha20.Implementation | |
| Initialisable Internals (BlockCount XChaCha20) Source # | |
Defined in XChaCha20.Implementation Methods initialise :: BlockCount XChaCha20 -> Internals -> IO () | |
| Initialisable Internals (Key XChaCha20) Source # | |
Defined in XChaCha20.Implementation Methods initialise :: Key XChaCha20 -> Internals -> IO () | |
| Initialisable Internals (Nounce XChaCha20) Source # | |
Defined in XChaCha20.Implementation Methods initialise :: Nounce XChaCha20 -> Internals -> IO () | |
type BufferAlignment = BufferAlignment Source #
type BufferPtr = AlignedBlockPtr BufferAlignment Prim Source #
additionalBlocks :: BlockCount XChaCha20 Source #