HomeFreeBSD

crypto: Add an API supporting curve25519.

Description

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 0c6274a819ffdf6d5a3713b2c0f7014840f01703)

Details

Provenance
jhbAuthored on Jan 24 2022, 11:27 PM
Reviewer
markj
Differential Revision
D33935: crypto: Add an API supporting curve25519.
Parents
rGa4eea5804d5c: crypto: Add a simple API for [X]ChaCha20-Poly1035 on flat buffers.
Branches
Unknown
Tags
Unknown