From dcf78d77be9069c175cfacfb4513cc1d8728f90e Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 2 May 2020 17:42:25 +0200 Subject: [PATCH] Inline --- src/libsodium/include/sodium/private/ed25519_ref10_fe_25_5.h | 2 +- src/libsodium/include/sodium/private/ed25519_ref10_fe_51.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libsodium/include/sodium/private/ed25519_ref10_fe_25_5.h b/src/libsodium/include/sodium/private/ed25519_ref10_fe_25_5.h index 9d773262..3cd221a5 100644 --- a/src/libsodium/include/sodium/private/ed25519_ref10_fe_25_5.h +++ b/src/libsodium/include/sodium/private/ed25519_ref10_fe_25_5.h @@ -958,7 +958,7 @@ fe25519_sq2(fe25519 h, const fe25519 f) h[9] = (int32_t) h9; } -static void +static inline void fe25519_mul32(fe25519 h, const fe25519 f, uint32_t n) { int64_t sn = (int64_t) n; diff --git a/src/libsodium/include/sodium/private/ed25519_ref10_fe_51.h b/src/libsodium/include/sodium/private/ed25519_ref10_fe_51.h index 67a86152..dd94d0b8 100644 --- a/src/libsodium/include/sodium/private/ed25519_ref10_fe_51.h +++ b/src/libsodium/include/sodium/private/ed25519_ref10_fe_51.h @@ -479,7 +479,7 @@ fe25519_sq2(fe25519 h, const fe25519 f) h[4] = r04; } -static void +static inline void fe25519_mul32(fe25519 h, const fe25519 f, uint32_t n) { const uint64_t mask = 0x7ffffffffffffULL;