24 0x6d, 0x6f, 0x73, 0x74, 0x20, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d
Memory handling functions.
void av_aes_ctr_crypt(struct AVAESCTR *a, uint8_t *dst, const uint8_t *src, int count)
Process a buffer using a previously initialized context.
#define DECLARE_ALIGNED(n, t, v)
Declare a variable that is aligned in memory.
void av_aes_ctr_free(struct AVAESCTR *a)
Release an AVAESCTR context.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
static const uint8_t plain[]
struct AVAESCTR * av_aes_ctr_alloc(void)
Allocate an AVAESCTR context.
void av_aes_ctr_set_random_iv(struct AVAESCTR *a)
Generate a random iv.
#define AV_LOG_INFO
Standard information.
void av_aes_ctr_set_iv(struct AVAESCTR *a, const uint8_t *iv)
Forcefully change the iv.
int av_aes_ctr_init(struct AVAESCTR *a, const uint8_t *key)
Initialize an AVAESCTR context.
const uint8_t * av_aes_ctr_get_iv(struct AVAESCTR *a)
Get the current iv.