Lines Matching full:status
54 psa_status_t status; in mbedtls_psa_ecp_load_representation() local
110 status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_psa_ecp_load_representation()
114 status = mbedtls_to_psa_error( in mbedtls_psa_ecp_load_representation()
116 if( status != PSA_SUCCESS ) in mbedtls_psa_ecp_load_representation()
123 status = mbedtls_to_psa_error( in mbedtls_psa_ecp_load_representation()
127 if( status != PSA_SUCCESS ) in mbedtls_psa_ecp_load_representation()
131 status = mbedtls_to_psa_error( in mbedtls_psa_ecp_load_representation()
133 if( status != PSA_SUCCESS ) in mbedtls_psa_ecp_load_representation()
139 status = mbedtls_to_psa_error( in mbedtls_psa_ecp_load_representation()
144 if( status != PSA_SUCCESS ) in mbedtls_psa_ecp_load_representation()
150 if( status != PSA_SUCCESS ) in mbedtls_psa_ecp_load_representation()
156 return( status ); in mbedtls_psa_ecp_load_representation()
173 psa_status_t status; in mbedtls_psa_ecp_import_key() local
177 status = mbedtls_psa_ecp_load_representation( attributes->core.type, in mbedtls_psa_ecp_import_key()
182 if( status != PSA_SUCCESS ) in mbedtls_psa_ecp_import_key()
194 status = mbedtls_psa_ecp_export_key( attributes->core.type, in mbedtls_psa_ecp_import_key()
204 return( status ); in mbedtls_psa_ecp_import_key()
213 psa_status_t status; in mbedtls_psa_ecp_export_key() local
221 status = mbedtls_to_psa_error( in mbedtls_psa_ecp_export_key()
225 if( status != PSA_SUCCESS ) in mbedtls_psa_ecp_export_key()
226 return( status ); in mbedtls_psa_ecp_export_key()
229 status = mbedtls_to_psa_error( in mbedtls_psa_ecp_export_key()
235 if( status != PSA_SUCCESS ) in mbedtls_psa_ecp_export_key()
238 return( status ); in mbedtls_psa_ecp_export_key()
245 status = mbedtls_to_psa_error( in mbedtls_psa_ecp_export_key()
249 if( status == PSA_SUCCESS ) in mbedtls_psa_ecp_export_key()
254 return( status ); in mbedtls_psa_ecp_export_key()
263 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_ecp_export_public_key() local
266 status = mbedtls_psa_ecp_load_representation( in mbedtls_psa_ecp_export_public_key()
269 if( status != PSA_SUCCESS ) in mbedtls_psa_ecp_export_public_key()
270 return( status ); in mbedtls_psa_ecp_export_public_key()
272 status = mbedtls_psa_ecp_export_key( in mbedtls_psa_ecp_export_public_key()
280 return( status ); in mbedtls_psa_ecp_export_public_key()
290 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_ecp_generate_key() local
318 status = mbedtls_to_psa_error( in mbedtls_psa_ecp_generate_key()
323 if( status == PSA_SUCCESS ) in mbedtls_psa_ecp_generate_key()
326 return( status ); in mbedtls_psa_ecp_generate_key()
342 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_ecdsa_sign_hash() local
348 status = mbedtls_psa_ecp_load_representation( attributes->core.type, in mbedtls_psa_ecdsa_sign_hash()
353 if( status != PSA_SUCCESS ) in mbedtls_psa_ecdsa_sign_hash()
354 return( status ); in mbedtls_psa_ecdsa_sign_hash()
416 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_ecdsa_verify_hash() local
424 status = mbedtls_psa_ecp_load_representation( attributes->core.type, in mbedtls_psa_ecdsa_verify_hash()
429 if( status != PSA_SUCCESS ) in mbedtls_psa_ecdsa_verify_hash()
430 return( status ); in mbedtls_psa_ecdsa_verify_hash()