Safe Haskell | None |
---|
Crypto.Threefish.Skein.Internal
Description
Skein FFI internals.
Documentation
newtype Skein256Ctx Source
Constructors
Skein256Ctx (ForeignPtr Word64) |
Arguments
:: Ptr Word64 | Skein 256 context. |
-> Int | First/last update? First starts a new tweak. (First bit indicates first, second bit indicates last.) |
-> Int | Type of block, as given by type2int. |
-> Word64 | Length of block. Must be multiple of 32 except for last. |
-> Ptr Word64 | Pointer to update data. |
-> IO () |