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

Class siphash_seed

common/memleak.c:84–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82static size_t hash_ptr(const void *elem, void *unused UNNEEDED)
83{
84 static struct siphash_seed seed;
85 return siphash24(&seed, &elem, sizeof(elem));
86}
87

Callers 5

node_id_hashFunction · 0.70
nodeid_hashFunction · 0.70
span_key_hashFunction · 0.70
msg_keyFunction · 0.50
htlc_hashFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected