[beken-72xx] Use Hostapd MD5 implementation
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define LT_MD5_USE_MBEDTLS 1
|
||||
#define LT_MD5_USE_HOSTAPD 1
|
||||
|
||||
@@ -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
|
||||
|
||||
14
arduino/libretuya/libraries/MD5/MD5HostapdImpl.h
Normal file
14
arduino/libretuya/libraries/MD5/MD5HostapdImpl.h
Normal 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
|
||||
Reference in New Issue
Block a user