Closed
Description
I work on a Mac OSX. It's all in asm, so I won't be too much help.
// test.rs
extern crate crypto="rust-crypto";
use crypto::util::fixed_time_eq;
fn main() {
if fixed_time_eq(
"720fc058654831694a93369422054a3c35ea8294cd34a131d192d564e9b9dfc9".as_bytes(),
"720fc058654831694a93369422054a3c35ea8294cd34a131d192d564e9b9dfc9".as_bytes()
) {
println!("I worked!")
}
}
[1] 2266 segmentation fault ./test
Metadata
Metadata
Assignees
Labels
No labels