#include <Ap4StreamCipher.h>
Public Member Functions | |
AP4_CtrStreamCipher (AP4_BlockCipher *block_cipher, const AP4_UI08 *salt, AP4_Size counter_size) | |
The block cipher is passed with transfer of ownership (it will be destroyed when this object is destroyed). | |
~AP4_CtrStreamCipher () | |
void | SetStreamOffset (AP4_UI64 offset) |
void | SetBaseCounter (const AP4_UI08 *counter) |
AP4_Result | ProcessBuffer (const AP4_UI08 *in, AP4_UI08 *out, AP4_Size size) |
const AP4_UI08 * | GetBaseCounter () |
AP4_UI64 | GetStreamOffset () |
Definition at line 48 of file Ap4StreamCipher.h.
AP4_CtrStreamCipher::AP4_CtrStreamCipher | ( | AP4_BlockCipher * | block_cipher, | |
const AP4_UI08 * | salt, | |||
AP4_Size | counter_size | |||
) |
The block cipher is passed with transfer of ownership (it will be destroyed when this object is destroyed).
AP4_CtrStreamCipher::~AP4_CtrStreamCipher | ( | ) |
void AP4_CtrStreamCipher::SetStreamOffset | ( | AP4_UI64 | offset | ) |
void AP4_CtrStreamCipher::SetBaseCounter | ( | const AP4_UI08 * | counter | ) |
AP4_Result AP4_CtrStreamCipher::ProcessBuffer | ( | const AP4_UI08 * | in, | |
AP4_UI08 * | out, | |||
AP4_Size | size | |||
) |
const AP4_UI08* AP4_CtrStreamCipher::GetBaseCounter | ( | ) | [inline] |
Definition at line 66 of file Ap4StreamCipher.h.
AP4_UI64 AP4_CtrStreamCipher::GetStreamOffset | ( | ) | [inline] |
Definition at line 67 of file Ap4StreamCipher.h.