mirror of https://github.com/ARMmbed/mbed-os.git
parent
c7759fe505
commit
992133be50
|
@ -28,6 +28,7 @@
|
||||||
#include "crys_dh.h"
|
#include "crys_dh.h"
|
||||||
#include "ssi_pal_types.h"
|
#include "ssi_pal_types.h"
|
||||||
#include "ssi_aes.h"
|
#include "ssi_aes.h"
|
||||||
|
#include "sns_silib.h"
|
||||||
#include "crys_aesccm.h"
|
#include "crys_aesccm.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -780,7 +781,7 @@ void PalCryptoInit(void)
|
||||||
{
|
{
|
||||||
NVIC_EnableIRQ(CRYPTOCELL_IRQn);
|
NVIC_EnableIRQ(CRYPTOCELL_IRQn);
|
||||||
NRF_CRYPTOCELL->ENABLE = 1;
|
NRF_CRYPTOCELL->ENABLE = 1;
|
||||||
SaSi_LibInit();
|
SaSi_LibInit(NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*************************************************************************************************/
|
/*************************************************************************************************/
|
||||||
|
@ -793,7 +794,7 @@ void PalCryptoInit(void)
|
||||||
void PalCryptoDeInit(void)
|
void PalCryptoDeInit(void)
|
||||||
{
|
{
|
||||||
NRF_CRYPTOCELL->ENABLE = 1;
|
NRF_CRYPTOCELL->ENABLE = 1;
|
||||||
SaSi_LibFini();
|
SaSi_LibFini(NULL);
|
||||||
NRF_CRYPTOCELL->ENABLE = 0;
|
NRF_CRYPTOCELL->ENABLE = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -45,6 +45,7 @@ extern bool m_common_rtc_enabled;
|
||||||
extern uint32_t volatile m_common_rtc_overflows;
|
extern uint32_t volatile m_common_rtc_overflows;
|
||||||
extern bool volatile lp_ticker_interrupt_fire;
|
extern bool volatile lp_ticker_interrupt_fire;
|
||||||
|
|
||||||
|
void common_rtc_free(void);
|
||||||
void common_rtc_init(void);
|
void common_rtc_init(void);
|
||||||
uint32_t common_rtc_32bit_ticks_get(void);
|
uint32_t common_rtc_32bit_ticks_get(void);
|
||||||
uint64_t common_rtc_64bit_us_get(void);
|
uint64_t common_rtc_64bit_us_get(void);
|
||||||
|
|
Loading…
Reference in New Issue