|
| | AesCipher (const uint8_t *key) |
| | Constructs an AES cipher with a zero initialization vector.
|
| |
| | AesCipher (const uint8_t *key, const std::array< uint8_t, 16 > &init_vec) |
| | Constructs an AES cipher with a given initialization vector.
|
| |
|
| ~AesCipher () |
| | Destroys the cipher and frees the OpenSSL contexts.
|
| |
| const std::array< uint8_t, 16 > & | InitializationVector () const override |
| | Returns the initialization vector.
|
| |
| void | Decrypt (const std::array< uint8_t, 16 > &src, std::array< uint8_t, 16 > &dst) const override |
| | Decrypts a single 16-byte block using AES-256-ECB.
|
| |
| void | Encrypt (const std::array< uint8_t, 16 > &src, std::array< uint8_t, 16 > &dst) const override |
| | Encrypts a single 16-byte block using AES-256-ECB.
|
| |
| virtual void | Decrypt (const std::array< uint8_t, N > &src, std::array< uint8_t, N > &dst) const=0 |
| | Decrypts a single block.
|
| |
| virtual void | Encrypt (const std::array< uint8_t, N > &src, std::array< uint8_t, N > &dst) const=0 |
| | Encrypts a single block.
|
| |
AES-256-ECB block cipher using OpenSSL's EVP interface.