changeset 202:f80912b7cb09 libavutil

av_aes_init()
author michael
date Mon, 15 Jan 2007 00:10:25 +0000
parents 921cee9e3a14
children df7abe256711
files aes.h
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/aes.h	Mon Jan 15 00:07:39 2007 +0000
+++ b/aes.h	Mon Jan 15 00:10:25 2007 +0000
@@ -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 */