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

Function hash_str

plugins/askrene/layer.c:176–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174};
175
176static size_t hash_str(const char *str)
177{
178 return siphash24(siphash_seed(), str, strlen(str));
179}
180
181static bool layer_eq_name(const struct layer *l,
182 const char *name)

Callers

nothing calls this directly

Calls 2

siphash24Function · 0.85
siphash_seedClass · 0.50

Tested by

no test coverage detected