Searched refs:secbit (Results 1 – 1 of 1) sorted by relevance
| /xnu-12377.41.6/bsd/netinet/ |
| H A D | tcp_syncookie.c | 90 static uint32_t syncookie_mac(struct tcp_inp *tpi, uint8_t flags, uint8_t secbit); 559 syncookie_mac(struct tcp_inp *tpi, uint8_t flags, uint8_t secbit) in syncookie_mac() argument 566 return syncookie_siphash(tpi, flags, tcp_syncookie_secret.key[secbit]); in syncookie_mac() 573 uint8_t i, secbit, peer_wscale = 0; in syncookie_generate() local 627 secbit = tcp_syncookie_secret.oddeven & 0x1; in syncookie_generate() 628 cookie.flags.odd_even = secbit; in syncookie_generate() 630 hash = syncookie_mac(tpi, cookie.cookie, secbit); in syncookie_generate() 704 int secbit; in syncookie_reseed() local 712 secbit = (secret->oddeven & 0x1) ? 0 : 1; in syncookie_reseed() 713 secbits = secret->key[secbit]; in syncookie_reseed()
|