mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
This adds a wrapper around libsodium's curve25519 support matching
Linux's curve25519 API. The intended use case for this is WireGuard.
Note that this is not integrated with OCF as it is not related to
symmetric operations on data.
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D33935
(cherry picked from commit 0c6274a819)
5 lines
137 B
C
5 lines
137 B
C
/* This file is in the public domain */
|
|
/* $FreeBSD$ */
|
|
|
|
#define abort() \
|
|
panic("libsodium error at %s:%d", __FILE__, __LINE__)
|