nil::crypto3::block::modes Namespace Reference

Namespaces

 detail
 
 padding
 

Classes

struct  authenticated_encryption_associated_data
 Interface for AEAD (Authenticated Encryption with Associated Data) modes. These modes provide both encryption and message authentication, and can authenticate additional per-message data which is not included in the ciphertext (for instance a sequence number). More...
 
struct  ccm
 CCM encryption and decryption. More...
 
struct  cipher_block_chaining
 Cipher Block Chaining Mode (CBC). Xors previous cipher text with current plaintext before encryption. More...
 
struct  cipher_feedback
 Cipher Feedback Mode (CBC). More...
 
struct  ciphertext_stealing_mode
 
struct  ciphertext_stealing_mode< 0, Cipher, Padding >
 
struct  ciphertext_stealing_mode< 1, Cipher, Padding >
 
struct  ciphertext_stealing_mode< 2, Cipher, Padding >
 
struct  ciphertext_stealing_mode< 3, Cipher, Padding >
 
struct  counter
 Counter Mode (CTR). More...
 
struct  eax
 Interface for AEAD (Authenticated Encryption with Associated Data) modes. These modes provide both encryption and message authentication, and can authenticate additional per-message data which is not included in the ciphertext (for instance a sequence number). More...
 
struct  electronic_code_book
 Electronic Code Book Mode (ECB) More...
 
struct  gcm
 Galois/Counter Mode. More...
 
struct  isomorphic
 
struct  ocb
 
struct  output_feedback_mode
 
struct  siv
 SIV encryption and decryption (. More...
 
struct  xts
 IEEE P1619 XTS Mode. More...
 

Typedefs

template<typename Cipher , template< typename > class Padding, template< typename > class Allocator = std::allocator>
using aead = authenticated_encryption_associated_data< Cipher, Padding, Allocator >
 
template<typename Cipher , template< typename > class Padding, template< typename, template< typename > class > class CiphertextStealingMode>
using cbc = cipher_block_chaining< Cipher, Padding, CiphertextStealingMode >
 
template<typename Cipher , std::size_t FeedbackBits, template< typename > class Padding, template< typename, typename > class CiphertextStealingMode = cts0>
using cfb = cipher_feedback< Cipher, FeedbackBits, Padding, CiphertextStealingMode >
 
template<typename Cipher , template< typename > class Padding, template< typename, template< typename > class > class CiphertextStealingMode>
using ctr = counter< Cipher, Padding, CiphertextStealingMode >
 
template<std::size_t Version, typename Cipher , typename Padding >
using cts = ciphertext_stealing_mode< Version, Cipher, Padding >
 
template<typename Cipher , typename Padding >
using cts0 = ciphertext_stealing_mode< 0, Cipher, Padding >
 
template<typename Cipher , typename Padding >
using cts1 = ciphertext_stealing_mode< 1, Cipher, Padding >
 
template<typename Cipher , typename Padding >
using cts2 = ciphertext_stealing_mode< 2, Cipher, Padding >
 
template<typename Cipher , typename Padding >
using cts3 = ciphertext_stealing_mode< 3, Cipher, Padding >
 
template<typename Cipher , template< typename > class Padding>
using ecb = electronic_code_book< Cipher, Padding >
 
template<typename Cipher , template< typename > class Padding, template< typename, template< typename > class > class CiphertextStealingMode = cts0>
using ofb = output_feedback_mode< Cipher, Padding, CiphertextStealingMode >
 

Typedef Documentation

◆ aead

template<typename Cipher , template< typename > class Padding, template< typename > class Allocator = std::allocator>
using nil::crypto3::block::modes::aead = typedef authenticated_encryption_associated_data<Cipher, Padding, Allocator>
Template Parameters
Cipher
Padding
Allocator