comparison rc4.c @ 386:e6ec944b7ff0 libavutil

Consistently place comments in file header.
author diego
date Sun, 14 Oct 2007 09:30:53 +0000
parents 8d29c19c22c4
children 67fb0b442dd2
comparison
equal deleted inserted replaced
385:f2e3cd83213e 386:e6ec944b7ff0
1 /* 1 /*
2 * RC4 encryption/decryption/pseudo-random number generator 2 * RC4 encryption/decryption/pseudo-random number generator
3 * Copyright (c) 2007 Reimar Doeffinger 3 * Copyright (c) 2007 Reimar Doeffinger
4 *
5 * loosely based on LibTomCrypt by Tom St Denis
4 * 6 *
5 * This file is part of FFmpeg. 7 * This file is part of FFmpeg.
6 * 8 *
7 * FFmpeg is free software; you can redistribute it and/or 9 * FFmpeg is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public 10 * modify it under the terms of the GNU Lesser General Public
15 * Lesser General Public License for more details. 17 * Lesser General Public License for more details.
16 * 18 *
17 * You should have received a copy of the GNU Lesser General Public 19 * You should have received a copy of the GNU Lesser General Public
18 * License along with FFmpeg; if not, write to the Free Software 20 * License along with FFmpeg; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 *
21 * loosely based on LibTomCrypt by Tom St Denis
22 */ 22 */
23 #include "common.h" 23 #include "common.h"
24 #include "rc4.h" 24 #include "rc4.h"
25 25
26 void ff_rc4_enc(const uint8_t *key, int keylen, uint8_t *data, int datalen) { 26 void ff_rc4_enc(const uint8_t *key, int keylen, uint8_t *data, int datalen) {