From 021302966768133e2ce186a206547edbc7d41435 Mon Sep 17 00:00:00 2001 From: Francesco Paolo Severino Date: Thu, 12 Dec 2024 16:37:42 +0100 Subject: [PATCH] Small renaming in tests --- Tests/_CryptoExtrasTests/MLDSA65Tests.swift | 4 ++-- ...nist_keygen_tests.json => mldsa_65_nist_keygen_tests.json} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename Tests/_CryptoExtrasVectors/{mldsa_nist_keygen_tests.json => mldsa_65_nist_keygen_tests.json} (100%) diff --git a/Tests/_CryptoExtrasTests/MLDSA65Tests.swift b/Tests/_CryptoExtrasTests/MLDSA65Tests.swift index e95d2634..d2d7fc2f 100644 --- a/Tests/_CryptoExtrasTests/MLDSA65Tests.swift +++ b/Tests/_CryptoExtrasTests/MLDSA65Tests.swift @@ -119,7 +119,7 @@ final class MLDSA65Tests: XCTestCase { } func testMLDSA65NISTKeyGenFile() throws { - try nistTest(jsonName: "mldsa_nist_keygen_tests") { (testVector: NISTKeyGenTestVector) in + try nistTest(jsonName: "mldsa_65_nist_keygen_tests") { (testVector: NISTKeyGenTestVector) in let seed = try Data(hexString: testVector.seed) let publicKey = try MLDSA65.PublicKey(rawRepresentation: Data(hexString: testVector.pub)) @@ -153,7 +153,7 @@ final class MLDSA65Tests: XCTestCase { } } - func testMLDSAWycheproofVerifyFile() throws { + func testMLDSA65WycheproofVerifyFile() throws { try wycheproofTest(jsonName: "mldsa_65_standard_verify_test") { (testGroup: WycheproofTestGroup) in let publicKey: MLDSA65.PublicKey do { diff --git a/Tests/_CryptoExtrasVectors/mldsa_nist_keygen_tests.json b/Tests/_CryptoExtrasVectors/mldsa_65_nist_keygen_tests.json similarity index 100% rename from Tests/_CryptoExtrasVectors/mldsa_nist_keygen_tests.json rename to Tests/_CryptoExtrasVectors/mldsa_65_nist_keygen_tests.json