mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-16 00:40:52 +00:00
Improve clarity of num_ops comparison in iop key generation testing
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
This commit is contained in:
parent
f7ebd73755
commit
6305f5d6ef
@ -10174,7 +10174,7 @@ void generate_key(int type_arg,
|
||||
if (status == PSA_SUCCESS || status == PSA_OPERATION_INCOMPLETE) {
|
||||
num_ops = psa_generate_key_iop_get_num_ops(&operation);
|
||||
|
||||
TEST_ASSERT(num_ops > num_ops_prior);
|
||||
TEST_LE_U(num_ops_prior + 1, num_ops);
|
||||
|
||||
num_ops_prior = num_ops;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user