bindings-nettle-0.4: bindings to nettle crypto library
Safe HaskellSafe
LanguageHaskell2010

Bindings.Nettle.Hash.SHA3

Documentation

data C'sha3_256_ctx Source #

Constructors

C'sha3_256_ctx 

Instances

Instances details
Eq C'sha3_256_ctx Source # 
Instance details

Defined in Bindings.Nettle.Hash.SHA3

Show C'sha3_256_ctx Source # 
Instance details

Defined in Bindings.Nettle.Hash.SHA3

Methods

showsPrec :: Int -> C'sha3_256_ctx -> ShowS

show :: C'sha3_256_ctx -> String

showList :: [C'sha3_256_ctx] -> ShowS

Storable C'sha3_256_ctx Source # 
Instance details

Defined in Bindings.Nettle.Hash.SHA3

Methods

sizeOf :: C'sha3_256_ctx -> Int

alignment :: C'sha3_256_ctx -> Int

peekElemOff :: Ptr C'sha3_256_ctx -> Int -> IO C'sha3_256_ctx

pokeElemOff :: Ptr C'sha3_256_ctx -> Int -> C'sha3_256_ctx -> IO ()

peekByteOff :: Ptr b -> Int -> IO C'sha3_256_ctx

pokeByteOff :: Ptr b -> Int -> C'sha3_256_ctx -> IO ()

peek :: Ptr C'sha3_256_ctx -> IO C'sha3_256_ctx

poke :: Ptr C'sha3_256_ctx -> C'sha3_256_ctx -> IO ()

c'nettle_sha3_256_update :: Ptr C'sha3_256_ctx -> CUInt -> Ptr CUChar -> IO () Source #

c'nettle_sha3_256_digest :: Ptr C'sha3_256_ctx -> CUInt -> Ptr CUChar -> IO () Source #

p'nettle_sha3_256_update :: FunPtr (Ptr C'sha3_256_ctx -> CUInt -> Ptr CUChar -> IO ()) Source #

p'nettle_sha3_256_digest :: FunPtr (Ptr C'sha3_256_ctx -> CUInt -> Ptr CUChar -> IO ()) Source #

data C'sha3_224_ctx Source #

Constructors

C'sha3_224_ctx 

Instances

Instances details
Eq C'sha3_224_ctx Source # 
Instance details

Defined in Bindings.Nettle.Hash.SHA3

Show C'sha3_224_ctx Source # 
Instance details

Defined in Bindings.Nettle.Hash.SHA3

Methods

showsPrec :: Int -> C'sha3_224_ctx -> ShowS

show :: C'sha3_224_ctx -> String

showList :: [C'sha3_224_ctx] -> ShowS

Storable C'sha3_224_ctx Source # 
Instance details

Defined in Bindings.Nettle.Hash.SHA3

Methods

sizeOf :: C'sha3_224_ctx -> Int

alignment :: C'sha3_224_ctx -> Int

peekElemOff :: Ptr C'sha3_224_ctx -> Int -> IO C'sha3_224_ctx

pokeElemOff :: Ptr C'sha3_224_ctx -> Int -> C'sha3_224_ctx -> IO ()

peekByteOff :: Ptr b -> Int -> IO C'sha3_224_ctx

pokeByteOff :: Ptr b -> Int -> C'sha3_224_ctx -> IO ()

peek :: Ptr C'sha3_224_ctx -> IO C'sha3_224_ctx

poke :: Ptr C'sha3_224_ctx -> C'sha3_224_ctx -> IO ()

c'nettle_sha3_224_update :: Ptr C'sha3_224_ctx -> CUInt -> Ptr CUChar -> IO () Source #

c'nettle_sha3_224_digest :: Ptr C'sha3_224_ctx -> CUInt -> Ptr CUChar -> IO () Source #

p'nettle_sha3_224_update :: FunPtr (Ptr C'sha3_224_ctx -> CUInt -> Ptr CUChar -> IO ()) Source #

