Skip to content

Commit 8d47c8d

Browse files
author
Netanel Gonen
committed
remove crypto init that was not called by the user
1 parent 2e50868 commit 8d47c8d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

components/TARGET_PSA/services/crypto/COMPONENT_SPE/psa_crypto_partition.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1382,12 +1382,6 @@ void part_main(void *ptr)
13821382
uint32_t signals = 0;
13831383
psa_status_t status = PSA_SUCCESS;
13841384

1385-
status = psa_crypto_init();
1386-
if( status != PSA_SUCCESS )
1387-
{
1388-
SPM_PANIC("Failed to initiate Crypto partition!!");
1389-
}
1390-
13911385
while (1) {
13921386
signals = psa_wait_any( PSA_BLOCK );
13931387
if( signals & PSA_CRYPTO_INIT )

0 commit comments

Comments
 (0)