Skip to content

Commit 5a11a3e

Browse files
Use the symbolic error code MLD_ERR_FAIL recently added to mldsa-native
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
1 parent 8b1da2e commit 5a11a3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/suites/test_suite_pqcp_mldsa.function

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ void verify_pure_87(data_t *public_key, data_t *message, data_t *signature)
154154
TEST_EQUAL(tf_psa_crypto_pqcp_mldsa87_verify(signature->x, signature->len,
155155
message->x, message->len,
156156
NULL, 0,
157-
public_key->x), -1);
157+
public_key->x), MLD_ERR_FAIL);
158158
signature->x[signature->len - 1] ^= 1;
159159

160160
}

0 commit comments

Comments
 (0)