Skip to content

Commit

Permalink
av_aes_init()
Browse files Browse the repository at this point in the history
Originally committed as revision 7521 to svn://svn.ffmpeg.org/ffmpeg/trunk
  • Loading branch information
michaelni committed Jan 15, 2007
1 parent 6287dc9 commit f32f512
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions libavutil/aes.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit f32f512

Please sign in to comment.