git: crypto: Adjust curve25519 and hook to build

Aaron LI aly at crater.dragonflybsd.org
Sat Jan 13 06:01:35 PST 2024


commit a163f8c49c78cfd65042d8addf96d7ac8c1484a8
Author: Aaron LI <aly at aaronly.me>
Date:   Fri Nov 17 10:28:16 2023 +0800

    crypto: Adjust curve25519 and hook to build
    
    - Fix header inclusions.
    - Add necessary '__inline' for '__always_inline' to fix build.
    - Replace 'letoh32()' with 'le32toh()'.
    - Adjust style a bit to be more consistent.

Summary of changes:
 sys/conf/files                     |   1 +
 sys/crypto/Makefile                |   3 ++
 sys/crypto/curve25519/curve25519.c | 106 +++++++++++++++++++++++--------------
 sys/crypto/curve25519/curve25519.h |   8 +--
 4 files changed, 76 insertions(+), 42 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list