SE driver: save the persistent data after calling p_init

This commit is contained in:
Gilles Peskine 2019-10-01 15:41:42 +02:00
parent d9348f218e
commit c84c70a83c

View File

@ -289,6 +289,9 @@ psa_status_t psa_init_all_se_drivers( void )
driver->lifetime ); driver->lifetime );
if( status != PSA_SUCCESS ) if( status != PSA_SUCCESS )
return( status ); return( status );
status = psa_save_se_persistent_data( driver );
if( status != PSA_SUCCESS )
return( status );
} }
} }
return( PSA_SUCCESS ); return( PSA_SUCCESS );