Searched refs:pubkeys (Results 1 – 3 of 3) sorted by relevance
| /freebsd-14.2/contrib/wireguard-tools/ |
| H A D | setconf.c | 34 struct pubkey_origin *pubkeys; in sync_conf() local 58 pubkeys = calloc(peer_count, sizeof(*pubkeys)); in sync_conf() 59 if (!pubkeys) { in sync_conf() 66 pubkeys[i].pubkey = peer->public_key; in sync_conf() 67 pubkeys[i].from_file = true; in sync_conf() 72 pubkeys[i].from_file = false; in sync_conf() 75 qsort(pubkeys, peer_count, sizeof(*pubkeys), pubkey_cmp); in sync_conf() 78 if (pubkeys[i].from_file) in sync_conf() 80 …if (i == peer_count - 1 || !pubkeys[i + 1].from_file || memcmp(pubkeys[i].pubkey, pubkeys[i + 1].p… in sync_conf() 84 free(pubkeys); in sync_conf() [all …]
|
| /freebsd-14.2/crypto/openssl/test/recipes/ |
| H A D | 06-test_algorithmid.t | 40 my @pubkeys = 50 + scalar @pubkeys; 58 foreach (sort @pubkeys) {
|
| /freebsd-14.2/crypto/openssh/regress/misc/fuzz-harness/ |
| H A D | kex_fuzz.cc | 31 struct sshkey **privkeys, **pubkeys; member 129 st->pubkeys[pubkey->type] != NULL)) in store_key() 132 st->pubkeys = (struct sshkey **)xrecallocarray(st->pubkeys, in store_key() 133 st->nkeys, pubkey->type + 1, sizeof(*st->pubkeys)); in store_key() 139 st->pubkeys[pubkey->type] = pubkey; in store_key() 160 st->pubkeys == NULL || st->pubkeys[keytype] == NULL) in get_pubkey() 162 return st->pubkeys[keytype]; in get_pubkey() 355 kextypes[j], sshkey_type(st->pubkeys[keytypes[i]])); in main() 366 kextypes[j], sshkey_type(st->pubkeys[keytypes[i]])); in main() 390 sshkey_type(st->pubkeys[keytypes[i]])); in main() [all …]
|