Skip to content

Commit

Permalink
Mongoose crypto is provided by mbedtls now
Browse files Browse the repository at this point in the history
  • Loading branch information
rojer committed Apr 10, 2021
1 parent 0be6836 commit bc8ddbe
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 108 deletions.
2 changes: 0 additions & 2 deletions platforms/cc3200/Makefile.build
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ MG_FEATURES ?= $(MG_FEATURES_TINY) \
-DMG_SIMPLELINK_NO_OSI \
-DMG_ENABLE_FILESYSTEM \
-DMG_ENABLE_DIRECTORY_LISTING \
-DCS_DISABLE_MD5 -DMG_EXT_MD5 \
-DCS_DISABLE_SHA1 -DMG_EXT_SHA1 \
-DFS_MAX_OPEN_FILES=5

MGOS_FEATURES ?= -DMGOS_VFS_DECLARE_LIBC_DIR_API \
Expand Down
2 changes: 0 additions & 2 deletions platforms/cc3220/Makefile.build
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ MG_FEATURES ?= $(MG_FEATURES_TINY) \
-DMG_ENABLE_FILESYSTEM \
-DMG_ENABLE_DIRECTORY_LISTING \
-DMG_SIMPLELINK_NO_OSI \
-DCS_DISABLE_MD5 -DMG_EXT_MD5 \
-DCS_DISABLE_SHA1 -DMG_EXT_SHA1 \
-DFS_MAX_OPEN_FILES=5

MGOS_FEATURES ?= -DMGOS_VFS_DECLARE_LIBC_DIR_API \
Expand Down
51 changes: 0 additions & 51 deletions platforms/esp32/src/esp32_crypto.c

This file was deleted.

4 changes: 1 addition & 3 deletions platforms/esp32/src/esp32_src.mk
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ MGOS_SRCS += mgos_config_util.c mgos_core_dump.c mgos_dlsym.c mgos_event.c \
mgos_sys_config.c $(notdir $(MGOS_CONFIG_C)) $(notdir $(MGOS_RO_VARS_C)) \
mgos_file_utils.c mgos_hw_timers.c mgos_system.c mgos_system.cpp \
mgos_time.c mgos_timers.c mgos_timers.cpp mgos_uart.c mgos_utils.c mgos_utils.cpp \
esp32_crypto.c esp32_debug.c esp32_exc.c esp32_fs_crypt.c \
esp32_debug.c esp32_exc.c esp32_fs_crypt.c \
esp32_gpio.c esp32_hal.c esp32_hw_timers.c \
esp32_main.c esp32_uart.c \
error_codes.cpp status.cpp
Expand Down Expand Up @@ -70,8 +70,6 @@ C_CXX_CFLAGS += -DMGOS_APP=\"$(APP)\" -DFW_ARCHITECTURE=$(APP_PLATFORM) \
-DMGOS_DEBUG_UART=$(MGOS_DEBUG_UART) \
-DMG_ENABLE_FILESYSTEM \
-DMG_ENABLE_DIRECTORY_LISTING \
-DCS_DISABLE_MD5 -DMG_EXT_MD5 \
-DCS_DISABLE_SHA1 -DMG_EXT_SHA1 \
-DMGOS_NUM_HW_TIMERS=4

CFLAGS += $(C_CXX_CFLAGS)
Expand Down
5 changes: 1 addition & 4 deletions platforms/esp8266/Makefile.build
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ MGOS_SRCS += cs_file.c cs_hex.c cs_rbuf.c \

MGOS_SRCS += esp_config.c \
esp_coredump.c \
esp_crypto.c \
esp_debug.c \
esp_exc.c \
esp_flash_writer.c \
Expand Down Expand Up @@ -144,9 +143,7 @@ MGOS_ESP_FEATURES = '-DUMM_ONFREE(ptr, size)=memset(ptr, 0xfa, size)'

MG_FEATURES ?= $(MG_FEATURES_TINY) -DMG_ESP8266 \
-DMG_ENABLE_FILESYSTEM -DMG_ENABLE_DIRECTORY_LISTING \
-DMG_NET_IF=MG_NET_IF_LWIP_LOW_LEVEL \
-DCS_DISABLE_MD5 -DMG_EXT_MD5 \
-DMG_EXT_SHA1
-DMG_NET_IF=MG_NET_IF_LWIP_LOW_LEVEL

FEATURES_EXTRA ?=
FEATURES = $(MG_FEATURES) $(MGOS_FEATURES) $(MGOS_ESP_FEATURES) \
Expand Down
46 changes: 0 additions & 46 deletions platforms/esp8266/src/esp_crypto.c

This file was deleted.

0 comments on commit bc8ddbe

Please sign in to comment.