MCPcopy Create free account
hub / github.com/ElementsProject/lightning / ecdh

Function ecdh

devtools/gossipwith.c:90–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void ecdh(const struct pubkey *point, struct secret *ss)
91{
92 if (secp256k1_ecdh(secp256k1_ctx, ss->data, &point->pubkey,
93 notsosecret.data, NULL, NULL) != 1)
94 abort();
95}
96
97/* We don't want to discard *any* messages. */
98bool is_unknown_msg_discardable(const u8 *cursor)

Callers

nothing calls this directly

Calls 1

abortFunction · 0.85

Tested by

no test coverage detected