This commit is contained in:
Gav
2018-01-18 12:34:14 +01:00
parent 07c14104f7
commit 712becb205
3 changed files with 1 additions and 3 deletions
+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> {