We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ab89e7 commit fb06dd5Copy full SHA for fb06dd5
src/classic/crypto_core.rs
@@ -501,10 +501,9 @@ mod tests {
501
"Torsion point should be rejected even with relaxed validation"
502
);
503
504
- let mixed_bytes =
505
- (curve25519_dalek::constants::ED25519_BASEPOINT_POINT + torsion_point)
506
- .compress()
507
- .to_bytes();
+ let mixed_bytes = (curve25519_dalek::constants::ED25519_BASEPOINT_POINT + torsion_point)
+ .compress()
+ .to_bytes();
508
assert!(
509
!crypto_core_ed25519_is_valid_point(&mixed_bytes),
510
"Mixed-order point should be rejected"
0 commit comments