From: Michael Niedermayer Date: Mon, 15 Jan 2007 00:10:25 +0000 (+0000) Subject: av_aes_init() X-Git-Tag: v0.5~10542 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f32f5122ce63c8a54447a36f860fe4863093251d;p=platform%2Fupstream%2Flibav.git av_aes_init() Originally committed as revision 7521 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavutil/aes.h b/libavutil/aes.h index ccafc3f..12e1550 100644 --- a/libavutil/aes.h +++ b/libavutil/aes.h @@ -23,4 +23,11 @@ struct AVAES; +/** + * creates a AVAES context, which can be freed with av_free() + * @param key_bits 128, 192 or 256 + * @param decrypt 0 for encryption, 1 for decryption + */ +struct AVAES *av_aes_init(uint8_t *key, int key_bits, int decrypt); + #endif /* AES_H */