| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Codec.Automotive.CSE
Documentation
Arguments
| :: ByteString | UID - 15 octet |
| -> Word8 | Key ID - 4 bit |
| -> Word8 | Auth key ID - 4 bit |
| -> M1 |
type K1 = DerivedCipher Auth Enc Source
type K2 = DerivedCipher Auth Mac Source
type K3 = DerivedCipher NotAuth Enc Source
type K4 = DerivedCipher NotAuth Mac Source
Arguments
| :: KeyAuthUse Auth | AuthKey Data |
| -> K1' | Result Hash value |
Arguments
| :: KeyAuthUse Auth | AuthKey Data |
| -> K2' | Result Hash value |
Arguments
| :: KeyAuthUse NotAuth | Key Data |
| -> K3' | Result Hash value |
Arguments
| :: 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