9 #include <packager/macros/classes.h>
10 #include <packager/media/base/aes_cryptor.h>
51 uint8_t skip_byte_block,
53 ConstantIvFlag constant_iv_flag,
54 std::unique_ptr<AesCryptor> cryptor);
60 const std::vector<uint8_t>&
iv)
override;
64 bool CryptInternal(
const uint8_t* text,
67 size_t* crypt_text_size)
override;
68 void SetIvInternal()
override;
70 uint8_t crypt_byte_block_;
71 const uint8_t skip_byte_block_;
73 std::unique_ptr<AesCryptor> cryptor_;
All the methods that are virtual are virtual for mocking.