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

Function apply_mask

connectd/websocketd.c:284–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284static void apply_mask(u8 *buf, size_t len, const u8 inmask[4])
285{
286 for (size_t i = 0; i < len; i++)
287 buf[i] ^= inmask[i % 4];
288}
289
290static void websocket_to_lightningd(int wsfd, int lightningfd)
291{

Callers 1

websocket_to_lightningdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected