Mercurial > libavutil.hg
comparison des.h @ 648:ed614f42a5d6 libavutil
Add support for 3DES to DES module
author | reimar |
---|---|
date | Tue, 03 Feb 2009 16:45:42 +0000 |
parents | 67fb0b442dd2 |
children |
comparison
equal
deleted
inserted
replaced
647:67fb0b442dd2 | 648:ed614f42a5d6 |
---|---|
30 }; | 30 }; |
31 | 31 |
32 /** | 32 /** |
33 * \brief Initializes an AVDES context. | 33 * \brief Initializes an AVDES context. |
34 * | 34 * |
35 * \param key_bits must be 64 | 35 * \param key_bits must be 64 or 192 |
36 * \param decrypt 0 for encryption, 1 for decryption | 36 * \param decrypt 0 for encryption, 1 for decryption |
37 */ | 37 */ |
38 int av_des_init(struct AVDES *d, const uint8_t *key, int key_bits, int decrypt); | 38 int av_des_init(struct AVDES *d, const uint8_t *key, int key_bits, int decrypt); |
39 | 39 |
40 /** | 40 /** |