Botan  1.11.15
Namespaces | Defines | Functions
src/lib/modes/mode_utils.h File Reference
#include <botan/cipher_mode.h>
#include <botan/internal/algo_registry.h>
#include <botan/block_cipher.h>
#include <botan/loadstor.h>
#include <botan/internal/xor_buf.h>
#include <botan/internal/rounding.h>
#include <botan/internal/bit_ops.h>
#include <algorithm>

Go to the source code of this file.

Namespaces

namespace  Botan

Defines

#define BOTAN_REGISTER_BLOCK_CIPHER_MODE(E, D)
#define BOTAN_REGISTER_BLOCK_CIPHER_MODE_LEN(E, D, LEN)
#define BOTAN_REGISTER_BLOCK_CIPHER_MODE_LEN2(E, D, LEN1, LEN2)

Functions

template<typename T >
T * Botan::make_block_cipher_mode (const Transform::Spec &spec)
template<typename T , size_t LEN1>
T * Botan::make_block_cipher_mode_len (const Transform::Spec &spec)
template<typename T , size_t LEN1, size_t LEN2>
T * Botan::make_block_cipher_mode_len2 (const Transform::Spec &spec)

Define Documentation

#define BOTAN_REGISTER_BLOCK_CIPHER_MODE (   E,
 
)
Value:
BOTAN_REGISTER_NAMED_T(Transform, #E, E, make_block_cipher_mode<E>); \
   BOTAN_REGISTER_NAMED_T(Transform, #D, D, make_block_cipher_mode<D>);

Definition at line 55 of file mode_utils.h.

#define BOTAN_REGISTER_BLOCK_CIPHER_MODE_LEN (   E,
  D,
  LEN 
)
Value:
BOTAN_REGISTER_NAMED_T(Transform, #E, E, (make_block_cipher_mode_len<E, LEN>)); \
   BOTAN_REGISTER_NAMED_T(Transform, #D, D, (make_block_cipher_mode_len<D, LEN>));

Definition at line 59 of file mode_utils.h.

#define BOTAN_REGISTER_BLOCK_CIPHER_MODE_LEN2 (   E,
  D,
  LEN1,
  LEN2 
)
Value:
BOTAN_REGISTER_NAMED_T(Transform, #E, E, (make_block_cipher_mode_len2<E, LEN1, LEN2>)); \
   BOTAN_REGISTER_NAMED_T(Transform, #D, D, (make_block_cipher_mode_len2<D, LEN1, LEN2>));

Definition at line 63 of file mode_utils.h.