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

Class sha256

common/pseudorand.c:17–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 if (unlikely(!pseudorand_initted)) {
16 unsigned char seedbuf[16];
17 struct sha256 sha;
18
19 randbytes(seedbuf, sizeof(seedbuf));
20 memcpy(&siphashseed, seedbuf, sizeof(siphashseed));

Callers 1

init_if_neededFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected