mirror of https://github.com/ARMmbed/mbed-os.git
Remove crypto init that was not called by the user
parent
7b2c924ac7
commit
587fdbb447
|
|
@ -1382,12 +1382,6 @@ void part_main(void *ptr)
|
||||||
uint32_t signals = 0;
|
uint32_t signals = 0;
|
||||||
psa_status_t status = PSA_SUCCESS;
|
psa_status_t status = PSA_SUCCESS;
|
||||||
|
|
||||||
status = psa_crypto_init();
|
|
||||||
if( status != PSA_SUCCESS )
|
|
||||||
{
|
|
||||||
SPM_PANIC("Failed to initiate Crypto partition!!");
|
|
||||||
}
|
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
signals = psa_wait_any( PSA_BLOCK );
|
signals = psa_wait_any( PSA_BLOCK );
|
||||||
if( signals & PSA_CRYPTO_INIT )
|
if( signals & PSA_CRYPTO_INIT )
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue