aboutsummaryrefslogtreecommitdiff
path: root/libavutil/rc4.h
diff options
context:
space:
mode:
authorDiego Biurrun2007-10-14 09:32:06 +0000
committerDiego Biurrun2007-10-14 09:32:06 +0000
commitc1d5a67c560abe4f84fbdf4e5428f0ad4b57386f (patch)
tree55ffbf83de94b2aa42a330f64e6f62d8300a5427 /libavutil/rc4.h
parentd5a8a02326e5df03b2948efb7df389d7c3e40a6b (diff)
Add standard license header.
Originally committed as revision 10731 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/rc4.h')
-rw-r--r--libavutil/rc4.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/libavutil/rc4.h b/libavutil/rc4.h
index f4d5c08892..2ff9787003 100644
--- a/libavutil/rc4.h
+++ b/libavutil/rc4.h
@@ -1 +1,21 @@
+/*
+ * RC4 encryption/decryption/pseudo-random number generator
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
void ff_rc4_enc(const uint8_t *key, int keylen, uint8_t *data, int datalen);