@hackage cipher-aes0.2.8
Fast AES cipher implementation with advanced mode of operations
Categories
License
BSD-3-Clause
Maintainer
Vincent Hanquez <vincent@snarc.org>
Links
Versions
Deprecated
Dependencies (5)
- base >=4 && <5
- byteable
- bytestring
- crypto-cipher-types >=0.0.6 && <0.1
- securemem >=0.1.2 Show all…
Dependents (24)
@hackage/tls-extra, @hackage/moesocks, @hackage/cipher-aes128, @hackage/peyotls, @hackage/vhd, @hackage/jose-jwt, Show all…
Package Flags
support_aesni
(on by default)
allow compilation with AESNI on system and architecture that supports it
Fast AES cipher implementation with advanced mode of operations.
The modes of operations available are ECB (Electronic code book), CBC (Cipher block chaining), CTR (Counter), XTS (XEX with ciphertext stealing), GCM (Galois Counter Mode).
The AES implementation uses AES-NI when available (on x86 and x86-64 architecture), but fallback gracefully to a software C implementation.
The software implementation uses S-Boxes, which might suffer for cache timing issues. However do notes that most other known software implementations, including very popular one (openssl, gnutls) also uses similar implementation. If it matters for your case, you should make sure you have AES-NI available, or you'll need to use a different implementation.