/dports/devel/dtool/dtool-0.11.0/cargo-crates/schnorrkel-0.10.1/src/ |
H A D | sign.rs | 426 let good_sig: Signature; in sign_verify_bytes() localVariable 438 good_sig = keypair.sign(ctx.bytes(&good)); in sign_verify_bytes() 441 let good_sig = Signature::from_bytes(&good_sig.to_bytes()[..]).unwrap(); in sign_verify_bytes() localVariable 444 assert!(keypair.verify(ctx.bytes(&good), &good_sig).is_ok(), in sign_verify_bytes() 448 assert!(!keypair.verify(ctx.bytes(&bad), &good_sig).is_ok(), in sign_verify_bytes() 456 let good_sig: Signature; in sign_verify_xof() localVariable 472 good_sig = keypair.sign(ctx.xof(prehashed_good.clone())); in sign_verify_xof() 475 let good_sig_d = Signature::from_bytes(&good_sig.to_bytes()[..]).unwrap(); in sign_verify_xof() 477 assert_eq!(good_sig, good_sig_d); in sign_verify_xof() 480 assert!(keypair.verify(ctx.xof(prehashed_good.clone()), &good_sig).is_ok(), in sign_verify_xof() [all …]
|
H A D | derive.rs | 329 let good_sig = extended_keypair.key.sign(ctx.xof(h.clone())); in derive_key_public_vs_private_paths() localVariable 334 extended_public_key.key.verify(ctx.xof(h.clone()), &good_sig).is_ok(), in derive_key_public_vs_private_paths() 342 ! extended_public_key.key.verify(ctx.xof(h_bad), &good_sig).is_ok(), in derive_key_public_vs_private_paths()
|
/dports/devel/dtool/dtool-0.11.0/cargo-crates/schnorrkel-0.10.1/iffy/migration_from_ed25519/src/ |
H A D | derive.rs.diff | 28 let good_sig = extended_keypair.key.sign(ctx.xof(h.clone())); 36 - let good_sig = extended_keypair.key 44 - .verify_ed25519_prehashed(h_ed25519.clone(), context, &good_sig), 54 - .verify_ed25519_prehashed::<Sha3_512>(h_bad, context, &good_sig),
|
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/cargo-crates/ed25519-dalek-1.0.0/tests/ |
H A D | ed25519.rs | 125 let good_sig: Signature; in sign_verify() localVariable 134 good_sig = keypair.sign(&good); in sign_verify() 137 assert!(keypair.verify(&good, &good_sig).is_ok(), in sign_verify() 141 assert!(keypair.verify(&bad, &good_sig).is_err(), in sign_verify() 148 let good_sig: Signature; in ed25519ph_sign_verify() localVariable 172 good_sig = keypair.sign_prehashed(prehashed_good1, Some(context)).unwrap(); in ed25519ph_sign_verify() 175 assert!(keypair.verify_prehashed(prehashed_good2, Some(context), &good_sig).is_ok(), in ed25519ph_sign_verify() 179 assert!(keypair.verify_prehashed(prehashed_bad2, Some(context), &good_sig).is_err(), in ed25519ph_sign_verify()
|
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/ed25519-dalek-1.0.1/tests/ |
H A D | ed25519.rs | 125 let good_sig: Signature; in sign_verify() localVariable 134 good_sig = keypair.sign(&good); in sign_verify() 137 assert!(keypair.verify(&good, &good_sig).is_ok(), in sign_verify() 141 assert!(keypair.verify(&bad, &good_sig).is_err(), in sign_verify() 148 let good_sig: Signature; in ed25519ph_sign_verify() localVariable 172 good_sig = keypair.sign_prehashed(prehashed_good1, Some(context)).unwrap(); in ed25519ph_sign_verify() 175 assert!(keypair.verify_prehashed(prehashed_good2, Some(context), &good_sig).is_ok(), in ed25519ph_sign_verify() 179 assert!(keypair.verify_prehashed(prehashed_bad2, Some(context), &good_sig).is_err(), in ed25519ph_sign_verify()
|
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/ed25519-dalek-1.0.1/tests/ |
H A D | ed25519.rs | 125 let good_sig: Signature; in sign_verify() localVariable 134 good_sig = keypair.sign(&good); in sign_verify() 137 assert!(keypair.verify(&good, &good_sig).is_ok(), in sign_verify() 141 assert!(keypair.verify(&bad, &good_sig).is_err(), in sign_verify() 148 let good_sig: Signature; in ed25519ph_sign_verify() localVariable 172 good_sig = keypair.sign_prehashed(prehashed_good1, Some(context)).unwrap(); in ed25519ph_sign_verify() 175 assert!(keypair.verify_prehashed(prehashed_good2, Some(context), &good_sig).is_ok(), in ed25519ph_sign_verify() 179 assert!(keypair.verify_prehashed(prehashed_bad2, Some(context), &good_sig).is_err(), in ed25519ph_sign_verify()
|
/dports/lang/v8/v8-9.6.180.12/test/wasm-api-tests/ |
H A D | startup-errors.cc | 46 own<FuncType> good_sig = in TEST_F() local 48 own<Func> good_func = Func::make(store(), good_sig.get(), DummyCallback); in TEST_F()
|
/dports/security/git-remote-gcrypt/git-remote-gcrypt-1.4/ |
H A D | git-remote-gcrypt | 431 local recp_= r_tail= r_keyinfo= r_keyfpr= gpg_list= cap_= conf_part= good_sig= signers_= 449 good_sig="^\[GNUPG:\] GOODSIG " 450 setvar "$1" "$good_sig" 476 append_to @good_sig "^\[GNUPG:\] VALIDSIG .*$fprid_$" || { 499 setvar "$1" "$good_sig"
|
/dports/security/p5-Net-OpenID-Server/Net-OpenID-Server-1.09/lib/Net/OpenID/ |
H A D | Server.pm | 642 my $good_sig; 644 $good_sig = OpenID::util::b64(hmac_sha1($token, $c_sec)); 647 $good_sig = OpenID::util::b64(hmac_sha256($token, $c_sec)); 653 my $is_valid = OpenID::util::timing_indep_eq($sig, $good_sig);
|
/dports/net/p5-Net-OpenID-Consumer/Net-OpenID-Consumer-1.18/lib/Net/OpenID/ |
H A D | Consumer.pm | 836 my $good_sig = substr(hmac_sha1_hex($sig_time, $c_secret), 0, 20); 837 return $self->_fail("time_bad_sig") unless OpenID::util::timing_indep_eq($sig, $good_sig); 932 my $good_sig = $assoc->generate_signature($token); 933 … return $self->_fail("signature_mismatch") unless OpenID::util::timing_indep_eq($sig64, $good_sig);
|
/dports/www/ikiwiki/ikiwiki-3.20200202.3/doc/bugs/ |
H A D | Error:_OpenID_failure:_time_bad_sig:.mdwn | 33 my $good_sig = substr(OpenID::util::hmac_sha1_hex($sig_time, $c_secret), 0, 20); 34 return $self->_fail("time_bad_sig") unless $sig eq $good_sig;
|
/dports/security/py-pyblake2/pyblake2-1.1.2/doc_src/ |
H A D | examples.rst | 105 ... good_sig = sign(cookie) 106 ... if len(sig) != len(good_sig): 110 ... for x, y in zip(sig, good_sig):
|
/dports/devel/monotone/monotone-1.1/src/ |
H A D | database_check.cc | 55 bool good_sig; member 57 checked_cert(cert const & c): rcert(c), found_key(false), good_sig(false) {} in checked_cert() 506 checked.good_sig in check_certs() 921 else if (!checked->good_sig) in report_certs()
|
/dports/databases/py-gdbm/Python-3.8.12/Doc/library/ |
H A D | hashlib.rst | 515 ... good_sig = sign(cookie) 516 ... return compare_digest(good_sig, sig)
|
/dports/databases/py-sqlite3/Python-3.8.12/Doc/library/ |
H A D | hashlib.rst | 515 ... good_sig = sign(cookie) 516 ... return compare_digest(good_sig, sig)
|
/dports/lang/python-tools/Python-3.8.12/Doc/library/ |
H A D | hashlib.rst | 515 ... good_sig = sign(cookie) 516 ... return compare_digest(good_sig, sig)
|
/dports/lang/python310/Python-3.10.1/Doc/library/ |
H A D | hashlib.rst | 532 ... good_sig = sign(cookie) 533 ... return compare_digest(good_sig, sig)
|
/dports/lang/python37/Python-3.7.12/Doc/library/ |
H A D | hashlib.rst | 515 ... good_sig = sign(cookie) 516 ... return compare_digest(good_sig, sig)
|
/dports/lang/python38/Python-3.8.12/Doc/library/ |
H A D | hashlib.rst | 515 ... good_sig = sign(cookie) 516 ... return compare_digest(good_sig, sig)
|
/dports/lang/python39/Python-3.9.9/Doc/library/ |
H A D | hashlib.rst | 528 ... good_sig = sign(cookie) 529 ... return compare_digest(good_sig, sig)
|
/dports/lang/python311/Python-3.11.0a3/Doc/library/ |
H A D | hashlib.rst | 532 ... good_sig = sign(cookie) 533 ... return compare_digest(good_sig, sig)
|
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Doc/library/ |
H A D | hashlib.rst | 515 ... good_sig = sign(cookie) 516 ... return compare_digest(good_sig, sig)
|