Lines Matching refs:MODE_OUT
317 state->newkeys[MODE_IN] = state->newkeys[MODE_OUT] = NULL; in ssh_packet_set_connection()
952 if (mode == MODE_OUT) { in ssh_set_newkeys()
1019 if (mode == MODE_OUT) { in ssh_set_newkeys()
1081 state->newkeys[MODE_OUT]->enc.block_size); in ssh_packet_need_rekeying()
1113 if (mode == MODE_OUT) { in ssh_packet_enable_delayed_compress()
1156 if (state->newkeys[MODE_OUT] != NULL) { in ssh_packet_send2_wrapped()
1157 enc = &state->newkeys[MODE_OUT]->enc; in ssh_packet_send2_wrapped()
1158 mac = &state->newkeys[MODE_OUT]->mac; in ssh_packet_send2_wrapped()
1159 comp = &state->newkeys[MODE_OUT]->comp; in ssh_packet_send2_wrapped()
1292 r = ssh_set_newkeys(ssh, MODE_OUT); in ssh_packet_send2_wrapped()
2525 cc = (mode == MODE_OUT) ? ssh->state->send_context : in newkeys_to_blob()
2579 (r = newkeys_to_blob(m, ssh, MODE_OUT)) != 0 || in ssh_packet_get_state()
2755 (r = newkeys_from_blob(m, ssh, MODE_OUT)) != 0 || in ssh_packet_set_state()
2775 (r = ssh_set_newkeys(ssh, MODE_OUT)) != 0) in ssh_packet_set_state()