Lines Matching refs:sensitive_data
202 } sensitive_data; variable
475 if (sensitive_data.host_keys[i]) { in destroy_sensitive_data()
476 key_free(sensitive_data.host_keys[i]); in destroy_sensitive_data()
477 sensitive_data.host_keys[i] = NULL; in destroy_sensitive_data()
479 if (sensitive_data.host_certificates[i]) { in destroy_sensitive_data()
480 key_free(sensitive_data.host_certificates[i]); in destroy_sensitive_data()
481 sensitive_data.host_certificates[i] = NULL; in destroy_sensitive_data()
494 if (sensitive_data.host_keys[i]) { in demote_sensitive_data()
495 tmp = key_demote(sensitive_data.host_keys[i]); in demote_sensitive_data()
496 key_free(sensitive_data.host_keys[i]); in demote_sensitive_data()
497 sensitive_data.host_keys[i] = tmp; in demote_sensitive_data()
694 key = sensitive_data.host_keys[i];
696 key = sensitive_data.host_pubkeys[i];
724 key = sensitive_data.host_certificates[i];
758 key = sensitive_data.host_certificates[i];
761 key = sensitive_data.host_keys[i];
763 key = sensitive_data.host_pubkeys[i];
769 sensitive_data.host_keys[i] : key;
791 return (sensitive_data.host_keys[ind]);
799 return (sensitive_data.host_pubkeys[ind]);
809 if (key == sensitive_data.host_certificates[i] ||
810 (compare && sensitive_data.host_certificates[i] &&
812 sensitive_data.host_certificates[i])))
815 if (key == sensitive_data.host_keys[i] ||
816 (compare && sensitive_data.host_keys[i] &&
817 sshkey_equal(key, sensitive_data.host_keys[i])))
819 if (key == sensitive_data.host_pubkeys[i] ||
820 (compare && sensitive_data.host_pubkeys[i] &&
821 sshkey_equal(key, sensitive_data.host_pubkeys[i])))
1563 sensitive_data.have_ssh2_key = 0;
1666 sensitive_data.host_keys = xcalloc(options.num_host_key_files,
1668 sensitive_data.host_pubkeys = xcalloc(options.num_host_key_files,
1698 sensitive_data.host_keys[i] = key;
1699 sensitive_data.host_pubkeys[i] = pubkey;
1710 sensitive_data.host_keys[i] = NULL;
1711 sensitive_data.host_pubkeys[i] = NULL;
1721 sensitive_data.have_ssh2_key = 1;
1731 if (!sensitive_data.have_ssh2_key) {
1740 sensitive_data.host_certificates = xcalloc(options.num_host_key_files,
1743 sensitive_data.host_certificates[i] = NULL;
1763 sensitive_data.host_keys[j])) {
1764 sensitive_data.host_certificates[j] = key;
1774 sensitive_data.host_certificates[j] = key;