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

Class sha256

common/hsm_secret.c:110–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108
109 /* Since HSM_SECRET_PLAIN_SIZE == 32, this must be true! */
110 assert(len >= sizeof(struct sha256));
111
112 /* First 32 bytes are the hash of the resulting seed: all 0
113 * for "no passphrase" */

Callers 1

derive_seed_hashFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected