]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
crypto: Add an API supporting curve25519.
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 24 Jan 2022 23:27:39 +0000 (15:27 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Mon, 24 Jan 2022 23:27:39 +0000 (15:27 -0800)
commit0c6274a819ffdf6d5a3713b2c0f7014840f01703
treeca5a1e2259c7a48deecfd98cd03ec219a339aabf
parenta8c4147edcdce934f93dd848c6ed083500dff22c
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
sys/conf/files
sys/crypto/curve25519.c [new file with mode: 0644]
sys/crypto/curve25519.h [new file with mode: 0644]
sys/crypto/libsodium/stdlib.h
sys/crypto/libsodium/utils.c
sys/modules/crypto/Makefile