# HG changeset patch # User michael # Date 1168819825 0 # Node ID f80912b7cb09e95b7b22e548ac9ed2e91cffa630 # Parent 921cee9e3a14cf7f241fb5fec812962708974bd3 av_aes_init() diff -r 921cee9e3a14 -r f80912b7cb09 aes.h --- 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 */