Lines Matching refs:status
346 psa_status_t status; in mbedtls_psa_hash_finish() local
361 status = PSA_ERROR_BUFFER_TOO_SMALL; in mbedtls_psa_hash_finish()
424 status = mbedtls_to_psa_error(ret); in mbedtls_psa_hash_finish()
427 if (status == PSA_SUCCESS) { in mbedtls_psa_hash_finish()
430 return status; in mbedtls_psa_hash_finish()
442 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_hash_compute() local
446 status = mbedtls_psa_hash_setup(&operation, alg); in mbedtls_psa_hash_compute()
447 if (status != PSA_SUCCESS) { in mbedtls_psa_hash_compute()
450 status = mbedtls_psa_hash_update(&operation, input, input_length); in mbedtls_psa_hash_compute()
451 if (status != PSA_SUCCESS) { in mbedtls_psa_hash_compute()
454 status = mbedtls_psa_hash_finish(&operation, hash, hash_size, hash_length); in mbedtls_psa_hash_compute()
455 if (status != PSA_SUCCESS) { in mbedtls_psa_hash_compute()
461 if (status == PSA_SUCCESS) { in mbedtls_psa_hash_compute()
464 return status; in mbedtls_psa_hash_compute()