Lines Matching refs:pack

1588         $kexinit_payload_client = pack('Ca*', NET_SSH2_MSG_KEXINIT, $client_cookie);
1751 $dh_group_sizes_packed = pack(
1757 $packet = pack(
1798 $data = pack('CNa*', constant($clientKexInitMessage), strlen($ourPublicBytes), $ourPublicBytes);
1887 $packet = pack('C', NET_SSH2_MSG_NEWKEYS);
1907 $keyBytes = pack('Na*', strlen($keyBytes), $keyBytes);
2587 $packet = $logged = pack('CN', NET_SSH2_MSG_USERAUTH_INFO_RESPONSE, count($responses));
2846 $terminal_modes = pack('C', NET_SSH2_TTY_OP_END);
2999 $terminal_modes = pack('C', NET_SSH2_TTY_OP_END);
3370 $this->send_binary_packet(pack('CN', NET_SSH2_MSG_IGNORE, 0));
3518 $this->send_binary_packet(pack('CN', NET_SSH2_MSG_IGNORE, 0));
3532 $this->send_binary_packet(pack('CN', NET_SSH2_MSG_IGNORE, 0));
3605 $nonce = pack('N2', 0, $this->get_seq_no);
3684 pack('NCa*', $packet_length, $padding_length, $payload . $padding) :
3687 $this->hmac_check->setNonce("\0\0\0\0" . pack('N', $this->get_seq_no));
3693 if ($hmac != $this->hmac_check->hash(pack('Na*', $this->get_seq_no, $reconstructed))) {
3869 $this->send_binary_packet(pack('CN', NET_SSH2_MSG_CHANNEL_SUCCESS, $this->server_channels[$channel]));
3891 $this->send_binary_packet(pack('C', NET_SSH2_MSG_REQUEST_FAILURE));
3918 $packet = pack(
4101 $packet = pack('CNN', NET_SSH2_MSG_CHANNEL_WINDOW_ADJUST, $this->server_channels[$channel], $this->window_resize);
4144 $this->send_binary_packet(pack('CN', NET_SSH2_MSG_CHANNEL_EOF, $this->server_channels[$client_channel]));
4145 $this->send_binary_packet(pack('CN', NET_SSH2_MSG_CHANNEL_CLOSE, $this->server_channels[$channel]));
4249 $this->send_binary_packet(pack('CN', NET_SSH2_MSG_CHANNEL_CLOSE, $this->server_channels[$channel]));
4327 $packet = pack('NCa*', $packet_length - 4, $padding_length, $data . $padding);
4332 $this->hmac_create->setNonce("\0\0\0\0" . pack('N', $this->send_seq_no));
4335 $hmac = $this->hmac_create->hash(pack('Na*', $this->send_seq_no, $packet));
4357 $nonce = pack('N2', 0, $this->send_seq_no);
4384 $this->hmac_create->setNonce("\0\0\0\0" . pack('N', $this->send_seq_no));
4387 $hmac = $this->hmac_create->hash(pack('Na*', $this->send_seq_no, $packet));
4582 $this->send_binary_packet(pack('CN', NET_SSH2_MSG_CHANNEL_EOF, $this->server_channels[$client_channel]));
4585 $this->send_binary_packet(pack('CN', NET_SSH2_MSG_CHANNEL_CLOSE, $this->server_channels[$client_channel]));
4597 $this->send_binary_packet(pack('CN', NET_SSH2_MSG_CHANNEL_CLOSE, $this->server_channels[$client_channel]));