Skip to content

Commit

Permalink
[realtek-ambz] Enable Mbed-TLS for MD5 hashing, remove Polar SSL (#156)
Browse files Browse the repository at this point in the history
* Enable Mbed-TLS, remove Polar SSL

* Reformat lt_defs.h

---------

Co-authored-by: Kuba Szczodrzyński <[email protected]>
  • Loading branch information
hn and kuba2k2 committed Aug 17, 2023
1 parent e99c612 commit ccf21b4
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 30 deletions.
3 changes: 0 additions & 3 deletions cores/common/arduino/libraries/common/MD5/MD5.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
#include <Arduino.h>

// available built-in implementations
#if LT_ARD_MD5_POLARSSL
#include "MD5PolarSSLImpl.h"
#endif
#if LT_ARD_MD5_MBEDTLS
#include "MD5MbedTLSImpl.h"
#endif
Expand Down
24 changes: 0 additions & 24 deletions cores/common/arduino/libraries/common/MD5/MD5PolarSSLImpl.cpp

This file was deleted.

4 changes: 2 additions & 2 deletions cores/realtek-ambz/arduino/src/lt_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

#error "Don't include this file directly"

#define LT_ARD_HAS_SERIAL 1
#define LT_ARD_MD5_POLARSSL 1
#define LT_ARD_HAS_SERIAL 1
#define LT_ARD_MD5_MBEDTLS 1
1 change: 0 additions & 1 deletion docs/dev/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ Checking for option value should be done with `#if` (not with `#ifdef`!) - if it
- `LT_ARD_HAS_WIFI` - WiFi library implemented
- `LT_ARD_HAS_WIRE` - Wire (I²C) library implemented
- `LT_ARD_HAS_SPI` - SPI library implemented
- `LT_ARD_MD5_POLARSSL` - use PolarSSL for MD5 library
- `LT_ARD_MD5_MBEDTLS` - use mbedTLS for MD5 library
- `LT_ARD_MD5_HOSTAPD` - use hostapd for MD5 library
- misc options
Expand Down

0 comments on commit ccf21b4

Please sign in to comment.