diff aes.h @ 206:cd7c6ff2132c libavutil

remove dependancy on *malloc()
author michael
date Mon, 15 Jan 2007 01:32:06 +0000
parents f80912b7cb09
children 10fffb98ff76
line wrap: on
line diff
--- a/aes.h	Mon Jan 15 01:05:40 2007 +0000
+++ b/aes.h	Mon Jan 15 01:32:06 2007 +0000
@@ -21,13 +21,15 @@
 #ifndef AES_H
 #define AES_H
 
+extern const int av_aes_size;
+
 struct AVAES;
 
 /**
- * creates a AVAES context, which can be freed with av_free()
+ * initalizes a AVAES context
  * @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);
+int av_aes_init(struct AVAES *a, uint8_t *key, int key_bits, int decrypt);
 
 #endif /* AES_H */