Searched refs:expected_sig (Results 1 – 3 of 3) sorted by relevance
28 u8 *expected_sig; in main() local47 expected_sig = xmalloc(sig_size); in main()48 ASSERT(full_read(&file, expected_sig, sig_size)); in main()49 ASSERT(!memcmp(sig, expected_sig, sig_size)); in main()53 free(expected_sig); in main()
51 let expected_sig = test_case.consume_bytes("SIG"); in test_signature_ed25519() localVariable56 assert_eq!(&expected_sig[..], actual_sig.as_ref()); in test_signature_ed25519()67 assert_eq!(&expected_sig[..], actual_sig.as_ref()); in test_signature_ed25519()73 .verify(&msg, &expected_sig) in test_signature_ed25519()77 let mut tampered_sig = expected_sig; in test_signature_ed25519()
360 expected_sig=None): argument377 if expected_sig is None:381 if not 'sig' in result or result['sig'] != expected_sig:383 (result['sig'], expected_sig))