aboutsummaryrefslogtreecommitdiffstats
path: root/src/wg_noise.c (unfollow)
Commit message (Expand)AuthorFilesLines
2021-04-22if_wg: more thorough wg_mbuf_resetMatt Dunwoodie1-6/+36
2021-04-22if_wg: better loop detectionMatt Dunwoodie1-3/+4
2021-04-22selftests: fixup headersJason A. Donenfeld4-12/+14
2021-04-22wg_noise: add selftestMatt Dunwoodie4-0/+100
2021-04-22wg_cookie: add selftestMatt Dunwoodie4-0/+303
2021-04-22if_wg: port allowedips selftest from Linux code and fix bugsJason A. Donenfeld3-66/+674
2021-04-21wg_cookie: ensure gc is called regularlyMatt Dunwoodie2-29/+44
2021-04-20global: update timer-type commentsJason A. Donenfeld2-5/+5
2021-04-20global: cleanup openbsd lock definesJason A. Donenfeld4-60/+26
2021-04-20global: use ck for loads/stores, rather than macro mazeJason A. Donenfeld4-86/+70
2021-04-20global: move siphash helper out of supportJason A. Donenfeld4-32/+24
2021-04-20TODO: add a few thingsJason A. Donenfeld1-0/+4
2021-04-20global: use sbintime_t consistentlyJason A. Donenfeld4-48/+45
2021-04-20wg_noise: inline noise_timer_expired to make expensive multiplication go awayJason A. Donenfeld1-1/+1
2021-04-21if_wg: minor code cleanup, improve readabilityMatt Dunwoodie1-69/+75
2021-04-21wg_noise: unify two state bools to an enumMatt Dunwoodie1-14/+16
2021-04-20global: use proper boolean typesJason A. Donenfeld4-46/+49
2021-04-21wg_noise: ensure we check peer count on hashtable insertMatt Dunwoodie3-11/+19
2021-04-20wg_noise: avoid handshake/keypair type confusionMatt Dunwoodie3-7/+16
2021-04-20wg_noise: insert/remove peer independent of alloc/destroyMatt Dunwoodie3-34/+49
2021-04-20wg_noise: assign index without lock then checkMatt Dunwoodie1-1/+11
2021-04-20wg_noise: remove duplicate peer checkMatt Dunwoodie1-5/+1
2021-04-20if_wg: remove unused loadMatt Dunwoodie1-1/+0
2021-04-20wg_noise: check keypair recvwith after nonceMatt Dunwoodie3-38/+31
2021-04-20wg_noise: use sbintime_t instead of timespecMatt Dunwoodie1-23/+19
2021-04-20wg_noise: no need to enter epoch hereMatt Dunwoodie1-6/+1
2021-04-20wg_noise: whitespace cleanupMatt Dunwoodie1-5/+0
2021-04-20wg_noise: lookup both keypair and handshake index at onceMatt Dunwoodie2-9/+10
2021-04-19if_wg: add missing return parens to follow style(9)Jason A. Donenfeld1-25/+25
2021-04-19if_wg: allow v4 xor v6 socket binding to fail with EADDRNOTAVAILJason A. Donenfeld1-21/+40
2021-04-19crypto: chacha and poly in same loopMatt Dunwoodie1-92/+58
2021-04-19if_wg: fixup wg_mbuf_resetMatt Dunwoodie1-2/+0
2021-04-19if_wg: replace %lu with PRIu64Matt Dunwoodie1-14/+15
2021-04-19if_wg: fix up bodged wg_mbuf_resetMatt Dunwoodie1-3/+3
2021-04-19if_wg: add wg_mbuf_reset to clear metadataMatt Dunwoodie1-2/+14
2021-04-19if_wg: replace timer lock with EPOCHMatt Dunwoodie1-232/+194
2021-04-19crypto: encrypt mbuf in placeMatt Dunwoodie5-33/+150
2021-04-19if_wg: actually use DEFAULT_MTU valueMatt Dunwoodie1-2/+2
2021-04-19if_wg: cleanup allowed-ips functionsMatt Dunwoodie1-305/+168
2021-04-19if_wg: remove superfluous ull castsMatt Dunwoodie1-15/+12
2021-04-19if_wg: add packet loop detectionMatt Dunwoodie1-0/+8
2021-04-19if_wg: replace wg_tag with wg_packetMatt Dunwoodie2-688/+649
2021-04-19if_wg: import latest wg_noise.{c,h}Matt Dunwoodie5-1068/+1137
2021-04-18if_wg: warn when we can't bind to socketsJason A. Donenfeld1-0/+1
2021-04-18if_wg: rewrite and clarify socket bindingJason A. Donenfeld1-49/+41
2021-04-17if_wg: when setting the tunnel fib allow to set to fib number 0Frank Behrens1-5/+3
2021-04-15version: bumpv0.0.20210415Jason A. Donenfeld1-1/+1
2021-04-15if_wg: set multicast flagJason A. Donenfeld1-1/+1
2021-04-15if_wg: do not allow ioctl to race with clone_destroyJason A. Donenfeld1-10/+16
2021-04-15if_wg: don't check return value of WAITOKJason A. Donenfeld1-4/+0