git: wg: Port #27: adapt crypto code (curve25519, blake2s, siphash)

Aaron LI aly at crater.dragonflybsd.org
Thu Feb 8 00:32:28 PST 2024


commit d94868ddabfc4f978bf213d8f0389f6b461cf999
Author: Aaron LI <aly at aaronly.me>
Date:   Sat Nov 18 18:01:55 2023 +0800

    wg: Port #27: adapt crypto code (curve25519, blake2s, siphash)
    
    I've imported OpenBSD's blake2s implementation to 'crypto/blake2s', so
    don't need the 'COMPAT_NEED_BLAKE2S' code in 'wg_crypto.c'.

Summary of changes:
 sys/net/wg/compat.h    |  10 ---
 sys/net/wg/crypto.h    |  56 ++-------------
 sys/net/wg/wg_cookie.c |   4 +-
 sys/net/wg/wg_cookie.h |   3 +-
 sys/net/wg/wg_crypto.c | 190 -------------------------------------------------
 sys/net/wg/wg_noise.c  |  50 +++----------
 sys/net/wg/wg_noise.h  |   4 ++
 7 files changed, 25 insertions(+), 292 deletions(-)
 delete mode 100644 sys/net/wg/compat.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d94868ddabfc4f978bf213d8f0389f6b461cf999


-- 
DragonFly BSD source repository


More information about the Commits mailing list