threefish-0.2.6: The Threefish block cipher and the Skein hash function for Haskell.
Crypto.Threefish.Skein.Internal
Description
Skein FFI internals.
newtype Skein256Ctx Source
Constructors
skein256_initSource
Arguments
Skein 256 context to initialize.
Desired key or nullPtr.
Output size in bits.
skein256_updateSource
Skein 256 context.
First/last update? First starts a new tweak. (First bit indicates first, second bit indicates last.)
Type of block, as given by type2int.
Length of block. Must be multiple of 32 except for last.
Pointer to update data.
skein256_outputSource
First output block to get.
Last output block to get.
Pointer to store output data in.