cipher-aes128-0.1: AES128 using AES-NI when available.
Crypto.Cipher.AES128.Internal
data AESKey Source
Constructors
Fields
Instances
data RawKey Source
generateKeySource
Arguments
Buffer of 16 bytes of key material
encryptECBSource
The key
The result buffer
The source buffer
The input size in blocks
decryptECBSource
encryptGCM :: AESKey -> Ptr Word8 -> Int -> Ptr Word8 -> Int -> Ptr Word8 -> Int -> Ptr Word8 -> Ptr Word8 -> IO ()Source
decryptGCM :: AESKey -> Ptr Word8 -> Int -> Ptr Word8 -> Int -> Ptr Word8 -> Int -> Ptr Word8 -> Ptr Word8 -> IO ()Source