World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Файл des.h

См. исходные тексты.

Классы

struct  AVDES
 

Определения типов

typedef struct AVDES AVDES
 

Функции

AVDESav_des_alloc (void)
 
int av_des_init (struct AVDES *d, const uint8_t *key, int key_bits, int decrypt)
 Initializes an AVDES context. Подробнее...
 
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. Подробнее...