Searched refs:kexstate (Results 1 – 7 of 7) sorted by relevance
120 ses.kexstate.sentkexinit = 1; in send_msg_kexinit()141 if (ses.kexstate.recvnewkeys) { in send_msg_newkeys()147 ses.kexstate.donefirstkex = 1; in send_msg_newkeys()149 ses.kexstate.sentnewkeys = 1; in send_msg_newkeys()165 if (ses.kexstate.sentnewkeys) { in recv_msg_newkeys()171 ses.kexstate.donefirstkex = 1; in recv_msg_newkeys()174 ses.kexstate.recvnewkeys = 1; in recv_msg_newkeys()184 ses.kexstate.donefirstkex = 0; in kexfirstinitialise()196 ses.kexstate.sentkexinit = 0; in kexinitialise()197 ses.kexstate.recvkexinit = 0; in kexinitialise()[all …]
377 if (!ses.kexstate.sentkexinit in checktimeouts()378 && (secs - ses.kexstate.lastkextime >= KEX_REKEY_TIMEOUT in checktimeouts()379 || ses.kexstate.datarecv+ses.kexstate.datatrans >= KEX_REKEY_DATA)){ in checktimeouts()
159 if (cli_ses.kex_state != KEX_NOTHING && ses.kexstate.recvkexinit == 0 in cli_sessionloop()160 && ses.kexstate.sentkexinit == 0) { in cli_sessionloop()172 if (ses.kexstate.donefirstkex == 0) { in cli_sessionloop()
50 if (!ses.kexstate.recvkexinit) { in recv_msg_kexdh_init()
130 struct KEXState kexstate; member
238 ses.kexstate.datarecv += ses.readbuf->len; in decrypt_packet()512 ses.kexstate.datatrans += writebuf->len; in encrypt_packet()
81 if (!ses.kexstate.donefirstkex) { in recv_msg_kexdh_reply()