hide X448 base point export

This commit is contained in:
Vincent Hanquez 2017-02-20 11:27:19 +00:00
parent 139b204c6b
commit 956904e3c2
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ typedef int64_t decaf_sdword_t;
typedef struct { decaf_word_t limb[X448_LIMBS]; } gf_s, gf[1];
const unsigned char X448_BASE_POINT[X448_BYTES] = {5};
static const unsigned char X448_BASE_POINT[X448_BYTES] = {5};
static const gf ZERO = {{{0}}}, ONE = {{{1}}};

View File

@ -2,7 +2,7 @@
#define X448_BYTES (448/8)
/* The base point (5) */
extern const unsigned char X448_BASE_POINT[X448_BYTES];
//extern const unsigned char X448_BASE_POINT[X448_BYTES];
/* Returns 0 on success, -1 on failure */
int __attribute__((visibility("default")))