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

Function sha256_double_done

bitcoin/shadouble.c:13–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13void sha256_double_done(struct sha256_ctx *shactx, struct sha256_double *res)
14{
15 sha256_done(shactx, &res->sha);
16 sha256(&res->sha, &res->sha, sizeof(res->sha));
17}
18REGISTER_TYPE_TO_HEXSTR(sha256_double);
19
20void towire_sha256_double(u8 **pptr, const struct sha256_double *sha256d)

Callers 4

handle_sign_messageFunction · 0.85
bitcoin_block_from_hexFunction · 0.85
json_checkmessageFunction · 0.85
mainFunction · 0.85

Calls 2

sha256_doneFunction · 0.85
sha256Class · 0.70

Tested by

no test coverage detected