crypto-api-0.13.3: A generic interface for cryptographic operations

MaintainerThomas.DuBuisson@gmail.com
Stabilitybeta
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Crypto.Modes

Contents

Description

 

Synopsis

Initialization Vector Type, Modifiers (for all ciphers, all modes that use IVs)

dblIV :: BlockCipher k => IV k -> IV k Source #

Perform doubling as defined by the CMAC and SIV papers

Authentication modes

cbcMac' :: BlockCipher k => k -> ByteString -> ByteString Source #

Cipher block chaining message authentication

cbcMac :: BlockCipher k => k -> ByteString -> ByteString Source #

Cipher block chaining message authentication

cMac :: BlockCipher k => k -> ByteString -> ByteString Source #

Obtain the cmac for lazy bytestrings

cMac' :: BlockCipher k => k -> ByteString -> ByteString Source #

Obtain the cmac for strict bytestrings

cMacStar' :: BlockCipher k => k -> [ByteString] -> ByteString Source #

Obtain the CMAC* on strict bytestrings