opnsense-src/sys/crypto
John Baldwin b29bd06e67 crypto: Add an API supporting curve25519.
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)
2022-07-13 12:28:41 -07:00
..
aesni crypto: Validate AES-GCM IV length in check_csp(). 2022-04-29 13:50:04 -07:00
armv8 crypto: Validate AES-GCM IV length in check_csp(). 2022-04-29 13:50:04 -07:00
blake2 Add a <machine/fpu.h> for i386 that includes <machine/npx.h>. 2020-10-13 17:26:12 +00:00
camellia crypto(4): Fix a few typos in camellia.c 2021-09-07 09:23:33 +02:00
ccp crypto: Validate AES-GCM IV length in check_csp(). 2022-04-29 13:50:04 -07:00
chacha20 crypto: Permit variable-sized IVs for ciphers with a reinit hook. 2021-10-21 13:47:58 -07:00
des Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
libsodium crypto: Add an API supporting curve25519. 2022-07-13 12:28:41 -07:00
openssl OpenSSL: Regen assembly file for OpenSSSL 1.1.1q 2022-07-05 12:27:52 -04:00
rc4
rijndael Consistently use C99 fixed-width types in the in-kernel crypto code. 2020-11-03 22:27:54 +00:00
sha2 Add accelerated arm64 sha512 to libmd 2021-12-29 10:06:00 +00:00
siphash
skein Consistently use C99 fixed-width types in the in-kernel crypto code. 2020-11-03 22:27:54 +00:00
via Add a <machine/fpu.h> for i386 that includes <machine/npx.h>. 2020-10-13 17:26:12 +00:00
chacha20_poly1305.c crypto: Add a simple API for [X]ChaCha20-Poly1035 on flat buffers. 2022-07-13 12:25:55 -07:00
chacha20_poly1305.h crypto: Add a simple API for [X]ChaCha20-Poly1035 on flat buffers. 2022-07-13 12:25:55 -07:00
curve25519.c crypto: Add an API supporting curve25519. 2022-07-13 12:28:41 -07:00
curve25519.h crypto: Add an API supporting curve25519. 2022-07-13 12:28:41 -07:00
intake.h
sha1.c Replace some K&R function definitions with ANSI C. 2020-11-03 22:32:30 +00:00
sha1.h Consistently use C99 fixed-width types in the in-kernel crypto code. 2020-11-03 22:27:54 +00:00