|
| uint32_t | block_offset () const |
| |
| bool | InitializeWithIv (const std::vector< uint8_t > &key, const std::vector< uint8_t > &iv) override |
| |
| | AesCryptor (ConstantIvFlag constant_iv_flag) |
| |
| virtual size_t | RequiredOutputSize (size_t plaintext_size) |
| |
| bool | SetIv (const std::vector< uint8_t > &iv) |
| |
| void | UpdateIv () |
| |
| const std::vector< uint8_t > & | iv () const |
| |
| bool | use_constant_iv () const |
| |
| bool | Crypt (const std::vector< uint8_t > &text, std::vector< uint8_t > *crypt_text) |
| |
| bool | Crypt (const std::string &text, std::string *crypt_text) |
| |
| bool | Crypt (const uint8_t *text, size_t text_size, uint8_t *crypt_text) |
| |
| bool | Crypt (const uint8_t *text, size_t text_size, uint8_t *crypt_text, size_t *crypt_text_size) |
| |
|
| enum | ConstantIvFlag { kUseConstantIv
, kDontUseConstantIv
} |
| |
| static bool | GenerateRandomIv (FourCC protection_scheme, std::vector< uint8_t > *iv) |
| |
| enum | CipherMode { kCtrMode
, kCbcMode
} |
| |
| bool | SetupCipher (size_t key_size, CipherMode mode) |
| |
| mbedtls_cipher_context_t | cipher_ctx_ |
| |
Definition at line 22 of file aes_encryptor.h.
◆ AesCtrEncryptor()
| shaka::media::AesCtrEncryptor::AesCtrEncryptor |
( |
| ) |
|
◆ ~AesCtrEncryptor()
| shaka::media::AesCtrEncryptor::~AesCtrEncryptor |
( |
| ) |
|
|
override |
◆ block_offset()
| uint32_t shaka::media::AesCtrEncryptor::block_offset |
( |
| ) |
const |
|
inline |
◆ InitializeWithIv()
| bool shaka::media::AesCtrEncryptor::InitializeWithIv |
( |
const std::vector< uint8_t > & |
key, |
|
|
const std::vector< uint8_t > & |
iv |
|
) |
| |
|
overridevirtual |
The documentation for this class was generated from the following files: