annotate aes.h @ 202:f80912b7cb09 libavutil

av_aes_init()
author michael
date Mon, 15 Jan 2007 00:10:25 +0000
parents 921cee9e3a14
children cd7c6ff2132c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
201
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
1 /*
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
2 * copyright (c) 2007 Michael Niedermayer <michaelni@gmx.at>
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
3 *
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
4 * This file is part of FFmpeg.
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
5 *
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
6 * FFmpeg is free software; you can redistribute it and/or
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
7 * modify it under the terms of the GNU Lesser General Public
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
8 * License as published by the Free Software Foundation; either
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
9 * version 2.1 of the License, or (at your option) any later version.
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
10 *
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
11 * FFmpeg is distributed in the hope that it will be useful,
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
14 * Lesser General Public License for more details.
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
15 *
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
16 * You should have received a copy of the GNU Lesser General Public
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
17 * License along with FFmpeg; if not, write to the Free Software
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
19 */
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
20
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
21 #ifndef AES_H
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
22 #define AES_H
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
23
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
24 struct AVAES;
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
25
202
f80912b7cb09 av_aes_init()
michael
parents: 201
diff changeset
26 /**
f80912b7cb09 av_aes_init()
michael
parents: 201
diff changeset
27 * creates a AVAES context, which can be freed with av_free()
f80912b7cb09 av_aes_init()
michael
parents: 201
diff changeset
28 * @param key_bits 128, 192 or 256
f80912b7cb09 av_aes_init()
michael
parents: 201
diff changeset
29 * @param decrypt 0 for encryption, 1 for decryption
f80912b7cb09 av_aes_init()
michael
parents: 201
diff changeset
30 */
f80912b7cb09 av_aes_init()
michael
parents: 201
diff changeset
31 struct AVAES *av_aes_init(uint8_t *key, int key_bits, int decrypt);
f80912b7cb09 av_aes_init()
michael
parents: 201
diff changeset
32
201
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
33 #endif /* AES_H */