nil::crypto3::hashes::detail::md5_policy Struct Reference

#include <md5_policy.hpp>

+ Collaboration diagram for nil::crypto3::hashes::detail::md5_policy:

Classes

struct  iv_generator
 

Public Types

typedef block::md5 block_cipher_type
 
typedef block_cipher_type::key_type block_type
 
typedef stream_endian::little_octet_big_bit digest_endian
 
typedef static_digest< digest_bitsdigest_type
 
typedef std::array< std::uint8_t, pkcs_id_sizepkcs_id_type
 
typedef block_cipher_type::block_type state_type
 
typedef block_cipher_type::word_type word_type
 

Static Public Attributes

constexpr static const std::size_t block_bits = block_cipher_type::key_bits
 
constexpr static const std::size_t block_words = block_cipher_type::key_words
 
constexpr static const std::size_t digest_bits = state_bits
 
constexpr static const std::size_t length_bits = word_bits * 2
 
constexpr static const pkcs_id_type pkcs_id
 
constexpr static const std::size_t pkcs_id_bits = pkcs_id_size * CHAR_BIT
 
constexpr static const std::size_t pkcs_id_size = 18
 
constexpr static const std::size_t state_bits = block_cipher_type::block_bits
 
constexpr static const std::size_t state_words = block_cipher_type::block_words
 
constexpr static const std::size_t word_bits = block_cipher_type::word_bits
 

Member Typedef Documentation

◆ block_cipher_type

◆ block_type

◆ digest_endian

◆ digest_type

◆ pkcs_id_type

◆ state_type

◆ word_type

Member Data Documentation

◆ block_bits

constexpr static const std::size_t nil::crypto3::hashes::detail::md5_policy::block_bits = block_cipher_type::key_bits
staticconstexpr

◆ block_words

constexpr static const std::size_t nil::crypto3::hashes::detail::md5_policy::block_words = block_cipher_type::key_words
staticconstexpr

◆ digest_bits

constexpr static const std::size_t nil::crypto3::hashes::detail::md5_policy::digest_bits = state_bits
staticconstexpr

◆ length_bits

constexpr static const std::size_t nil::crypto3::hashes::detail::md5_policy::length_bits = word_bits * 2
staticconstexpr

◆ pkcs_id

constexpr static const pkcs_id_type nil::crypto3::hashes::detail::md5_policy::pkcs_id
staticconstexpr
Initial value:
= {0x30, 0x20, 0x30, 0x0C, 0x06, 0x08,
0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D,
0x02, 0x05, 0x05, 0x00, 0x04, 0x10}

◆ pkcs_id_bits

constexpr static const std::size_t nil::crypto3::hashes::detail::md5_policy::pkcs_id_bits = pkcs_id_size * CHAR_BIT
staticconstexpr

◆ pkcs_id_size

constexpr static const std::size_t nil::crypto3::hashes::detail::md5_policy::pkcs_id_size = 18
staticconstexpr

◆ state_bits

constexpr static const std::size_t nil::crypto3::hashes::detail::md5_policy::state_bits = block_cipher_type::block_bits
staticconstexpr

◆ state_words

constexpr static const std::size_t nil::crypto3::hashes::detail::md5_policy::state_words = block_cipher_type::block_words
staticconstexpr

◆ word_bits

constexpr static const std::size_t nil::crypto3::hashes::detail::md5_policy::word_bits = block_cipher_type::word_bits
staticconstexpr

The documentation for this struct was generated from the following file: