Reduce symbols visibility in curve25519_sandy2x

This commit is contained in:
Frank Denis 2016-03-22 19:55:07 +01:00
parent bdd5e07ff9
commit 26e4cf479a
5 changed files with 16 additions and 2 deletions

View File

@ -7,10 +7,16 @@
#include "consts_namespace.h" #include "consts_namespace.h"
.text .text
.p2align 5 .p2align 5
.globl _fe51_mul .private_extern fe51_mul
.private_extern _fe51_mul
.globl fe51_mul .globl fe51_mul
_fe51_mul: .globl _fe51_mul
#ifdef __ELF__
.type fe51_mul, @function
.type _fe51_mul, @function
#endif
fe51_mul: fe51_mul:
_fe51_mul:
mov %rsp,%r11 mov %rsp,%r11
and $31,%r11 and $31,%r11
add $96,%r11 add $96,%r11

View File

@ -8,6 +8,8 @@
#include "consts_namespace.h" #include "consts_namespace.h"
.p2align 5 .p2align 5
.private_extern fe51_nsquare
.private_extern _fe51_nsquare
.globl fe51_nsquare .globl fe51_nsquare
.globl _fe51_nsquare .globl _fe51_nsquare
#ifdef __ELF__ #ifdef __ELF__

View File

@ -8,6 +8,8 @@
#include "consts_namespace.h" #include "consts_namespace.h"
.p2align 5 .p2align 5
.private_extern fe51_pack
.private_extern _fe51_pack
.globl fe51_pack .globl fe51_pack
.globl _fe51_pack .globl _fe51_pack
#ifdef __ELF__ #ifdef __ELF__

View File

@ -4,6 +4,8 @@
#include "consts_namespace.h" #include "consts_namespace.h"
.p2align 5 .p2align 5
.private_extern ladder
.private_extern _ladder
.globl ladder .globl ladder
.globl _ladder .globl _ladder
#ifdef __ELF__ #ifdef __ELF__

View File

@ -4,6 +4,8 @@
#include "consts_namespace.h" #include "consts_namespace.h"
.p2align 5 .p2align 5
.private_extern ladder_base
.private_extern _ladder_base
.globl ladder_base .globl ladder_base
.globl _ladder_base .globl _ladder_base
#ifdef __ELF__ #ifdef __ELF__