projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6287dc9
)
av_aes_init()
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 15 Jan 2007 00:10:25 +0000
(
00:10
+0000)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/libavutil/aes.h
b/libavutil/aes.h
index
ccafc3f
..
12e1550
100644
(file)
--- 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 */