Home
last modified time | relevance | path

Searched refs:mask_key (Results 1 – 3 of 3) sorted by relevance

/external/chromium-trace/catapult/telemetry/third_party/websocket-client/
Dwebsocket.py320 mask_key = self.get_mask_key(4)
321 return frame_header + self._get_masked(mask_key)
323 def _get_masked(self, mask_key): argument
324 s = ABNF.mask(mask_key, self.data)
325 return mask_key + "".join(s)
328 def mask(mask_key, data): argument
336 _m = array.array("B", mask_key)
DREADME.rst171 - Patches: UUID4, self.keep_running, mask_key (ISSUE#11)
/external/webrtc/webrtc/examples/objc/AppRTCDemo/third_party/SocketRocket/
DSRWebSocket.m1363 uint8_t *mask_key = frame_buffer + frame_buffer_size;
1364 SecRandomCopyBytes(kSecRandomDefault, sizeof(uint32_t), (uint8_t *)mask_key);
1369 frame_buffer[frame_buffer_size] = unmasked_payload[i] ^ mask_key[i % sizeof(uint32_t)];