Lines Matching refs:status

80     psa_status_t status;  in mbedtls_psa_ecp_load_representation()  local
136 status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_psa_ecp_load_representation()
140 status = mbedtls_to_psa_error( in mbedtls_psa_ecp_load_representation()
142 if( status != PSA_SUCCESS ) in mbedtls_psa_ecp_load_representation()
149 status = mbedtls_to_psa_error( in mbedtls_psa_ecp_load_representation()
153 if( status != PSA_SUCCESS ) in mbedtls_psa_ecp_load_representation()
157 status = mbedtls_to_psa_error( in mbedtls_psa_ecp_load_representation()
159 if( status != PSA_SUCCESS ) in mbedtls_psa_ecp_load_representation()
165 status = mbedtls_to_psa_error( in mbedtls_psa_ecp_load_representation()
170 if( status != PSA_SUCCESS ) in mbedtls_psa_ecp_load_representation()
176 if( status != PSA_SUCCESS ) in mbedtls_psa_ecp_load_representation()
182 return( status ); in mbedtls_psa_ecp_load_representation()
199 psa_status_t status; in ecp_import_key() local
203 status = mbedtls_psa_ecp_load_representation( attributes->core.type, in ecp_import_key()
208 if( status != PSA_SUCCESS ) in ecp_import_key()
220 status = mbedtls_psa_ecp_export_key( attributes->core.type, in ecp_import_key()
230 return( status ); in ecp_import_key()
239 psa_status_t status; in mbedtls_psa_ecp_export_key() local
247 status = mbedtls_to_psa_error( in mbedtls_psa_ecp_export_key()
251 if( status != PSA_SUCCESS ) in mbedtls_psa_ecp_export_key()
252 return( status ); in mbedtls_psa_ecp_export_key()
255 status = mbedtls_to_psa_error( in mbedtls_psa_ecp_export_key()
261 if( status != PSA_SUCCESS ) in mbedtls_psa_ecp_export_key()
264 return( status ); in mbedtls_psa_ecp_export_key()
271 status = mbedtls_to_psa_error( in mbedtls_psa_ecp_export_key()
275 if( status == PSA_SUCCESS ) in mbedtls_psa_ecp_export_key()
280 return( status ); in mbedtls_psa_ecp_export_key()
289 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in ecp_export_public_key() local
292 status = mbedtls_psa_ecp_load_representation( in ecp_export_public_key()
295 if( status != PSA_SUCCESS ) in ecp_export_public_key()
296 return( status ); in ecp_export_public_key()
298 status = mbedtls_psa_ecp_export_key( in ecp_export_public_key()
306 return( status ); in ecp_export_public_key()
316 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in ecp_generate_key() local
344 status = mbedtls_to_psa_error( in ecp_generate_key()
349 if( status == PSA_SUCCESS ) in ecp_generate_key()
352 return( status ); in ecp_generate_key()
368 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in ecdsa_sign_hash() local
374 status = mbedtls_psa_ecp_load_representation( attributes->core.type, in ecdsa_sign_hash()
379 if( status != PSA_SUCCESS ) in ecdsa_sign_hash()
380 return( status ); in ecdsa_sign_hash()
442 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in ecdsa_verify_hash() local
450 status = mbedtls_psa_ecp_load_representation( attributes->core.type, in ecdsa_verify_hash()
455 if( status != PSA_SUCCESS ) in ecdsa_verify_hash()
456 return( status ); in ecdsa_verify_hash()