Lines Matching refs:sys_authkey
162 u_int32 sys_authkey = 0; /* set to authentication key in use */ variable
268 sys_authkey = 0; /* set to authentication key in use */ in clear_globals()
365 sys_authkey = c; in ntpdatemain()
526 authtrust(sys_authkey, 1); in ntpdatemain()
527 if (!authistrusted(sys_authkey)) { in ntpdatemain()
529 (unsigned long) sys_authkey); in ntpdatemain()
713 xpkt.exten[0] = htonl(sys_authkey); in transmit()
717 len = authencrypt(sys_authkey, (u_int32 *)&xpkt, LEN_PKT_NOMAC); in transmit()
821 (long int)ntohl(rpkt->exten[0]), (long int)sys_authkey, in receive()
822 (long int)authdecrypt(sys_authkey, (u_int32 *)rpkt, in receive()
825 if (has_mac && ntohl(rpkt->exten[0]) == sys_authkey && in receive()
826 authdecrypt(sys_authkey, (u_int32 *)rpkt, LEN_PKT_NOMAC, in receive()