Portability | Excellent |
---|---|
Stability | Stable |
Maintainer | Vincent Hanquez <vincent@snarc.org> |
Safe Haskell | None |
- testBlockCipher :: BlockCipher a => KATs -> a -> Test
- testStreamCipher :: StreamCipher a => [KAT_Stream] -> a -> Test
- defaultKATs :: KATs
- defaultStreamKATs :: [KAT_Stream]
- data KATs = KATs {}
- data KAT_Stream = KAT_Stream {}
- data KAT_ECB = KAT_ECB {}
- data KAT_CBC = KAT_CBC {}
- data KAT_CTR = KAT_CTR {}
- data KAT_XTS = KAT_XTS {}
- data KAT_AEAD = KAT_AEAD {}
Documentation
testBlockCipher :: BlockCipher a => KATs -> a -> TestSource
Return tests for a specific blockcipher and a list of KATs
testStreamCipher :: StreamCipher a => [KAT_Stream] -> a -> TestSource
Return tests for a specific streamcipher and a list of KATs
KATs
the empty KATs
defaultStreamKATs :: [KAT_Stream]Source
the empty KATs for stream
all the KATs. use defaultKATs to prevent compilation error from future expansion of this data structure
data KAT_Stream Source
KAT for Stream cipher
ECB KAT
KAT_ECB | |
|
CBC KAT
KAT_CBC | |
|
CTR KAT
KAT_CTR | |
|
XTS KAT
KAT_XTS | |
|
AEAD KAT
KAT_AEAD | |
|