HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

Modulecrypto-api-tests-0.3Haskell98

Test.AES

  • 1 value
valuemakeAESTests :: BlockCipher k => k -> IO [Test]
#

Based on NIST KATs, build a list of Tests for the instantiated AES algorithm. e.g. runTests $ makeAESTests (undefined :: AES128)

This is just a hack-job, if the BlockCipher instance doesn't toss keys of incorrect length then you'll get this test running, say, AES128 being tested with the first 128 bits of AES192 and AES256 tests.