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

Class sha256

tests/fuzz/fuzz-sha256.c:22–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20/* Test that splitting the data and hashing via multiple updates yields the same
21 * result as not splitting the data. */
22static void test_split_update(int num_splits, const struct sha256 *expected,
23 const u8 *data, size_t size)
24{
25 const size_t split_size = size / (num_splits + 1);

Callers 1

runFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected