From 781bd5daeb98774628ccb7546d449704ea6f7330 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 6 Dec 2011 22:23:52 +0100 Subject: Auth: Import milenage implementation from hostap (Jouni Malinen) ... and add integration into the osmo_auth core. --- src/gsm/milenage/common.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/gsm/milenage/common.h (limited to 'src/gsm/milenage/common.h') diff --git a/src/gsm/milenage/common.h b/src/gsm/milenage/common.h new file mode 100644 index 00000000..aaf82b97 --- /dev/null +++ b/src/gsm/milenage/common.h @@ -0,0 +1,20 @@ + +#include +#include +#include + +#define MSG_DEBUG +#define wpa_hexdump(x, args...) +#define wpa_hexdump_key(x, args...) +#define wpa_printf(x, args...) + +#define os_memcpy(x, y, z) memcpy(x, y, z) +#define os_memcmp(x, y, z) memcmp(x, y, z) +#define os_memset(x, y, z) memset(x, y, z) +#define os_malloc(x) malloc(x) +#define os_free(x) free(x) + +typedef uint8_t u8; +typedef uint32_t u32; + +#define __must_check -- cgit v1.2.3