Searched refs:newkeys (Results 1 – 5 of 5) sorted by relevance
558 kex_free_newkeys(struct newkeys *newkeys) in kex_free_newkeys() argument560 if (newkeys == NULL) in kex_free_newkeys()562 if (newkeys->enc.key) { in kex_free_newkeys()563 explicit_bzero(newkeys->enc.key, newkeys->enc.key_len); in kex_free_newkeys()564 free(newkeys->enc.key); in kex_free_newkeys()565 newkeys->enc.key = NULL; in kex_free_newkeys()567 if (newkeys->enc.iv) { in kex_free_newkeys()568 explicit_bzero(newkeys->enc.iv, newkeys->enc.iv_len); in kex_free_newkeys()569 free(newkeys->enc.iv); in kex_free_newkeys()570 newkeys->enc.iv = NULL; in kex_free_newkeys()[all …]
122 struct newkeys { struct133 struct newkeys *newkeys[MODE_MAX]; argument176 void kex_free_newkeys(struct newkeys *);
179 struct newkeys *newkeys[MODE_MAX]; member317 state->newkeys[MODE_IN] = state->newkeys[MODE_OUT] = NULL; in ssh_packet_set_connection()594 kex_free_newkeys(state->newkeys[mode]); in ssh_packet_close()965 if (state->newkeys[mode] != NULL) { in ssh_set_newkeys()972 enc = &state->newkeys[mode]->enc; in ssh_set_newkeys()973 mac = &state->newkeys[mode]->mac; in ssh_set_newkeys()974 comp = &state->newkeys[mode]->comp; in ssh_set_newkeys()985 free(state->newkeys[mode]); in ssh_set_newkeys()990 if ((state->newkeys[mode] = ssh->kex->newkeys[mode]) == NULL) in ssh_set_newkeys()992 ssh->kex->newkeys[mode] = NULL; in ssh_set_newkeys()[all …]
83 struct newkeys *mm_newkeys_from_blob(u_char *, int);
344 newkeys = {}345 newkeys["shutdown"] = shutdown346 newkeys["firmware"] = shutdown + firmware_time347 newkeys["startup"] = newkeys["firmware"] + startup348 newkeys["chrome_exec"] = newkeys["firmware"] + chrome_exec349 newkeys["login"] = reboot350 super(_RebootKeySet, self).AddIterationResults(newkeys)