crypto::Aes
- Inherits: api::ExecutionContext
public
- crypto::Aes::Crypt
- crypto::Aes::Key
Types
#
DecryptCbcusing crypto::Aes::DecryptCbc = Crypt
Type: Crypt
#
DecryptEcbusing crypto::Aes::DecryptEcb = Crypt
Type: Crypt
#
EncryptCbcusing crypto::Aes::EncryptCbc = Crypt
Type: Crypt
#
EncryptEcbusing crypto::Aes::EncryptEcb = Crypt
Type: Crypt
#
InitializationVectorusing crypto::Aes::InitializationVector = var::Array<u8, 16>
Type: var::Array< u8, 16 >
#
Ivusing crypto::Aes::Iv = InitializationVector
Type: InitializationVector
#
Key128using crypto::Aes::Key128 = var::Array<u8, 16>
Type: var::Array< u8, 16 >
#
Key256using crypto::Aes::Key256 = var::Array<u8, 32>
Type: var::Array< u8, 32 >
Functions
#
Aes()crypto::Aes::Aes ()
#
Aes(Aes &&a) noexceptinline
crypto::Aes::Aes (Aes &&a) noexcept
#
Aes(const Aes &a)=deletecrypto::Aes::Aes (const Aes &a)=delete
#
~Aes()crypto::Aes::~Aes ()
#
decrypt_cbc(const DecryptCbc &options) constconst Aes & crypto::Aes::decrypt_cbc (const DecryptCbc &options) const
Type: const Aes &
Parameters:
- const DecryptCbc &
options
#
decrypt_cbc(var::View input) constinline
var::Data crypto::Aes::decrypt_cbc (var::View input) const
Type: var::Data
Parameters:
- var::View
input
#
decrypt_ecb(const DecryptEcb &options) constconst Aes & crypto::Aes::decrypt_ecb (const DecryptEcb &options) const
Type: const Aes &
Parameters:
- const DecryptEcb &
options
#
decrypt_ecb(var::View input) constinline
var::Data crypto::Aes::decrypt_ecb (var::View input) const
Type: var::Data
Parameters:
- var::View
input
#
encrypt_cbc(const EncryptCbc &options) constconst Aes & crypto::Aes::encrypt_cbc (const EncryptCbc &options) const
Type: const Aes &
Parameters:
- const EncryptCbc &
options
#
encrypt_cbc(var::View input) constinline
var::Data crypto::Aes::encrypt_cbc (var::View input) const
Type: var::Data
Parameters:
- var::View
input
#
encrypt_ecb(const EncryptEcb &options) constconst Aes & crypto::Aes::encrypt_ecb (const EncryptEcb &options) const
Type: const Aes &
Parameters:
- const EncryptEcb &
options
#
encrypt_ecb(var::View input) constinline
var::Data crypto::Aes::encrypt_ecb (var::View input) const
Type: var::Data
Parameters:
- var::View
input
#
initialization_vector() constinline
const InitializationVector & crypto::Aes::initialization_vector () const
Type: const InitializationVector &
#
operator=(Aes &&a) noexceptinline
Aes & crypto::Aes::operator= (Aes &&a) noexcept
Type: Aes &
Parameters:
- Aes &&
a
#
operator=(const Aes &aes)=deleteAes & crypto::Aes::operator= (const Aes &aes)=delete
Type: Aes &
Parameters:
- const Aes &
aes
#
set_initialization_vector(const var::View &value)Aes & crypto::Aes::set_initialization_vector (const var::View &value)
Type: Aes &
Parameters:
- const var::View &
value
#
set_key128(const var::View &key)Aes & crypto::Aes::set_key128 (const var::View &key)
Type: Aes &
Parameters:
- const var::View &
key
#
set_key256(const var::View &key)Aes & crypto::Aes::set_key256 (const var::View &key)
Type: Aes &
Parameters:
- const var::View &
key
Static Functions
#
get_padded_data(const var::View input, u8 padding_value=0xff)inline
static var::Data crypto::Aes::get_padded_data (const var::View input, u8 padding_value=0xff)
Type: var::Data
Parameters:
- const var::View
input
u8
padding_value
#
get_padding(size_t input_size)inline
static size_t crypto::Aes::get_padding (size_t input_size)
Type: size_t
Parameters:
size_t
input_size