Home
last modified time | relevance | path

Searched refs:remote_pubkey (Results 1 – 8 of 8) sorted by relevance

/dports/net-p2p/c-lightning/lightning-0.10.2/contrib/pyln-proto/pyln/proto/
H A Dwire.py79 def __init__(self, connection, remote_pubkey, local_privkey, is_initiator): argument
85 self.remote_pubkey = remote_pubkey
107 responder_pubkey = self.remote_pubkey
121 es = ecdh(self.handshake['e'], self.remote_pubkey)
215 self.remote_pubkey = PublicKey(rs)
217 se = ecdh(self.handshake['e'], self.remote_pubkey)
316 conn, remote_pubkey=None,
326 remote_pubkey = PublicKey(node_id)
328 remote_pubkey = PublicKey(node_id)
330 remote_pubkey = node_id
[all …]
/dports/net-p2p/c-lightning/lightning-0.10.2/contrib/pyln-proto/examples/
H A Dconnect.py15 remote_pubkey = PublicKey(unhexlify( variable
19 lc = connect(ls_privkey, remote_pubkey, '127.0.0.1', 9375)
/dports/net-p2p/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14/src/
H A Dpe_crypto.cpp102 void dh_key_exchange::compute_secret(std::uint8_t const* remote_pubkey) in compute_secret() argument
104 TORRENT_ASSERT(remote_pubkey); in compute_secret()
106 mp::import_bits(key, remote_pubkey, remote_pubkey + 96); in compute_secret()
110 void dh_key_exchange::compute_secret(key_t const& remote_pubkey) in compute_secret() argument
113 m_dh_shared_secret = mp::powm(remote_pubkey, m_dh_local_secret, dh_prime); in compute_secret()
/dports/net-p2p/py-libtorrent-rasterbar/libtorrent-1.2.13/src/
H A Dpe_crypto.cpp102 void dh_key_exchange::compute_secret(std::uint8_t const* remote_pubkey) in compute_secret() argument
104 TORRENT_ASSERT(remote_pubkey); in compute_secret()
106 mp::import_bits(key, remote_pubkey, remote_pubkey + 96); in compute_secret()
110 void dh_key_exchange::compute_secret(key_t const& remote_pubkey) in compute_secret() argument
113 m_dh_shared_secret = mp::powm(remote_pubkey, m_dh_local_secret, dh_prime); in compute_secret()
/dports/net-p2p/py-libtorrent-rasterbar/libtorrent-1.2.13/include/libtorrent/
H A Dpe_crypto.hpp83 void compute_secret(std::uint8_t const* remote_pubkey);
84 void compute_secret(key_t const& remote_pubkey);
/dports/net-p2p/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14/include/libtorrent/
H A Dpe_crypto.hpp83 void compute_secret(std::uint8_t const* remote_pubkey);
84 void compute_secret(key_t const& remote_pubkey);
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/thrussh-0.33.5/src/
H A Dkex.rs119 let mut remote_pubkey = GroupElement([0; 32]); in compute_shared_secret() localVariable
120 remote_pubkey.0.clone_from_slice(remote_pubkey_); in compute_shared_secret()
121 let shared = scalarmult(&local_secret, &remote_pubkey); in compute_shared_secret()
/dports/finance/electrum/Electrum-4.1.5/electrum/
H A Dlntransport.py160 def remote_pubkey(self) -> Optional[bytes]: member in LNTransportBase
175 pubkey = self.remote_pubkey()
233 def remote_pubkey(self) -> Optional[bytes]: member in LNResponderTransport
290 def remote_pubkey(self) -> Optional[bytes]: member in LNTransport