opnsense-src/sys/dev/wg
John Baldwin 5d70761f1a wg(4): Check for crypto operation errors
In particular, handle authentication errors due to bad MACs when
decrypting packets.

Since the current dispatch code assumes synchronous OCF sessions by
design, explicitly reject any created OCF session that is not
synchronous.  Software sessions are always synchronous in practice, so
this should be a nop.

Approved by:	so
Security:	FreeBSD-SA-26:52.if_wg
Security:	CVE-2026-58085
Reviewed by:	markj
Sponsored by:	Chelsio Communications
2026-08-03 12:53:17 +02:00
..
compat.h
crypto.h
if_wg.c wg: fix LINT-NOIP build 2025-06-30 11:53:02 +02:00
if_wg.h kern: wg: add support for removing Allowed-IPs 2025-06-25 21:58:22 -05:00
version.h
wg_cookie.c
wg_cookie.h
wg_crypto.c wg(4): Check for crypto operation errors 2026-08-03 12:53:17 +02:00
wg_noise.c
wg_noise.h