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

Class sha256

bitcoin/pubkey.c:95–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93{
94 u8 der[PUBKEY_CMPR_LEN];
95 struct sha256 h;
96
97 pubkey_to_der(der, pk);
98 sha256(&h, der, sizeof(der));

Callers 1

pubkey_to_hash160Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected