Searched refs:nsrks (Results 1 – 6 of 6) sorted by relevance
/netbsd/crypto/external/bsd/openssh/dist/ |
H A D | ssh-sk-client.c | 376 sshsk_free_resident_keys(struct sshsk_resident_key **srks, size_t nsrks) in sshsk_free_resident_keys() argument 380 if (srks == NULL || nsrks == 0) in sshsk_free_resident_keys() 383 for (i = 0; i < nsrks; i++) in sshsk_free_resident_keys() 398 size_t userid_len = 0, nsrks = 0; in sshsk_load_resident() local 443 if ((tmp = recallocarray(srks, nsrks, nsrks + 1, in sshsk_load_resident() 448 debug_f("srks[%zu]: %s %s uidlen %zu", nsrks, in sshsk_load_resident() 452 srks[nsrks++] = srk; in sshsk_load_resident() 459 *nsrksp = nsrks; in sshsk_load_resident() 461 nsrks = 0; in sshsk_load_resident() 465 sshsk_free_resident_keys(srks, nsrks); in sshsk_load_resident()
|
H A D | ssh-sk.c | 755 sshsk_free_resident_keys(struct sshsk_resident_key **srks, size_t nsrks) in sshsk_free_resident_keys() argument 759 if (srks == NULL || nsrks == 0) in sshsk_free_resident_keys() 762 for (i = 0; i < nsrks; i++) in sshsk_free_resident_keys() 775 size_t i, nrks = 0, nsrks = 0; in sshsk_load_resident() local 834 if ((tmp = recallocarray(srks, nsrks, nsrks + 1, in sshsk_load_resident() 841 srks[nsrks++] = srk; in sshsk_load_resident() 847 *nsrksp = nsrks; in sshsk_load_resident() 849 nsrks = 0; in sshsk_load_resident() 857 sshsk_free_resident_keys(srks, nsrks); in sshsk_load_resident()
|
H A D | ssh-sk-helper.c | 219 size_t nsrks = 0, i; in process_load_resident() local 237 &srks, &nsrks)) != 0) { in process_load_resident() 249 for (i = 0; i < nsrks; i++) { in process_load_resident() 264 sshsk_free_resident_keys(srks, nsrks); in process_load_resident()
|
H A D | ssh-add.c | 584 size_t nsrks, i; in load_resident_keys() local 591 &srks, &nsrks)) != 0) { in load_resident_keys() 595 for (i = 0; i < nsrks; i++) { in load_resident_keys() 625 sshsk_free_resident_keys(srks, nsrks); in load_resident_keys() 626 if (nsrks == 0) in load_resident_keys()
|
H A D | ssh-sk.h | 76 void sshsk_free_resident_keys(struct sshsk_resident_key **srks, size_t nsrks);
|
H A D | ssh-keygen.c | 3128 size_t nsrks, i; in do_download_sk() local 3143 &srks, &nsrks)) != 0) { in do_download_sk() 3149 if (nsrks == 0) in do_download_sk() 3154 for (i = 0; i < nsrks; i++) { in do_download_sk() 3207 if (i >= nsrks) in do_download_sk() 3211 sshsk_free_resident_keys(srks, nsrks); in do_download_sk()
|