Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type K1 = DerivedCipher Auth Enc Source #
type K2 = DerivedCipher Auth Mac Source #
type K3 = DerivedCipher NotAuth Enc Source #
type K4 = DerivedCipher NotAuth Mac Source #
:: KeyAuthUse Auth | AuthKey Data |
-> K1' | Result Hash value |
:: KeyAuthUse Auth | AuthKey Data |
-> K2' | Result Hash value |
:: KeyAuthUse NotAuth | Key Data |
-> K3' | Result Hash value |
:: KeyAuthUse NotAuth | Key Data |
-> K4' | Result Hash value |
kdf :: KeyAuthUse k -> UpdateC c -> Derived k c Source #
data DerivedCipher k c Source #
derivedCipher :: Derived k c -> Either CryptoError (DerivedCipher k c) Source #