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

Class sha256

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

Source from the content-addressed store, hash-verified

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

Callers 1

init_if_neededFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected