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

Function towire_hmac

common/hmac.c:47–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void towire_hmac(u8 **pptr, const struct hmac *hmac)
48{
49 towire_u8_array(pptr, hmac->bytes, ARRAY_SIZE(hmac->bytes));
50}
51
52void fromwire_hmac(const u8 **ptr, size_t *max, struct hmac *hmac)
53{

Callers 1

create_onionreplyFunction · 0.70

Calls 1

towire_u8_arrayFunction · 0.50

Tested by

no test coverage detected