Module ni

Source
Expand description

AES block ciphers implementation using AES-NI instruction set.

Ciphers functionality is accessed using BlockCipher trait from the cipher crate.

ยงVulnerability

Lazy FP state restory vulnerability can allow local process to leak content of the FPU register, in which round keys are stored. This vulnerability can be mitigated at the operating system level by installing relevant patches. (i.e. keep your OS updated!) More info:

Modulesยง

aes128 ๐Ÿ”’
aes192 ๐Ÿ”’
aes256 ๐Ÿ”’
utils ๐Ÿ”’
Utility functions

Macrosยง

define_aes_impl ๐Ÿ”’

Structsยง

Aes128
AES-128 block cipher
Aes192
AES-192 block cipher
Aes256
AES-256 block cipher
Aes128BackDec ๐Ÿ”’
Aes128BackEnc ๐Ÿ”’
Aes128Dec
AES-128 block cipher (decrypt-only)
Aes128Enc
AES-128 block cipher (encrypt-only)
Aes192BackDec ๐Ÿ”’
Aes192BackEnc ๐Ÿ”’
Aes192Dec
AES-192 block cipher (decrypt-only)
Aes192Enc
AES-192 block cipher (encrypt-only)
Aes256BackDec ๐Ÿ”’
Aes256BackEnc ๐Ÿ”’
Aes256Dec
AES-256 block cipher (decrypt-only)
Aes256Enc
AES-256 block cipher (encrypt-only)