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

Function run

tests/fuzz/fuzz-ripemd160.c:69–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void run(const u8 *data, size_t size)
70{
71 struct ripemd160 expected;
72 u8 num_splits;
73
74 if (size < 1)
75 return;
76
77 num_splits = *data;
78 ++data;
79 --size;
80
81 ripemd160(&expected, data, size);
82
83 test_split_update(num_splits, &expected, data, size);
84 test_vs_openssl(&expected, data, size);
85}

Callers

nothing calls this directly

Calls 3

ripemd160Class · 0.70
test_split_updateFunction · 0.70
test_vs_opensslFunction · 0.70

Tested by

no test coverage detected