Lines Matching full:status
145 psa_status_t status; in psa_load_se_persistent_data() local
149 status = psa_get_se_driver_its_file_uid( driver, &uid ); in psa_load_se_persistent_data()
150 if( status != PSA_SUCCESS ) in psa_load_se_persistent_data()
151 return( status ); in psa_load_se_persistent_data()
169 psa_status_t status; in psa_save_se_persistent_data() local
172 status = psa_get_se_driver_its_file_uid( driver, &uid ); in psa_save_se_persistent_data()
173 if( status != PSA_SUCCESS ) in psa_save_se_persistent_data()
174 return( status ); in psa_save_se_persistent_data()
200 psa_status_t status; in psa_find_se_slot_for_key() local
222 status = p_validate_slot_number( &driver->u.context, in psa_find_se_slot_for_key()
241 status = p_allocate( &driver->u.context, in psa_find_se_slot_for_key()
246 return( status ); in psa_find_se_slot_for_key()
252 psa_status_t status; in psa_destroy_se_key() local
265 status = driver->methods->key_management->p_destroy( in psa_destroy_se_key()
270 return( status == PSA_SUCCESS ? storage_status : status ); in psa_destroy_se_key()
284 psa_status_t status = methods->p_init( in psa_init_all_se_drivers() local
288 if( status != PSA_SUCCESS ) in psa_init_all_se_drivers()
289 return( status ); in psa_init_all_se_drivers()
290 status = psa_save_se_persistent_data( driver ); in psa_init_all_se_drivers()
291 if( status != PSA_SUCCESS ) in psa_init_all_se_drivers()
292 return( status ); in psa_init_all_se_drivers()
309 psa_status_t status; in psa_register_se_driver() local
348 status = PSA_ERROR_INSUFFICIENT_MEMORY; in psa_register_se_driver()
354 status = psa_load_se_persistent_data( &driver_table[i] ); in psa_register_se_driver()
355 if( status != PSA_SUCCESS && status != PSA_ERROR_DOES_NOT_EXIST ) in psa_register_se_driver()
363 return( status ); in psa_register_se_driver()