From 35a03b163b434560c1030ce4272744c922f0a81f Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 29 May 2018 17:04:48 +0200 Subject: curve25519: x86_64: make symbol static --- src/crypto/curve25519-x86_64.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/crypto') diff --git a/src/crypto/curve25519-x86_64.h b/src/crypto/curve25519-x86_64.h index 4e3f9f8..a4c958a 100644 --- a/src/crypto/curve25519-x86_64.h +++ b/src/crypto/curve25519-x86_64.h @@ -890,7 +890,7 @@ static void sqr2_256x256_integer_bmi2(u64 *const c, const u64 *const a) : "memory", "cc", "%rax", "%rcx", "%rdx", "%r8", "%r9", "%r10", "%r11", "%r12", "%r13", "%r14"); } -void red_eltfp25519_2w_adx(u64 *const c, const u64 *const a) +static void red_eltfp25519_2w_adx(u64 *const c, const u64 *const a) { asm volatile( "movl $38, %%edx; " /* 2*c = 38 = 2^256 */ @@ -956,7 +956,7 @@ void red_eltfp25519_2w_adx(u64 *const c, const u64 *const a) : "memory", "cc", "%rax", "%rbx", "%rcx", "%rdx", "%r8", "%r9", "%r10", "%r11"); } -void red_eltfp25519_2w_bmi2(u64 *const c, const u64 *const a) +static void red_eltfp25519_2w_bmi2(u64 *const c, const u64 *const a) { asm volatile( "movl $38, %%edx ; " /* 2*c = 38 = 2^256 */ -- cgit v1.2.3-59-g8ed1b