Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
47
void towire_hmac(u8 **pptr, const struct hmac *hmac)
48
{
49
towire_u8_array(pptr, hmac->bytes, ARRAY_SIZE(hmac->bytes));
50
}
51
52
void fromwire_hmac(const u8 **ptr, size_t *max, struct hmac *hmac)
53
{
Callers
1
create_onionreply
Function · 0.70
Calls
1
towire_u8_array
Function · 0.50
Tested by
no test coverage detected