Remove crypto init that was not called by the user

pull/8804/head
Mohammad AboMokh 2018-11-21 17:14:55 +02:00 committed by mohammad1603
parent 7b2c924ac7
commit 587fdbb447
1 changed files with 0 additions and 6 deletions

View File

@ -1382,12 +1382,6 @@ void part_main(void *ptr)
uint32_t signals = 0;
psa_status_t status = PSA_SUCCESS;
status = psa_crypto_init();
if( status != PSA_SUCCESS )
{
SPM_PANIC("Failed to initiate Crypto partition!!");
}
while (1) {
signals = psa_wait_any( PSA_BLOCK );
if( signals & PSA_CRYPTO_INIT )