aboutsummaryrefslogtreecommitdiffstats
path: root/src/wg_noise.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* crypto: return an error code from mbuf crypt routinesJohn Baldwin2022-06-101-4/+9
* if_wg: wg_clone_create: Use M_WAITOK with mallocJohn Baldwin2022-06-101-3/+1
* global: replace rwlock with mtx if never rlockedJason A. Donenfeld2021-06-051-29/+29
* global: destroy rwlocks and mtxsJason A. Donenfeld2021-06-051-0/+6
* wg_noise: set handshake to dead before removing keypairJason A. Donenfeld2021-05-031-2/+3
* if_wg: put event notifiers in main loopJason A. Donenfeld2021-05-031-1/+2
* wg_noise: cleanup counter algorithmJason A. Donenfeld2021-05-031-24/+26
* wg_noise: fix remote refcount leakMatt Dunwoodie2021-04-281-2/+2
* wg_noise: compile on 32-bitJason A. Donenfeld2021-04-241-7/+37
* if_wg: ensure peer lifetimeMatt Dunwoodie2021-04-251-6/+0
* wg_noise: zero out new structuresJason A. Donenfeld2021-04-221-16/+2
* if_wg: properly use rn_inithead and rn_detachheadJason A. Donenfeld2021-04-221-1/+2
* global: add missing bracketsJason A. Donenfeld2021-04-221-1/+2
* wg_noise: add selftestMatt Dunwoodie2021-04-221-0/+4
* global: cleanup openbsd lock definesJason A. Donenfeld2021-04-201-3/+4
* global: use ck for loads/stores, rather than macro mazeJason A. Donenfeld2021-04-201-41/+38
* global: move siphash helper out of supportJason A. Donenfeld2021-04-201-4/+12
* wg_noise: inline noise_timer_expired to make expensive multiplication go awayJason A. Donenfeld2021-04-201-1/+1
* wg_noise: unify two state bools to an enumMatt Dunwoodie2021-04-211-14/+16
* global: use proper boolean typesJason A. Donenfeld2021-04-201-24/+24
* wg_noise: ensure we check peer count on hashtable insertMatt Dunwoodie2021-04-211-9/+16
* wg_noise: avoid handshake/keypair type confusionMatt Dunwoodie2021-04-201-5/+14
* wg_noise: insert/remove peer independent of alloc/destroyMatt Dunwoodie2021-04-201-19/+30
* wg_noise: assign index without lock then checkMatt Dunwoodie2021-04-201-1/+11
* wg_noise: remove duplicate peer checkMatt Dunwoodie2021-04-201-5/+1
* wg_noise: check keypair recvwith after nonceMatt Dunwoodie2021-04-201-29/+25
* wg_noise: use sbintime_t instead of timespecMatt Dunwoodie2021-04-201-23/+19
* wg_noise: no need to enter epoch hereMatt Dunwoodie2021-04-201-6/+1
* wg_noise: whitespace cleanupMatt Dunwoodie2021-04-201-5/+0
* wg_noise: lookup both keypair and handshake index at onceMatt Dunwoodie2021-04-201-2/+8
* crypto: encrypt mbuf in placeMatt Dunwoodie2021-04-191-7/+8
* if_wg: import latest wg_noise.{c,h}Matt Dunwoodie2021-04-191-526/+889
* wg_noise: ensure non-zero'd handshakes have a valid local indexMatt Dunwoodie2021-03-221-4/+3
* compat: backport to FreeBSD 12.2Jason A. Donenfeld2021-03-181-1/+2
* Initial importJason A. Donenfeld2021-03-171-0/+952