Searched refs:peer2 (Results 1 - 2 of 2) sorted by relevance
/netbsd-current/crypto/external/bsd/openssl/dist/demos/keyexch/ |
H A D | x25519.c | 207 PEER_DATA peer1 = {"peer 1"}, peer2 = {"peer 2"}; local 219 &peer2) == 0) 227 if (keyexch_x25519_after(libctx, use_kat, &peer1, peer2.pubk_data) == 0) 230 if (keyexch_x25519_after(libctx, use_kat, &peer2, peer1.pubk_data) == 0) 241 if (CRYPTO_memcmp(peer1.secret, peer2.secret, peer1.secret_len) != 0) { 257 OPENSSL_clear_free(peer2.secret, peer2.secret_len); 260 EVP_PKEY_free(peer2.privk);
|
/netbsd-current/external/bsd/ntp/dist/ntpd/ |
H A D | ntp_proto.c | 651 struct peer *peer2; /* aux peer structure pointer */ local 1469 if ((peer2 = findmanycastpeer(rbufp)) == NULL) { 1474 if (!AUTH( (!(peer2->cast_flags & MDF_POOL) 1497 if (MDF_POOL & peer2->cast_flags) { 1502 peer2->minpoll, peer2->maxpoll, 1503 (FLAG_PREEMPT | (POOL_FLAG_PMASK & peer2->flags)), 1516 if (peer2->cast_flags & MDF_POOL) 1517 peer2->nextdate = current_time + 1;
|
Completed in 125 milliseconds