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

Function run

tests/fuzz/fuzz-cryptomsg.c:103–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103void run(const u8 *data, size_t size)
104{
105 const u8 *buf = tal_dup_arr(NULL, u8, data, size, 0);
106
107 test_encrypt_decrypt_equality(buf);
108 test_decrypt_header(buf);
109 test_decrypt_body(buf);
110
111 tal_free(buf);
112}

Callers

nothing calls this directly

Calls 4

test_decrypt_headerFunction · 0.85
test_decrypt_bodyFunction · 0.85
tal_freeFunction · 0.85

Tested by

no test coverage detected