Botan  2.19.1
Crypto and TLS for C++11
Namespaces | Macros | Functions
openssl_mode.cpp File Reference
#include <botan/cipher_mode.h>
#include <botan/internal/rounding.h>
#include <botan/internal/openssl.h>
#include <openssl/evp.h>
#include <limits.h>

Go to the source code of this file.

Namespaces

 Botan
 

Macros

#define MAKE_OPENSSL_MODE(evp_fn)   new OpenSSL_Cipher_Mode(name, (evp_fn)(), direction)
 

Functions

Cipher_Mode * Botan::make_openssl_cipher_mode (const std::string &name, Cipher_Dir direction)
 

Macro Definition Documentation

#define MAKE_OPENSSL_MODE (   evp_fn)    new OpenSSL_Cipher_Mode(name, (evp_fn)(), direction)

Variable Documentation

size_t m_block_size
EVP_CIPHER_CTX* m_cipher

Definition at line 48 of file openssl_mode.cpp.

const Cipher_Dir m_direction

Definition at line 46 of file openssl_mode.cpp.

bool m_key_set

Definition at line 49 of file openssl_mode.cpp.

const std::string m_mode_name

Definition at line 45 of file openssl_mode.cpp.

bool m_nonce_set

Definition at line 50 of file openssl_mode.cpp.