mirror of https://github.com/ARMmbed/mbed-os.git
don't compile debug version of ecc by deafult
parent
758b9587d2
commit
11dba2e972
|
@ -22,6 +22,8 @@
|
||||||
*/
|
*/
|
||||||
/*************************************************************************************************/
|
/*************************************************************************************************/
|
||||||
|
|
||||||
|
#if defined(SEC_ECC_CFG)
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -35,10 +37,6 @@
|
||||||
#include "hci_api.h"
|
#include "hci_api.h"
|
||||||
#include "util/calc128.h"
|
#include "util/calc128.h"
|
||||||
|
|
||||||
#ifndef SEC_ECC_CFG
|
|
||||||
#define SEC_ECC_CFG SEC_ECC_CFG_DEBUG
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if SEC_ECC_CFG == SEC_ECC_CFG_DEBUG
|
#if SEC_ECC_CFG == SEC_ECC_CFG_DEBUG
|
||||||
|
|
||||||
/* Debug Keys */
|
/* Debug Keys */
|
||||||
|
@ -158,3 +156,4 @@ void SecEccInit()
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* SEC_ECC_CFG */
|
#endif /* SEC_ECC_CFG */
|
||||||
|
#endif /* defined(SEC_ECC_CFG) */
|
||||||
|
|
Loading…
Reference in New Issue