libavutil/des.h File Reference

#include <inttypes.h>

Go to the source code of this file.

Functions

uint64_t ff_des_encdec (uint64_t in, uint64_t key, int decrypt)
 en- or decrypt an 64-bit block of data with DES


Function Documentation

uint64_t ff_des_encdec ( uint64_t  in,
uint64_t  key,
int  decrypt 
)

en- or decrypt an 64-bit block of data with DES

Parameters:
in data to process.
key key to use for en-/decryption.
decrypt if 0 encrypt, else decrypt.
Returns:
processed data
If your input data is in 8-bit blocks treat it as big-endian (use e.g. AV_RB64 and AV_WB64).

Definition at line 251 of file des.c.

Referenced by ff_asfcrypt_dec().


Generated on Thu Apr 2 07:15:44 2009 for ffmpeg by  doxygen 1.5.6