p'nettle_sha3_224_digest :: FunPtr (Ptr C'sha3_224_ctx -> CUInt -> Ptr CUChar -> IO ()) Source #

data C'sha3_512_ctx Source #

Constructors

C'sha3_512_ctx 

Instances

Instances details
Eq C'sha3_512_ctx Source # 
Instance details

Defined in Bindings.Nettle.Hash.SHA3

Show C'sha3_512_ctx Source # 
Instance details

Defined in Bindings.Nettle.Hash.SHA3

Methods

showsPrec :: Int -> C'sha3_512_ctx -> ShowS

show :: C'sha3_512_ctx -> String

showList :: [C'sha3_512_ctx] -> ShowS

Storable C'sha3_512_ctx Source # 
Instance details

Defined in Bindings.Nettle.Hash.SHA3

Methods

sizeOf :: C'sha3_512_ctx -> Int

alignment :: C'sha3_512_ctx -> Int

peekElemOff :: Ptr C'sha3_512_ctx -> Int -> IO C'sha3_512_ctx

pokeElemOff :: Ptr C'sha3_512_ctx -> Int -> C'sha3_512_ctx -> IO ()

peekByteOff :: Ptr b -> Int -> IO C'sha3_512_ctx

pokeByteOff :: Ptr b -> Int -> C'sha3_512_ctx -> IO ()

peek :: Ptr C'sha3_512_ctx -> IO C'sha3_512_ctx

poke :: Ptr C'sha3_512_ctx -> C'sha3_512_ctx -> IO ()

c'nettle_sha3_512_update :: Ptr C'sha3_512_ctx -> CUInt -> Ptr CUChar -> IO () Source #

c'nettle_sha3_512_digest :: Ptr C'sha3_512_ctx -> CUInt -> Ptr CUChar -> IO () Source #

p'nettle_sha3_512_update :: FunPtr (Ptr C'sha3_512_ctx -> CUInt -> Ptr CUChar -> IO ()) Source #

p'nettle_sha3_512_digest :: FunPtr (Ptr C'sha3_512_ctx -> CUInt -> Ptr CUChar -> IO ()) Source #

data C'sha3_384_ctx Source #

Constructors

C'sha3_384_ctx 

Instances

Instances details
Eq C'sha3_384_ctx Source # 
Instance details

Defined in Bindings.Nettle.Hash.SHA3

Show C'sha3_384_ctx Source # 
Instance details

Defined in Bindings.Nettle.Hash.SHA3

Methods

showsPrec :: Int -> C'sha3_384_ctx -> ShowS

show :: C'sha3_384_ctx -> String

showList :: [C'sha3_384_ctx] -> ShowS

Storable C'sha3_384_ctx Source # 
Instance details

Defined in Bindings.Nettle.Hash.SHA3

Methods

sizeOf :: C'sha3_384_ctx -> Int

alignment :: C'sha3_384_ctx -> Int

peekElemOff :: Ptr C'sha3_384_ctx -> Int -> IO C'sha3_384_ctx

pokeElemOff :: Ptr C'sha3_384_ctx -> Int -> C'sha3_384_ctx -> IO ()

peekByteOff :: Ptr b -> Int -> IO C'sha3_384_ctx

pokeByteOff :: Ptr b -> Int -> C'sha3_384_ctx -> IO ()

peek :: Ptr C'sha3_384_ctx -> IO C'sha3_384_ctx

poke :: Ptr C'sha3_384_ctx -> C'sha3_384_ctx -> IO ()

c'nettle_sha3_384_update :: Ptr C'sha3_384_ctx -> CUInt -> Ptr CUChar -> IO () Source #

c'nettle_sha3_384_digest :: Ptr C'sha3_384_ctx -> CUInt -> Ptr CUChar -> IO () Source #

p'nettle_sha3_384_update :: FunPtr (Ptr C'sha3_384_ctx -> CUInt -> Ptr CUChar -> IO ()) Source #

p'nettle_sha3_384_digest :: FunPtr (Ptr C'sha3_384_ctx -> CUInt -> Ptr CUChar -> IO ()) Source #