2015-04-06 14:32:20 +02:00
|
|
|
#ifndef __CAPWAP_CRYPTO_H
|
|
|
|
#define __CAPWAP_CRYPTO_H
|
|
|
|
|
|
|
|
#include <nettle/md5.h>
|
2015-04-07 14:54:45 +02:00
|
|
|
/**
|
|
|
|
*@file
|
|
|
|
*@brief
|
|
|
|
*/
|
2015-04-06 14:32:20 +02:00
|
|
|
|
2015-04-07 14:54:45 +02:00
|
|
|
/** MD5 digest size, 16 bytes */
|
2015-04-06 14:32:20 +02:00
|
|
|
#define CW_MD5_DIGEST_SIZE MD5_DIGEST_SIZE
|
|
|
|
|
2015-04-07 14:54:45 +02:00
|
|
|
|
2015-04-06 14:32:20 +02:00
|
|
|
int cw_fgetmd5sum(uint8_t *digest, FILE *infile);
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|