ffmpeg.libavutil.aes_ctr

Undocumented in source.

Members

Functions

av_aes_ctr_alloc
AVAESCTR* av_aes_ctr_alloc()

Allocate an AVAESCTR context.

av_aes_ctr_crypt
void av_aes_ctr_crypt(AVAESCTR* a, ubyte* dst, const(ubyte)* src, int size)

Process a buffer using a previously initialized context. @param dst destination array, can be equal to src @param src source array, can be equal to dst @param size the size of src and dst

av_aes_ctr_free
void av_aes_ctr_free(AVAESCTR* a)

Release an AVAESCTR context.

av_aes_ctr_get_iv
const(ubyte)* av_aes_ctr_get_iv(AVAESCTR* a)

Get the current iv

av_aes_ctr_increment_iv
void av_aes_ctr_increment_iv(AVAESCTR* a)

Increment the top 64 bit of the iv (performed after each frame)

av_aes_ctr_init
int av_aes_ctr_init(AVAESCTR* a, const(ubyte)* key)

Initialize an AVAESCTR context. @param key encryption key, must have a length of AES_CTR_KEY_SIZE

av_aes_ctr_set_full_iv
void av_aes_ctr_set_full_iv(AVAESCTR* a, const(ubyte)* iv)

Forcefully change the "full" 16-byte iv, including the counter

av_aes_ctr_set_iv
void av_aes_ctr_set_iv(AVAESCTR* a, const(ubyte)* iv)

Forcefully change the 8-byte iv

av_aes_ctr_set_random_iv
void av_aes_ctr_set_random_iv(AVAESCTR* a)

Generate a random iv

Manifest constants

AES_CTR_IV_SIZE
enum AES_CTR_IV_SIZE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AES_CTR_KEY_SIZE
enum AES_CTR_KEY_SIZE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

AVAESCTR
struct AVAESCTR
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta