Searched refs:EncodeKey (Results 1 – 4 of 4) sorted by relevance
| /arkcompiler/toolchain/websocket/ |
| D | handshake_helper.cpp | 21 bool WebSocketKeyEncoder::EncodeKey(std::string_view key, unsigned char (&destination)[ENCODED_KEY_… in EncodeKey() function in OHOS::ArkCompiler::Toolchain::WebSocketKeyEncoder 27 return EncodeKey(reinterpret_cast<unsigned char *>(buffer.data()), buffer.size(), destination); in EncodeKey() 31 bool WebSocketKeyEncoder::EncodeKey(const unsigned char(&key)[KEY_LENGTH + 1], in EncodeKey() function in OHOS::ArkCompiler::Toolchain::WebSocketKeyEncoder 39 return EncodeKey(buffer, bufferSize, destination); in EncodeKey() 43 bool WebSocketKeyEncoder::EncodeKey(const unsigned char *source, size_t length, in EncodeKey() function in OHOS::ArkCompiler::Toolchain::WebSocketKeyEncoder
|
| D | handshake_helper.h | 36 static bool EncodeKey(std::string_view key, unsigned char (&destination)[ENCODED_KEY_LEN + 1]); 37 …static bool EncodeKey(const unsigned char(&key)[KEY_LENGTH + 1], unsigned char (&destination)[ENCO… 40 static bool EncodeKey(const unsigned char *source, size_t length,
|
| /arkcompiler/toolchain/websocket/client/ |
| D | websocket_client.cpp | 54 if (!WebSocketKeyEncoder::EncodeKey(defaultWebSocketKey, expectedSecWebSocketAccept)) { in ValidateServerHandShake()
|
| /arkcompiler/toolchain/websocket/server/ |
| D | websocket_server.cpp | 85 if (!WebSocketKeyEncoder::EncodeKey(req.secWebSocketKey, encodedKey)) { in ProtocolUpgrade()
|