From 297bd14f7ba2a39d8ae112872cea8fca094b7ee2 Mon Sep 17 00:00:00 2001 From: Harald Pichler Date: Tue, 26 Sep 2017 14:15:53 +0200 Subject: [PATCH] add enable aes hardwre --- .../arduino-settingsmanager/project-conf.h | 20 +++++++++++++++++-- examples/osd/rpl-border-router/project-conf.h | 6 +++--- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/examples/osd/arduino-settingsmanager/project-conf.h b/examples/osd/arduino-settingsmanager/project-conf.h index 0507b068b..8efac98e0 100644 --- a/examples/osd/arduino-settingsmanager/project-conf.h +++ b/examples/osd/arduino-settingsmanager/project-conf.h @@ -45,8 +45,8 @@ //#define RDC_CONF_PT_YIELD_OFF /* For Debug: Dont allow MCU sleeping between channel checks */ -//#undef RDC_CONF_MCU_SLEEP -//#define RDC_CONF_MCU_SLEEP 0 +#undef RDC_CONF_MCU_SLEEP +#define RDC_CONF_MCU_SLEEP 0 /* Disabling RDC for demo purposes. Core updates often require more memory. */ /* For projects, optimize memory and enable RDC again. */ @@ -87,5 +87,21 @@ #define COAP_LINK_FORMAT_FILTERING 0 */ +/* +#define AES_128_HW_CONF 1 +#undef LLSEC802154_CONF_ENABLED +#define LLSEC802154_CONF_ENABLED 1 +#undef NETSTACK_CONF_FRAMER +#define NETSTACK_CONF_FRAMER noncoresec_framer +#undef NETSTACK_CONF_LLSEC +#define NETSTACK_CONF_LLSEC noncoresec_driver +#undef NONCORESEC_CONF_SEC_LVL +#define NONCORESEC_CONF_SEC_LVL 1 + +#define NONCORESEC_CONF_KEY { 0x00 , 0x01 , 0x02 , 0x03 , \ + 0x04 , 0x05 , 0x06 , 0x07 , \ + 0x08 , 0x09 , 0x0A , 0x0B , \ + 0x0C , 0x0D , 0x0E , 0x0F } +*/ #endif /* PROJECT_RPL_WEB_CONF_H_ */ diff --git a/examples/osd/rpl-border-router/project-conf.h b/examples/osd/rpl-border-router/project-conf.h index da3c04e6d..b190e4dfe 100644 --- a/examples/osd/rpl-border-router/project-conf.h +++ b/examples/osd/rpl-border-router/project-conf.h @@ -40,10 +40,10 @@ /* Save some memory for the sky platform. */ #undef NBR_TABLE_CONF_MAX_NEIGHBORS -#define NBR_TABLE_CONF_MAX_NEIGHBORS 20 +#define NBR_TABLE_CONF_MAX_NEIGHBORS 40 #undef UIP_CONF_MAX_ROUTES -#define UIP_CONF_MAX_ROUTES 20 +#define UIP_CONF_MAX_ROUTES 40 /* Increase rpl-border-router IP-buffer when using more than 64. */ #undef REST_MAX_CHUNK_SIZE @@ -66,6 +66,7 @@ #endif /* +#define AES_128_HW_CONF 1 #undef LLSEC802154_CONF_ENABLED #define LLSEC802154_CONF_ENABLED 1 #undef NETSTACK_CONF_FRAMER @@ -79,7 +80,6 @@ 0x04 , 0x05 , 0x06 , 0x07 , \ 0x08 , 0x09 , 0x0A , 0x0B , \ 0x0C , 0x0D , 0x0E , 0x0F } - */ #endif /* PROJECT_ROUTER_CONF_H_ */