sdk-ameba-v4.0b-gcc/component/common/network/ssl/polarssl-1.3.8/include/polarssl/config.h
Tautvydas Belgeras 60a7afcc83 initial commit
2018-06-05 16:16:17 +03:00

25 lines
728 B
C

#define CONFIG_PROJECT_CUSTOM 0
#define CONFIG_SSL_RSA 1
#if (defined CONFIG_PLATFORM_8195A) || (defined CONFIG_PLATFORM_8711B)
#include "section_config.h"
#include "rom_ssl_ram_map.h"
#define RTL_HW_CRYPTO
#elif defined(CONFIG_HARDWARE_8188F)
#define SUPPORT_HW_SW_CRYPTO
#endif
#if defined (CONFIG_SSL_ROM) //define in ROM makefile
#define SUPPORT_HW_SW_CRYPTO
#include "polarssl/ssl_rom_lib.h"
#include "polarssl/config_rom.h"
#elif CONFIG_PROJECT_CUSTOM
#include "platform_stdlib.h"
#include "ssl_config.h"
#elif CONFIG_SSL_RSA
#include "platform_stdlib.h"
#include "polarssl/config_rsa.h"
#else
#include "platform_stdlib.h"
#include "polarssl/config_all.h"
#endif /* CONFIG_SSL_ROM */