Merge pull request #13044 from hugueskamba/hk_nrf_implicit_declaration

NRF: fix implicit declarations
pull/13077/head
Martin Kojtal 2020-06-05 14:44:31 +02:00 committed by GitHub
commit 49c1d947fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -28,6 +28,7 @@
#include "crys_dh.h"
#include "ssi_pal_types.h"
#include "ssi_aes.h"
#include "sns_silib.h"
#include "crys_aesccm.h"
#endif
@ -780,7 +781,7 @@ void PalCryptoInit(void)
{
NVIC_EnableIRQ(CRYPTOCELL_IRQn);
NRF_CRYPTOCELL->ENABLE = 1;
SaSi_LibInit();
SaSi_LibInit(NULL, NULL);
}
/*************************************************************************************************/
@ -793,7 +794,7 @@ void PalCryptoInit(void)
void PalCryptoDeInit(void)
{
NRF_CRYPTOCELL->ENABLE = 1;
SaSi_LibFini();
SaSi_LibFini(NULL);
NRF_CRYPTOCELL->ENABLE = 0;
}

View File

@ -45,6 +45,7 @@ extern bool m_common_rtc_enabled;
extern uint32_t volatile m_common_rtc_overflows;
extern bool volatile lp_ticker_interrupt_fire;
void common_rtc_free(void);
void common_rtc_init(void);
uint32_t common_rtc_32bit_ticks_get(void);
uint64_t common_rtc_64bit_us_get(void);