mirror of
https://github.com/espressif/mbedtls.git
synced 2025-05-09 19:31:18 +08:00
Improve comment wording
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
587e780812
commit
de7c31e082
@ -6724,7 +6724,7 @@ void sign_hash_fail_interruptible(int key_type_arg, data_t *key_data,
|
|||||||
TEST_EQUAL(actual_status, expected_start_status);
|
TEST_EQUAL(actual_status, expected_start_status);
|
||||||
|
|
||||||
if (expected_start_status != PSA_SUCCESS) {
|
if (expected_start_status != PSA_SUCCESS) {
|
||||||
/* Emulate poor implementation, and call complete anyway, even though
|
/* Emulate poor application code, and call complete anyway, even though
|
||||||
* start failed. */
|
* start failed. */
|
||||||
actual_status = psa_sign_hash_complete(&operation, signature,
|
actual_status = psa_sign_hash_complete(&operation, signature,
|
||||||
signature_size,
|
signature_size,
|
||||||
@ -7256,7 +7256,7 @@ void verify_hash_fail_interruptible(int key_type_arg, data_t *key_data,
|
|||||||
TEST_EQUAL(actual_status, expected_start_status);
|
TEST_EQUAL(actual_status, expected_start_status);
|
||||||
|
|
||||||
if (expected_start_status != PSA_SUCCESS) {
|
if (expected_start_status != PSA_SUCCESS) {
|
||||||
/* Emulate poor implementation, and call complete anyway, even though
|
/* Emulate poor application code, and call complete anyway, even though
|
||||||
* start failed. */
|
* start failed. */
|
||||||
actual_status = psa_verify_hash_complete(&operation);
|
actual_status = psa_verify_hash_complete(&operation);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user