annotate aes.h @ 206:cd7c6ff2132c libavutil

remove dependancy on *malloc()
author michael
date Mon, 15 Jan 2007 01:32:06 +0000
parents f80912b7cb09
children 10fffb98ff76
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
206
cd7c6ff2132c remove dependancy on *malloc()
michael
parents: 202
diff changeset
24 extern const int av_aes_size;
cd7c6ff2132c remove dependancy on *malloc()
michael
parents: 202
diff changeset
25
201
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
26 struct AVAES;
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
27
202
f80912b7cb09 av_aes_init()
michael
parents: 201
diff changeset
28 /**
206
cd7c6ff2132c remove dependancy on *malloc()
michael
parents: 202
diff changeset
29 * initalizes a AVAES context
202
f80912b7cb09 av_aes_init()
michael
parents: 201
diff changeset
30 * @param key_bits 128, 192 or 256
f80912b7cb09 av_aes_init()
michael
parents: 201
diff changeset
31 * @param decrypt 0 for encryption, 1 for decryption
f80912b7cb09 av_aes_init()
michael
parents: 201
diff changeset
32 */
206
cd7c6ff2132c remove dependancy on *malloc()
michael
parents: 202
diff changeset
33 int av_aes_init(struct AVAES *a, uint8_t *key, int key_bits, int decrypt);
202
f80912b7cb09 av_aes_init()
michael
parents: 201
diff changeset
34
201
921cee9e3a14 the missing header ...
michael
parents:
diff changeset
35 #endif /* AES_H */