git: wg: Import from FreeBSD without any modifications

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


commit a6bca3d21a8a67af1fb058dca17f4aadd9d2c5ba
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Sep 20 21:13:06 2023 +0800

    wg: Import from FreeBSD without any modifications
    
    From FreeBSD main branch as of 2023-09-19.
    
    Kernel module/driver:
    - sys/dev/wg/compat.h
    - sys/dev/wg/crypto.h
    - sys/dev/wg/if_wg.c
    - sys/dev/wg/if_wg.h
    - sys/dev/wg/version.h
    - sys/dev/wg/wg_cookie.c
    - sys/dev/wg/wg_cookie.h
    - sys/dev/wg/wg_crypto.c
    - sys/dev/wg/wg_noise.c
    - sys/dev/wg/wg_noise.h
    
    Module makefile:
    - sys/modules/if_wg/Makefile
    
    Man page:
    - share/man/man4/wg.4

Summary of changes:
 share/man/man4/wg.4                                |  217 ++
 sys/net/wg/Makefile                                |   10 +
 sys/net/wg/compat.h                                |   10 +
 sys/net/wg/crypto.h                                |  121 +
 sys/net/wg/if_wg.c                                 | 3056 ++++++++++++++++++++
 .../src/s_cprojl.c => sys/net/wg/if_wg.h           |   36 +-
 sys/net/wg/version.h                               |    1 +
 sys/net/wg/wg_cookie.c                             |  507 ++++
 sys/net/wg/wg_cookie.h                             |   72 +
 .../blake2/blake2s.c => net/wg/wg_crypto.c}        |  190 +-
 sys/net/wg/wg_noise.c                              | 1406 +++++++++
 sys/net/wg/wg_noise.h                              |  131 +
 12 files changed, 5664 insertions(+), 93 deletions(-)
 create mode 100644 share/man/man4/wg.4
 create mode 100644 sys/net/wg/Makefile
 create mode 100644 sys/net/wg/compat.h
 create mode 100644 sys/net/wg/crypto.h
 create mode 100644 sys/net/wg/if_wg.c
 copy contrib/openbsd_libm/src/s_cprojl.c => sys/net/wg/if_wg.h (64%)
 create mode 100644 sys/net/wg/version.h
 create mode 100644 sys/net/wg/wg_cookie.c
 create mode 100644 sys/net/wg/wg_cookie.h
 copy sys/{crypto/blake2/blake2s.c => net/wg/wg_crypto.c} (55%)
 create mode 100644 sys/net/wg/wg_noise.c
 create mode 100644 sys/net/wg/wg_noise.h

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list