vincenthz / hs-cipher-aes

DEPRECATED - use cryptonite - a comprehensive fast AES implementation for haskell that supports aesni and advanced cryptographic modes.
Other
22 stars 15 forks source link

Fast AES for haskell

This is a simple and efficient AES implementation providing all most important mode of operations.

Modes supported:

Implementation details:

TODO:

Compilation Errors

Some older installed system do not support AESNI instructions, and cabal doesn't have a good mechanism for doing discovery of those old systems limitations.

One can use the following lists of command to solve the problems (doing forget to substitute what need be):

cabal unpack cipher-aes
cd cipher-aes-<VERSION>
cabal configure --flag -support_aesni <OTHER OPTIONS>
cabal install

Another alternative is upgrading your userspace environment to have a gcc version that is at least >= 4.4 (2009), and a binutils >= 2.18 (2007).