This commit is contained in:
Gav committed 2018-01-18 12:34:14 +01:00
1 parent 07c14104f7
commit 712becb205
3 files changed
+1 -3

No files matched your search

+1 -3
View File
@@ -18,9 +18,7 @@ fn test_ed25519_verify(input: Vec<u8>) -> Vec<u8> {
let sig = &input[0..64];
let pubkey = &input[64..96];
let msg = b"all ok!";
let mut r = Vec::new();
r.push(ed25519_verify(sig, &msg[..], pubkey) as u8);
r
[ed25519_verify(sig, &msg[..], pubkey) as u8].to_vec()
}
fn test_data_in(input: Vec<u8>) -> Vec<u8> {