|
const EVP_CIPHER * | keyring_common::aes_encryption::aes_evp_type (const Keyring_aes_opmode mode) |
|
bool | keyring_common::aes_encryption::aes_create_key (const unsigned char *key, unsigned int key_length, std::unique_ptr< unsigned char[]> &rkey, size_t *rkey_size, Keyring_aes_opmode opmode) |
| Transforms an arbitrary long key into a fixed length AES key. More...
|
|
size_t | keyring_common::aes_encryption::get_ciphertext_size (size_t input_size, const Keyring_aes_opmode mode) |
|
aes_return_status | keyring_common::aes_encryption::aes_encrypt (const unsigned char *source, unsigned int source_length, unsigned char *dest, const unsigned char *key, unsigned int key_length, Keyring_aes_opmode mode, const unsigned char *iv, bool padding, size_t *encrypted_length) |
|
aes_return_status | keyring_common::aes_encryption::aes_decrypt (const unsigned char *source, unsigned int source_length, unsigned char *dest, const unsigned char *key, unsigned int key_length, enum Keyring_aes_opmode mode, const unsigned char *iv, bool padding, size_t *decrypted_length) |
|