Skip to content

Commit

Permalink
Rename test vectors files
Browse files Browse the repository at this point in the history
  • Loading branch information
davxy committed Jun 20, 2024
1 parent 2c31562 commit 9596076
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/suites/bandersnatch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion src/suites/ed25519.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
5 changes: 3 additions & 2 deletions src/suites/secp256.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 9596076

Please sign in to comment.