Home
last modified time | relevance | path

Searched refs:old_keys (Results 1 – 6 of 6) sorted by relevance

/freebsd/crypto/krb5/src/lib/kadm5/srv/
H A Dsvr_principal.c1109 free(adb->old_keys); in add_to_history()
1110 adb->old_keys = NULL; in add_to_history()
1120 if (adb->old_keys == NULL) { in add_to_history()
1121 adb->old_keys = (osa_pw_hist_ent *) in add_to_history()
1124 adb->old_keys = (osa_pw_hist_ent *) in add_to_history()
1125 realloc(adb->old_keys, in add_to_history()
1128 if (adb->old_keys == NULL) in add_to_history()
1131 memset(&adb->old_keys[nkeys], 0, sizeof(osa_pw_hist_ent)); in add_to_history()
1138 adb->old_keys[i] = adb->old_keys[i - 1]; in add_to_history()
1140 memset(&adb->old_keys[knext], 0, sizeof(osa_pw_hist_ent)); in add_to_history()
[all …]
H A Dadb_xdr.c92 if (!xdr_array(xdrs, (caddr_t *) &objp->old_keys, in xdr_osa_princ_ent_rec()
/freebsd/crypto/openssh/
H A Dclientloop.c2061 struct sshkey **old_keys; member
2084 sshkey_free(ctx->old_keys[i]); in hostkeys_update_ctx_free()
2085 free(ctx->old_keys); in hostkeys_update_ctx_free()
2186 if ((tmp = recallocarray(ctx->old_keys, ctx->nold, ctx->nold + 1, in hostkeys_find()
2187 sizeof(*ctx->old_keys))) == NULL) in hostkeys_find()
2189 ctx->old_keys = tmp; in hostkeys_find()
2190 ctx->old_keys[ctx->nold++] = l->key; in hostkeys_find()
2210 if (!sshkey_equal(l->key, ctx->old_keys[i])) in hostkeys_check_old()
2213 sshkey_ssh_name(ctx->old_keys[i]), l->path, l->linenum, in hostkeys_check_old()
2285 if ((fp = sshkey_fingerprint(ctx->old_keys[i], in update_known_hosts()
[all …]
/freebsd/crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_principal2.c603 if (princ_ent->old_keys[i].n_key_data <= 0) { in krb5_encode_histkey()
607 err = encode_keys(princ_ent->old_keys[i].key_data, in krb5_encode_histkey()
608 princ_ent->old_keys[i].n_key_data, in krb5_encode_histkey()
1777 princ_ent->old_keys = k5calloc(n_keysets, sizeof(osa_pw_hist_ent), &err); in krb5_decode_histkey()
1778 if (princ_ent->old_keys == NULL) in krb5_decode_histkey()
1787 princ_ent->old_keys[i].n_key_data = keysets[i].n_key_data; in krb5_decode_histkey()
1788 princ_ent->old_keys[i].key_data = keysets[i].key_data; in krb5_decode_histkey()
1794 qsort(princ_ent->old_keys, princ_ent->old_key_len, sizeof(osa_pw_hist_ent), in krb5_decode_histkey()
H A Dldap_misc.c1355 k5_free_key_data(princ_ent->old_keys[i].n_key_data, in free_princ_ent_contents()
1356 princ_ent->old_keys[i].key_data); in free_princ_ent_contents()
1357 princ_ent->old_keys[i].n_key_data = 0; in free_princ_ent_contents()
1358 princ_ent->old_keys[i].key_data = NULL; in free_princ_ent_contents()
1360 free(princ_ent->old_keys); in free_princ_ent_contents()
1361 princ_ent->old_keys = NULL; in free_princ_ent_contents()
/freebsd/crypto/krb5/src/lib/kadm5/
H A Dserver_internal.h69 osa_pw_hist_ent *old_keys; member