[beken-72xx] Use Hostapd MD5 implementation

This commit is contained in:
Kuba Szczodrzyński
2022-07-12 13:05:02 +02:00
parent 963b164783
commit 23c3335de8
3 changed files with 18 additions and 1 deletions

View File

@@ -2,4 +2,4 @@
#pragma once
#define LT_MD5_USE_MBEDTLS 1
#define LT_MD5_USE_HOSTAPD 1

View File

@@ -12,6 +12,9 @@
#if LT_MD5_USE_MBEDTLS
#include "MD5MbedTLSImpl.h"
#endif
#if LT_MD5_USE_HOSTAPD
#include "MD5HostapdImpl.h"
#endif
// common API
#ifdef __cplusplus

View File

@@ -0,0 +1,14 @@
/* Copyright (c) Kuba Szczodrzyński 2022-07-12. */
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include <crypto/md5_i.h>
#define LT_MD5_CTX_T struct MD5Context
#ifdef __cplusplus
} // extern "C"
#endif