Commit 2e9ad69a authored by Reimar Döffinger's avatar Reimar Döffinger

Add support for DES en- and decryption.

Originally committed as revision 10810 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 939bac28
......@@ -4,6 +4,7 @@ OBJS = adler32.o \
aes.o \
base64.o \
crc.o \
des.o \
fifo.o \
intfloat_readwrite.o \
lls.o \
......
This diff is collapsed.
/*
* DES encryption/decryption
* Copyright (c) 2007 Reimar Doeffinger
*
* 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
*/
#ifndef FFMPEG_DES_H
#define FFMPEG_DES_H
uint64_t ff_des_encdec(uint64_t in, uint64_t key, int decrypt);
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment