diff --git a/data/bandersnatch_ed_sha512_ell2_vectors.json b/data/bandersnatch_ed_sha512_ell2_ietf_vectors.json similarity index 100% rename from data/bandersnatch_ed_sha512_ell2_vectors.json rename to data/bandersnatch_ed_sha512_ell2_ietf_vectors.json diff --git a/data/bandersnatch_sw_sha512_tai_vectors.json b/data/bandersnatch_sw_sha512_tai_ietf_vectors.json similarity index 100% rename from data/bandersnatch_sw_sha512_tai_vectors.json rename to data/bandersnatch_sw_sha512_tai_ietf_vectors.json diff --git a/data/ed25519_sha512_tai_vectors.json b/data/ed25519_sha512_tai_ietf_vectors.json similarity index 100% rename from data/ed25519_sha512_tai_vectors.json rename to data/ed25519_sha512_tai_ietf_vectors.json diff --git a/data/secp256_sha256_tai_vectors.json b/data/secp256_sha256_tai_ietf_vectors.json similarity index 100% rename from data/secp256_sha256_tai_vectors.json rename to data/secp256_sha256_tai_ietf_vectors.json diff --git a/data/secp256_sha256_tai_vectors_rfc_9381.json b/data/secp256_sha256_tai_ietf_vectors_rfc_9381.json similarity index 100% rename from data/secp256_sha256_tai_vectors_rfc_9381.json rename to data/secp256_sha256_tai_ietf_vectors_rfc_9381.json diff --git a/src/suites/bandersnatch.rs b/src/suites/bandersnatch.rs index 7cf45fa..c20e666 100644 --- a/src/suites/bandersnatch.rs +++ b/src/suites/bandersnatch.rs @@ -251,7 +251,7 @@ mod test_vectors_ed { const TEST_VECTORS_FILE: &str = concat!( env!("CARGO_MANIFEST_DIR"), - "/data/bandersnatch_ed_sha512_ell2_vectors.json" + "/data/bandersnatch_ed_sha512_ell2_ietf_vectors.json" ); #[test] @@ -275,7 +275,7 @@ mod test_vectors_sw { const TEST_VECTORS_FILE: &str = concat!( env!("CARGO_MANIFEST_DIR"), - "/data/bandersnatch_sw_sha512_tai_vectors.json" + "/data/bandersnatch_sw_sha512_tai_ietf_vectors.json" ); #[test] diff --git a/src/suites/ed25519.rs b/src/suites/ed25519.rs index 357290c..f526c81 100644 --- a/src/suites/ed25519.rs +++ b/src/suites/ed25519.rs @@ -86,7 +86,7 @@ mod test_vectors { const TEST_VECTORS_FILE: &str = concat!( env!("CARGO_MANIFEST_DIR"), - "/data/ed25519_sha512_tai_vectors.json" + "/data/ed25519_sha512_tai_ietf_vectors.json" ); #[test] diff --git a/src/suites/secp256.rs b/src/suites/secp256.rs index dbcc89c..1b43035 100644 --- a/src/suites/secp256.rs +++ b/src/suites/secp256.rs @@ -145,12 +145,13 @@ mod test_vectors { const TEST_VECTORS_FILE: &str = concat!( env!("CARGO_MANIFEST_DIR"), - "/data/secp256_sha256_tai_vectors.json" + "/data/secp256_sha256_tai_ietf_vectors.json" ); + // Vectors from RFC-9381 const TEST_VECTORS_FILE_RFC_9381: &str = concat!( env!("CARGO_MANIFEST_DIR"), - "/data/secp256_sha256_tai_vectors_rfc_9381.json" + "/data/secp256_sha256_tai_ietf_vectors_rfc_9381.json" ); #[test]