/dports/net-p2p/c-lightning/lightning-0.10.2/bitcoin/ |
H A D | pubkey.h | 15 struct pubkey { struct 17 secp256k1_pubkey pubkey; member 20 STRUCTEQ_DEF(pubkey, 0, pubkey.data); 24 secp256k1_xonly_pubkey pubkey; member 27 STRUCTEQ_DEF(point32, 0, pubkey.data); 43 struct pubkey *key); 52 int pubkey_cmp(const struct pubkey *a, const struct pubkey *b); 55 static inline int pubkey_idx(const struct pubkey *id1, const struct pubkey *id2) in pubkey_idx() 66 void towire_pubkey(u8 **pptr, const struct pubkey *pubkey); 67 void fromwire_pubkey(const u8 **cursor, size_t *max, struct pubkey *pubkey); [all …]
|
H A D | script.h | 10 struct pubkey; 18 const struct pubkey *key1, 19 const struct pubkey *key2); 39 u8 *bitcoin_redeem_p2pkh(const tal_t *ctx, const struct pubkey *pubkey, 77 const struct pubkey *key1, 78 const struct pubkey *key2); 83 const struct pubkey *key); 110 const struct pubkey *localkey, 111 const struct pubkey *remotekey, 130 const struct pubkey *localkey, [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/ipxe/src/tests/ |
H A D | pubkey_test.h | 23 uint8_t ctx[ (pubkey)->ctxsize ]; \ 39 pubkey_final ( (pubkey), ctx ); \ 56 uint8_t ctx[ (pubkey)->ctxsize ]; \ 70 pubkey_decrypt_ok ( (pubkey), (decrypt_key), \ 75 pubkey_final ( (pubkey), ctx ); \ 92 uint8_t ctx[ (pubkey)->ctxsize ]; \ 113 pubkey_final ( (pubkey), ctx ); \ 130 uint8_t ctx[ (pubkey)->ctxsize ]; \ 142 pubkey_final ( (pubkey), ctx ); \ 160 uint8_t ctx[ (pubkey)->ctxsize ]; \ [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/roms/ipxe/src/tests/ |
H A D | pubkey_test.h | 23 uint8_t ctx[ (pubkey)->ctxsize ]; \ 39 pubkey_final ( (pubkey), ctx ); \ 56 uint8_t ctx[ (pubkey)->ctxsize ]; \ 70 pubkey_decrypt_ok ( (pubkey), (decrypt_key), \ 75 pubkey_final ( (pubkey), ctx ); \ 92 uint8_t ctx[ (pubkey)->ctxsize ]; \ 113 pubkey_final ( (pubkey), ctx ); \ 130 uint8_t ctx[ (pubkey)->ctxsize ]; \ 142 pubkey_final ( (pubkey), ctx ); \ 160 uint8_t ctx[ (pubkey)->ctxsize ]; \ [all …]
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/roms/ipxe/src/tests/ |
H A D | pubkey_test.h | 23 uint8_t ctx[ (pubkey)->ctxsize ]; \ 39 pubkey_final ( (pubkey), ctx ); \ 56 uint8_t ctx[ (pubkey)->ctxsize ]; \ 70 pubkey_decrypt_ok ( (pubkey), (decrypt_key), \ 75 pubkey_final ( (pubkey), ctx ); \ 92 uint8_t ctx[ (pubkey)->ctxsize ]; \ 113 pubkey_final ( (pubkey), ctx ); \ 130 uint8_t ctx[ (pubkey)->ctxsize ]; \ 142 pubkey_final ( (pubkey), ctx ); \ 160 uint8_t ctx[ (pubkey)->ctxsize ]; \ [all …]
|
/dports/net/ipxe/ipxe-2265a65/src/tests/ |
H A D | pubkey_test.h | 23 uint8_t ctx[ (pubkey)->ctxsize ]; \ 39 pubkey_final ( (pubkey), ctx ); \ 56 uint8_t ctx[ (pubkey)->ctxsize ]; \ 70 pubkey_decrypt_ok ( (pubkey), (decrypt_key), \ 75 pubkey_final ( (pubkey), ctx ); \ 92 uint8_t ctx[ (pubkey)->ctxsize ]; \ 113 pubkey_final ( (pubkey), ctx ); \ 130 uint8_t ctx[ (pubkey)->ctxsize ]; \ 142 pubkey_final ( (pubkey), ctx ); \ 160 uint8_t ctx[ (pubkey)->ctxsize ]; \ [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/ipxe/src/tests/ |
H A D | pubkey_test.h | 23 uint8_t ctx[ (pubkey)->ctxsize ]; \ 39 pubkey_final ( (pubkey), ctx ); \ 56 uint8_t ctx[ (pubkey)->ctxsize ]; \ 70 pubkey_decrypt_ok ( (pubkey), (decrypt_key), \ 75 pubkey_final ( (pubkey), ctx ); \ 92 uint8_t ctx[ (pubkey)->ctxsize ]; \ 113 pubkey_final ( (pubkey), ctx ); \ 130 uint8_t ctx[ (pubkey)->ctxsize ]; \ 142 pubkey_final ( (pubkey), ctx ); \ 160 uint8_t ctx[ (pubkey)->ctxsize ]; \ [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/ipxe/src/tests/ |
H A D | pubkey_test.h | 23 uint8_t ctx[ (pubkey)->ctxsize ]; \ 39 pubkey_final ( (pubkey), ctx ); \ 56 uint8_t ctx[ (pubkey)->ctxsize ]; \ 70 pubkey_decrypt_ok ( (pubkey), (decrypt_key), \ 75 pubkey_final ( (pubkey), ctx ); \ 92 uint8_t ctx[ (pubkey)->ctxsize ]; \ 113 pubkey_final ( (pubkey), ctx ); \ 130 uint8_t ctx[ (pubkey)->ctxsize ]; \ 142 pubkey_final ( (pubkey), ctx ); \ 160 uint8_t ctx[ (pubkey)->ctxsize ]; \ [all …]
|
/dports/emulators/qemu/qemu-6.2.0/roms/ipxe/src/tests/ |
H A D | pubkey_test.h | 23 uint8_t ctx[ (pubkey)->ctxsize ]; \ 39 pubkey_final ( (pubkey), ctx ); \ 56 uint8_t ctx[ (pubkey)->ctxsize ]; \ 70 pubkey_decrypt_ok ( (pubkey), (decrypt_key), \ 75 pubkey_final ( (pubkey), ctx ); \ 92 uint8_t ctx[ (pubkey)->ctxsize ]; \ 113 pubkey_final ( (pubkey), ctx ); \ 130 uint8_t ctx[ (pubkey)->ctxsize ]; \ 142 pubkey_final ( (pubkey), ctx ); \ 160 uint8_t ctx[ (pubkey)->ctxsize ]; \ [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/roms/ipxe/src/tests/ |
H A D | pubkey_test.h | 23 uint8_t ctx[ (pubkey)->ctxsize ]; \ 39 pubkey_final ( (pubkey), ctx ); \ 56 uint8_t ctx[ (pubkey)->ctxsize ]; \ 70 pubkey_decrypt_ok ( (pubkey), (decrypt_key), \ 75 pubkey_final ( (pubkey), ctx ); \ 92 uint8_t ctx[ (pubkey)->ctxsize ]; \ 113 pubkey_final ( (pubkey), ctx ); \ 130 uint8_t ctx[ (pubkey)->ctxsize ]; \ 142 pubkey_final ( (pubkey), ctx ); \ 160 uint8_t ctx[ (pubkey)->ctxsize ]; \ [all …]
|
/dports/net-p2p/c-lightning/lightning-0.10.2/common/ |
H A D | blindedpath.h | 9 struct pubkey; 16 const struct pubkey *route, 17 struct pubkey *initial_blinding, 18 struct pubkey *final_blinding); 35 const struct pubkey *node, 40 struct pubkey *node_alias) 59 struct pubkey *node_alias) 73 struct pubkey *onion_key, 90 struct pubkey *next_node, 110 const struct pubkey *my_id, [all …]
|
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/test/fuzz/ |
H A D | key.cpp | 103 assert(pubkey.size() == 33); in test_one_input() 106 assert(pubkey.begin() + pubkey.size() == pubkey.end()); in test_one_input() 107 assert(pubkey.data() == pubkey.begin()); in test_one_input() 108 assert(pubkey.IsCompressed()); in test_one_input() 109 assert(pubkey.IsValid()); in test_one_input() 110 assert(pubkey.IsFullyValid()); in test_one_input() 111 assert(HexToPubKey(HexStr(pubkey.begin(), pubkey.end())) == pubkey); in test_one_input() 220 const std::vector<unsigned char> vch_pubkey{pubkey.begin(), pubkey.end()}; in test_one_input() 222 assert(!CPubKey::ValidSize({pubkey.begin(), pubkey.begin() + pubkey.size() - 1})); in test_one_input() 248 sum += pubkey[i]; in test_one_input() [all …]
|
/dports/devel/gitolite/gitolite-3.6.12/src/lib/Gitolite/ |
H A D | Setup.pm | 74 my $pubkey = ''; 83 'pubkey|pk=s' => \$pubkey, 92 if ($pubkey) { 93 $pubkey =~ /\.pub$/ or _die "'$pubkey' name does not end in .pub"; 94 tsh_try("cat $pubkey") or _die "'$pubkey' not a readable file"; 96 …tsh_try("ssh-keygen -l -f $pubkey") or _die "'$pubkey' does not seem to be a valid ssh pubkey file… 98 $admin = $pubkey; 114 my ( $admin, $pubkey, $message ) = @_; 123 $pubkey_content = slurp($pubkey) if $pubkey; 141 if ($pubkey) { [all …]
|
/dports/net-p2p/bitcoin-utils/bitcoin-22.0/src/test/fuzz/ |
H A D | key.cpp | 102 assert(pubkey.size() == 33); in FUZZ_TARGET_INIT() 105 assert(pubkey.begin() + pubkey.size() == pubkey.end()); in FUZZ_TARGET_INIT() 106 assert(pubkey.data() == pubkey.begin()); in FUZZ_TARGET_INIT() 107 assert(pubkey.IsCompressed()); in FUZZ_TARGET_INIT() 108 assert(pubkey.IsValid()); in FUZZ_TARGET_INIT() 109 assert(pubkey.IsFullyValid()); in FUZZ_TARGET_INIT() 110 assert(HexToPubKey(HexStr(pubkey)) == pubkey); in FUZZ_TARGET_INIT() 219 const std::vector<unsigned char> vch_pubkey{pubkey.begin(), pubkey.end()}; in FUZZ_TARGET_INIT() 221 assert(!CPubKey::ValidSize({pubkey.begin(), pubkey.begin() + pubkey.size() - 1})); in FUZZ_TARGET_INIT() 247 sum += pubkey[i]; in FUZZ_TARGET_INIT() [all …]
|
/dports/net-p2p/bitcoin/bitcoin-22.0/src/test/fuzz/ |
H A D | key.cpp | 102 assert(pubkey.size() == 33); in FUZZ_TARGET_INIT() 105 assert(pubkey.begin() + pubkey.size() == pubkey.end()); in FUZZ_TARGET_INIT() 106 assert(pubkey.data() == pubkey.begin()); in FUZZ_TARGET_INIT() 107 assert(pubkey.IsCompressed()); in FUZZ_TARGET_INIT() 108 assert(pubkey.IsValid()); in FUZZ_TARGET_INIT() 109 assert(pubkey.IsFullyValid()); in FUZZ_TARGET_INIT() 110 assert(HexToPubKey(HexStr(pubkey)) == pubkey); in FUZZ_TARGET_INIT() 219 const std::vector<unsigned char> vch_pubkey{pubkey.begin(), pubkey.end()}; in FUZZ_TARGET_INIT() 221 assert(!CPubKey::ValidSize({pubkey.begin(), pubkey.begin() + pubkey.size() - 1})); in FUZZ_TARGET_INIT() 247 sum += pubkey[i]; in FUZZ_TARGET_INIT() [all …]
|
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/src/test/fuzz/ |
H A D | key.cpp | 102 assert(pubkey.size() == 33); in FUZZ_TARGET_INIT() 105 assert(pubkey.begin() + pubkey.size() == pubkey.end()); in FUZZ_TARGET_INIT() 106 assert(pubkey.data() == pubkey.begin()); in FUZZ_TARGET_INIT() 107 assert(pubkey.IsCompressed()); in FUZZ_TARGET_INIT() 108 assert(pubkey.IsValid()); in FUZZ_TARGET_INIT() 109 assert(pubkey.IsFullyValid()); in FUZZ_TARGET_INIT() 110 assert(HexToPubKey(HexStr(pubkey)) == pubkey); in FUZZ_TARGET_INIT() 219 const std::vector<unsigned char> vch_pubkey{pubkey.begin(), pubkey.end()}; in FUZZ_TARGET_INIT() 221 assert(!CPubKey::ValidSize({pubkey.begin(), pubkey.begin() + pubkey.size() - 1})); in FUZZ_TARGET_INIT() 247 sum += pubkey[i]; in FUZZ_TARGET_INIT() [all …]
|
/dports/net-p2p/namecoin/namecoin-core-nc0.21.0.1/src/test/fuzz/ |
H A D | key.cpp | 103 assert(pubkey.size() == 33); in test_one_input() 106 assert(pubkey.begin() + pubkey.size() == pubkey.end()); in test_one_input() 107 assert(pubkey.data() == pubkey.begin()); in test_one_input() 108 assert(pubkey.IsCompressed()); in test_one_input() 109 assert(pubkey.IsValid()); in test_one_input() 110 assert(pubkey.IsFullyValid()); in test_one_input() 111 assert(HexToPubKey(HexStr(pubkey)) == pubkey); in test_one_input() 220 const std::vector<unsigned char> vch_pubkey{pubkey.begin(), pubkey.end()}; in test_one_input() 222 assert(!CPubKey::ValidSize({pubkey.begin(), pubkey.begin() + pubkey.size() - 1})); in test_one_input() 248 sum += pubkey[i]; in test_one_input() [all …]
|
/dports/net-p2p/namecoin-daemon/namecoin-core-nc0.21.0.1/src/test/fuzz/ |
H A D | key.cpp | 103 assert(pubkey.size() == 33); in test_one_input() 106 assert(pubkey.begin() + pubkey.size() == pubkey.end()); in test_one_input() 107 assert(pubkey.data() == pubkey.begin()); in test_one_input() 108 assert(pubkey.IsCompressed()); in test_one_input() 109 assert(pubkey.IsValid()); in test_one_input() 110 assert(pubkey.IsFullyValid()); in test_one_input() 111 assert(HexToPubKey(HexStr(pubkey)) == pubkey); in test_one_input() 220 const std::vector<unsigned char> vch_pubkey{pubkey.begin(), pubkey.end()}; in test_one_input() 222 assert(!CPubKey::ValidSize({pubkey.begin(), pubkey.begin() + pubkey.size() - 1})); in test_one_input() 248 sum += pubkey[i]; in test_one_input() [all …]
|
/dports/net-p2p/namecoin-utils/namecoin-core-nc0.21.0.1/src/test/fuzz/ |
H A D | key.cpp | 103 assert(pubkey.size() == 33); in test_one_input() 106 assert(pubkey.begin() + pubkey.size() == pubkey.end()); in test_one_input() 107 assert(pubkey.data() == pubkey.begin()); in test_one_input() 108 assert(pubkey.IsCompressed()); in test_one_input() 109 assert(pubkey.IsValid()); in test_one_input() 110 assert(pubkey.IsFullyValid()); in test_one_input() 111 assert(HexToPubKey(HexStr(pubkey)) == pubkey); in test_one_input() 220 const std::vector<unsigned char> vch_pubkey{pubkey.begin(), pubkey.end()}; in test_one_input() 222 assert(!CPubKey::ValidSize({pubkey.begin(), pubkey.begin() + pubkey.size() - 1})); in test_one_input() 248 sum += pubkey[i]; in test_one_input() [all …]
|
/dports/security/opensc/OpenSC-0.22.0/src/pkcs15init/ |
H A D | pkcs15-isoApplet.c | 379 args.pubkey.rsa.modulus.value = malloc(args.pubkey.rsa.modulus.len); in isoApplet_generate_key_rsa() 405 pubkey->u.rsa.modulus.len = args.pubkey.rsa.modulus.len; in isoApplet_generate_key_rsa() 406 pubkey->u.rsa.modulus.data = args.pubkey.rsa.modulus.value; in isoApplet_generate_key_rsa() 407 pubkey->u.rsa.exponent.len = args.pubkey.rsa.exponent.len; in isoApplet_generate_key_rsa() 408 pubkey->u.rsa.exponent.data = args.pubkey.rsa.exponent.value; in isoApplet_generate_key_rsa() 492 args.pubkey.ec.ecPointQ.value = malloc(args.pubkey.ec.ecPointQ.len); in isoApplet_generate_key_ec() 530 pubkey->alg_id = malloc(sizeof(*pubkey->alg_id)); in isoApplet_generate_key_ec() 531 if(!pubkey->alg_id) in isoApplet_generate_key_ec() 541 pubkey->u.ec.ecpointQ.len = args.pubkey.ec.ecPointQ.len; in isoApplet_generate_key_ec() 542 pubkey->u.ec.ecpointQ.value = malloc(pubkey->u.ec.ecpointQ.len); in isoApplet_generate_key_ec() [all …]
|
/dports/security/tor/tor-0.4.6.8/src/lib/crypt_ops/ |
H A D | crypto_ed25519.c | 205 if (get_ed_impl()->pubkey(pubkey_out->pubkey, seckey->seckey) < 0) in ed25519_public_key_generate() 229 return safe_mem_is_zero((char*)pubkey->pubkey, ED25519_PUBKEY_LEN); in ed25519_public_key_is_zero() 277 keypair->pubkey.pubkey) < 0) { in ed25519_sign() 417 pks[i] = checkable[i].pubkey->pubkey; 475 *signbit_out = out->pubkey.pubkey[31] >> 7; in ed25519_keypair_from_curve25519_keypair() 480 tor_assert(fast_memeq(pubkey_check.pubkey, out->pubkey.pubkey, 32)); in ed25519_keypair_from_curve25519_keypair() 497 return get_ed_impl()->pubkey_from_curve25519_pubkey(pubkey->pubkey, in ed25519_public_key_from_curve25519_public_key() 528 tor_assert(fast_memeq(pubkey_check.pubkey, out->pubkey.pubkey, 32)); in ed25519_keypair_blind() 601 pubkey->pubkey, in ed25519_pubkey_write_to_file() 647 return tor_memeq(key1->pubkey, key2->pubkey, ED25519_PUBKEY_LEN); in ed25519_pubkey_eq() [all …]
|
/dports/security/tor-devel/tor-0.4.7.2-alpha/src/lib/crypt_ops/ |
H A D | crypto_ed25519.c | 205 if (get_ed_impl()->pubkey(pubkey_out->pubkey, seckey->seckey) < 0) in ed25519_public_key_generate() 229 return safe_mem_is_zero((char*)pubkey->pubkey, ED25519_PUBKEY_LEN); in ed25519_public_key_is_zero() 277 keypair->pubkey.pubkey) < 0) { in ed25519_sign() 417 pks[i] = checkable[i].pubkey->pubkey; 475 *signbit_out = out->pubkey.pubkey[31] >> 7; in ed25519_keypair_from_curve25519_keypair() 480 tor_assert(fast_memeq(pubkey_check.pubkey, out->pubkey.pubkey, 32)); in ed25519_keypair_from_curve25519_keypair() 497 return get_ed_impl()->pubkey_from_curve25519_pubkey(pubkey->pubkey, in ed25519_public_key_from_curve25519_public_key() 528 tor_assert(fast_memeq(pubkey_check.pubkey, out->pubkey.pubkey, 32)); in ed25519_keypair_blind() 601 pubkey->pubkey, in ed25519_pubkey_write_to_file() 647 return tor_memeq(key1->pubkey, key2->pubkey, ED25519_PUBKEY_LEN); in ed25519_pubkey_eq() [all …]
|
/dports/net-p2p/bitcoin/bitcoin-22.0/test/functional/test_framework/ |
H A D | wallet_util.py | 57 pubkey = node.getaddressinfo(addr)['pubkey'] 59 pubkey=pubkey, 61 p2pkh_addr=key_to_p2pkh(pubkey), 63 p2wpkh_addr=key_to_p2wpkh(pubkey), 66 p2sh_p2wpkh_addr=key_to_p2sh_p2wpkh(pubkey)) 75 pubkey = eckey.get_pubkey().get_bytes().hex() 77 pubkey=pubkey, 79 p2pkh_addr=key_to_p2pkh(pubkey), 81 p2wpkh_addr=key_to_p2wpkh(pubkey), 84 p2sh_p2wpkh_addr=key_to_p2sh_p2wpkh(pubkey)) [all …]
|
/dports/net-p2p/bitcoin-utils/bitcoin-22.0/test/functional/test_framework/ |
H A D | wallet_util.py | 57 pubkey = node.getaddressinfo(addr)['pubkey'] 59 pubkey=pubkey, 61 p2pkh_addr=key_to_p2pkh(pubkey), 63 p2wpkh_addr=key_to_p2wpkh(pubkey), 66 p2sh_p2wpkh_addr=key_to_p2sh_p2wpkh(pubkey)) 75 pubkey = eckey.get_pubkey().get_bytes().hex() 77 pubkey=pubkey, 79 p2pkh_addr=key_to_p2pkh(pubkey), 81 p2wpkh_addr=key_to_p2wpkh(pubkey), 84 p2sh_p2wpkh_addr=key_to_p2sh_p2wpkh(pubkey)) [all …]
|
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/test/functional/test_framework/ |
H A D | wallet_util.py | 57 pubkey = node.getaddressinfo(addr)['pubkey'] 59 pubkey=pubkey, 61 p2pkh_addr=key_to_p2pkh(pubkey), 63 p2wpkh_addr=key_to_p2wpkh(pubkey), 66 p2sh_p2wpkh_addr=key_to_p2sh_p2wpkh(pubkey)) 75 pubkey = eckey.get_pubkey().get_bytes().hex() 77 pubkey=pubkey, 79 p2pkh_addr=key_to_p2pkh(pubkey), 81 p2wpkh_addr=key_to_p2wpkh(pubkey), 84 p2sh_p2wpkh_addr=key_to_p2sh_p2wpkh(pubkey)) [all …]
|