File: Types.hs

package info (click to toggle)
haskell-crypton 1.0.4-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,548 kB
  • sloc: haskell: 26,764; ansic: 22,294; makefile: 6
file content (41 lines) | stat: -rw-r--r-- 865 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{-# LANGUAGE DeriveDataTypeable #-}

-- |
-- Module      : Crypto.Cipher.Types
-- License     : BSD-style
-- Maintainer  : Vincent Hanquez <vincent@snarc.org>
-- Stability   : Stable
-- Portability : Excellent
--
-- Symmetric cipher basic types
module Crypto.Cipher.Types (
    -- * Cipher classes
    Cipher (..),
    BlockCipher (..),
    BlockCipher128 (..),
    StreamCipher (..),
    DataUnitOffset,
    KeySizeSpecifier (..),
    -- , cfb8Encrypt
    -- , cfb8Decrypt

    -- * AEAD functions
    AEADMode (..),
    CCM_M (..),
    CCM_L (..),
    module Crypto.Cipher.Types.AEAD,

    -- * Initial Vector type and constructor
    IV,
    makeIV,
    nullIV,
    ivAdd,

    -- * Authentification Tag
    AuthTag (..),
) where

import Crypto.Cipher.Types.AEAD
import Crypto.Cipher.Types.Base
import Crypto.Cipher.Types.Block
import Crypto.Cipher.Types.Stream