You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1020 B

CIPHER_CFLAGS += -DSOCT_PLATFORM_TYPE_LINUX
CIPHER_CFLAGS += -DSOCT_PRODUCT_SHA512_SUPPORT
CIPHER_CFLAGS += -DSOCT_PRODUCT_AEAD_SUPPORT
CIPHER_CFLAGS += -DSOCT_PRODUCT_SM1_SM4_SUPPORT
CIPHER_CFLAGS += -DSOCT_PRODUCT_SM2_SUPPORT
CIPHER_CFLAGS += -DSOCT_PRODUCT_SM3_SUPPORT
CIPHER_CFLAGS += -DSOCT_PRODUCT_HMAC_SUPPORT
CIPHER_CFLAGS += -DSOCT_PRODUCT_RSA_SUPPORT
CIPHER_CFLAGS += -DSOCT_PRODUCT_CBC_MAC_SUPPORT
CIPHER_CFLAGS += -DSOCT_PRODUCT_ECC_SUPPORT
CIPHER_CFLAGS += -DSOCT_PRODUCT_SYMC_CONFIG_EX_SUPPORT
CIPHER_CFLAGS += -DCONFIG_SOCT_CIPHER_MBEDTLS_SUPPORT
CIPHER_CFLAGS += -DCONFIG_SOCT_CIPHER_SBL_MBEDTLS_SUPPORT
CIPHER_CFLAGS += -DMBEDTLS_CONFIG_FILE='"config-cipher-sbl.h"'
ifeq ($(strip $(CFG_SOCT_CHIP_TYPE)),reserved5)
CIPHER_CFLAGS += -DCONFIG_RESERVED5
endif
ifeq ($(strip $(CFG_SOCT_CHIP_TYPE)),reserved17)
CIPHER_CFLAGS += -DCONFIG_CHIP_RESERVED17
endif
#CIPHER_OBJS += cmd_cipher.o
include $(CIPHER_DIR)/drivers/build.mak
include $(CIPHER_DIR)/osal/build.mak
include $(CIPHER_DIR)/compat/build.mak