av_aes_init()
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 15 Jan 2007 00:10:25 +0000 (00:10 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 15 Jan 2007 00:10:25 +0000 (00:10 +0000)
Originally committed as revision 7521 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/aes.h

index ccafc3f..12e1550 100644 (file)
 
 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 */