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

Function test_decrypt_body

tests/fuzz/fuzz-cryptomsg.c:96–101  ·  view source on GitHub ↗

Test body decryption of arbitrary bytes. */

Source from the content-addressed store, hash-verified

94
95/* Test body decryption of arbitrary bytes. */
96static void test_decrypt_body(const u8 *buf)
97{
98 struct crypto_state cs_in = init_cs_in;
99
100 cryptomsg_decrypt_body(buf, &cs_in, buf);
101}
102
103void run(const u8 *data, size_t size)
104{

Callers 1

runFunction · 0.85

Calls 1

cryptomsg_decrypt_bodyFunction · 0.85

Tested by

no test coverage detected