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

Function hmac_start

common/hmac.c:8–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6#include <wire/wire.h>
7
8void hmac_start(crypto_auth_hmacsha256_state *state,
9 const void *key, size_t klen)
10{
11 crypto_auth_hmacsha256_init(state, memcheck(key, klen), klen);
12}
13
14void hmac_update(crypto_auth_hmacsha256_state *state,
15 const void *src, size_t slen)

Callers 2

hmacFunction · 0.70
compute_hmacFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected