summaryrefslogtreecommitdiff
path: root/libavutil/aes.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-01-15 00:10:25 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-01-15 00:10:25 +0000
commitf32f5122ce63c8a54447a36f860fe4863093251d (patch)
treeed74d95689370a8180820e10518802bbc7b19630 /libavutil/aes.h
parent6287dc9aae24e831770775253f011776b27cd7fa (diff)
av_aes_init()
Originally committed as revision 7521 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/aes.h')
-rw-r--r--libavutil/aes.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavutil/aes.h b/libavutil/aes.h
index ccafc3f761..12e15501d3 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 */