wg: Change some functions to return boolean for clarity
commit682f87c9216f79618de4ca90152d8f433bd9d748
authorAaron LI <aly@aaronly.me>
Fri, 5 Jan 2024 15:07:52 +0000 (5 23:07 +0800)
committerAaron LI <aly@aaronly.me>
Thu, 8 Feb 2024 06:44:46 +0000 (8 14:44 +0800)
treee29e441637284002de09146275f24f71cbd23232
parentfa8f7fdb7febcba4d6256ab6bd55868659f2e41a
wg: Change some functions to return boolean for clarity

These functions are used in 'if' conditional, so only a boolean return
value if necessary.  Change them to return a boolean to make the code
read more clearly.
sys/net/wg/if_wg.c
sys/net/wg/wg_cookie.c
sys/net/wg/wg_noise.c
sys/net/wg/wg_noise.h