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 a9668b1 commit e111c5aCopy full SHA for e111c5a
Makefile
@@ -71,7 +71,7 @@ check:
71
cargo check $(CARGO_ARGS)
72
73
clippy:
74
- cargo clippy $(CARGO_ARGS)
+ cargo clippy $(CARGO_ARGS) --target=riscv64imac-unknown-none-elf
75
76
fmt:
77
cargo fmt $(CARGO_ARGS)
contracts/rsa-test/src/entry.rs
@@ -76,7 +76,7 @@ pub fn test_rsa_2048(msg: &[u8]) {
let signature = pkcs1v15::Signature::try_from(&signature_bytes[..]).unwrap();
78
let last = current_cycles();
79
- verifying_key.verify(&msg, &signature).unwrap();
+ verifying_key.verify(msg, &signature).unwrap();
80
let cycles = current_cycles() - last;
81
debug(format!(
82
"cost of rsa-2048 verifying cycles: {} K",
0 commit comments