Safe Haskell | None |
---|---|
Language | Haskell2010 |
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 #
XChaCha20Mem | |
|
Instances
Memory Internals Source # | |
Defined in XChaCha20.Implementation memoryAlloc :: Alloc Internals unsafeToPointer :: Internals -> Ptr Word8 | |
WriteAccessible Internals Source # | |
Defined in XChaCha20.Implementation writeAccess :: Internals -> [Access] afterWriteAdjustment :: Internals -> IO () | |
Extractable Internals (BlockCount XChaCha20) Source # | |
Defined in XChaCha20.Implementation | |
Initialisable Internals (BlockCount XChaCha20) Source # | |
Defined in XChaCha20.Implementation initialise :: BlockCount XChaCha20 -> Internals -> IO () | |
Initialisable Internals (Key XChaCha20) Source # | |
Defined in XChaCha20.Implementation initialise :: Key XChaCha20 -> Internals -> IO () | |
Initialisable Internals (Nounce XChaCha20) Source # | |
Defined in XChaCha20.Implementation initialise :: Nounce XChaCha20 -> Internals -> IO () |
type BufferAlignment = BufferAlignment Source #
type BufferPtr = AlignedBlockPtr BufferAlignment Prim Source #
additionalBlocks :: BlockCount XChaCha20 Source #