Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/ntp/dist/ntpdate/
H A Dntpdate.c164 u_int32 sys_authkey = 0; /* set to authentication key in use */ variable
270 sys_authkey = 0; /* set to authentication key in use */ in clear_globals()
367 sys_authkey = c; in ntpdatemain()
529 authtrust(sys_authkey, 1); in ntpdatemain()
530 if (!authistrusted(sys_authkey)) { in ntpdatemain()
532 (unsigned long) sys_authkey); in ntpdatemain()
716 xpkt.exten[0] = htonl(sys_authkey); in transmit()
720 len = authencrypt(sys_authkey, (u_int32 *)&xpkt, LEN_PKT_NOMAC); in transmit()
824 (long int)ntohl(rpkt->exten[0]), (long int)sys_authkey, in receive()
825 (long int)authdecrypt(sys_authkey, (u_int32 *)rpkt, in receive()
[all …]