void av_des_crypt(struct AVDES *d, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt)
Encrypts / decrypts using the DES algorithm.
void av_des_mac(struct AVDES *d, uint8_t *dst, const uint8_t *src, int count)
Calculates CBC-MAC using the DES algorithm.
uint64_t round_keys[3][16]
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
int av_des_init(struct AVDES *d, const uint8_t *key, int key_bits, int decrypt)
Initializes an AVDES context.
AVDES * av_des_alloc(void)
Allocate an AVDES context.