cipher-aes128: AES and common modes using AES-NI when available.

[ bsd3, cryptography, library ] [ Propose Tags ]

Cipher-aes128 is an implementation of AES and common modes of operation. It borrows Hanquez's C AES code (see cipher-aes) but is unique due to including compile-time detection of NI compiler support, a slightly more functional interface for GCM operations, exposure of Ptr based operations via the .Internal module, and build-in crypto-api support. Cipher-aes128 was originally developed as "cipher-aes plus trampolines", which has since been adopted into cipher-aes.

Versions 0.1, 0.2, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.3, 0.3.1, 0.3.2,, 0.4, 0.4.1, 0.5, 0.6, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.7,,,
Dependencies base (>=4.2 && <5), bytestring (>=0.10.2), cereal, cipher-aes128, crypto-api (>=0.13), crypto-api-tests, tagged, test-framework [details]
License BSD-3-Clause
Copyright Thomas M. DuBuisson
Author Thomas M. DuBuisson, Vincent Hanquez (See AUTHORS file)
Revised Revision 1 made by phadej at Wed Mar 14 12:00:00 UTC 2018
Category Cryptography
Home page
Bug tracker
Source repo head: git clone
Uploaded by ThomasDuBuisson at Sun Aug 28 22:25:36 UTC 2016
Distributions Debian:, FreeBSD:, LTSHaskell:, NixOS:, Stackage:, openSUSE:
Executables aes128_test
Downloads 12247 total (71 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-08-28 [all 1 reports]
Hackage Matrix CI





Build a program to test the AES implementation


The HaLVM target


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees