52void av_tea_init(
struct AVTEA *ctx,
const uint8_t key[16],
int rounds);
64void av_tea_crypt(
struct AVTEA *ctx, uint8_t *dst,
const uint8_t *src,
65 int count, uint8_t *iv,
int decrypt);
void av_tea_init(struct AVTEA *ctx, const uint8_t key[16], int rounds)
Initialize an AVTEA context.
struct AVTEA * av_tea_alloc(void)
Allocate an AVTEA context To free the struct: av_free(ptr)
void av_tea_crypt(struct AVTEA *ctx, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt)
Encrypt or decrypt a buffer using a previously initialized context.