Skip to content

Commit

Permalink
[crypto] [comment-only] Update test comment to better reflect its pur…
Browse files Browse the repository at this point in the history
…pose

Closes: aptos-labs#5308
Approved by: kchalkias
  • Loading branch information
huitseeker authored and bors-libra committed Jul 27, 2020
1 parent 551d083 commit 2ab0c2b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crypto/crypto/src/unit_tests/ed25519_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,10 @@ proptest! {
);
}

// In this test we demonstrate a signature that's not message-bound by only
// In this test we demonstrate a signature that's transformable by only
// modifying the public key and the R component, under a pathological yet
// admissible s < l value for the signature.
// admissible s < l value for the signature. It shows the difference
// between `verify` and `verify_strict` in ed25519-dalek
#[test]
fn verify_sig_strict_torsion(idx in 0usize..8usize){
let message = b"hello_world";
Expand Down

0 comments on commit 2ab0c2b

Please sign in to comment.