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

Function hmac_start

common/hmac.c:9–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#include <wire/wire.h>
8
9void hmac_start(crypto_auth_hmacsha256_state *state,
10 const void *key, size_t klen)
11{
12 crypto_auth_hmacsha256_init(state, memcheck(key, klen), klen);
13}
14
15void hmac_update(crypto_auth_hmacsha256_state *state,
16 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