1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-24 20:45:17 -07:00

Fix double definition of ge25519_base in ed25519

This commit is contained in:
Frank Denis 2013-01-20 11:57:39 -08:00
parent d0242a220a
commit 972984880e
2 changed files with 2 additions and 2 deletions

View File

@ -6,6 +6,8 @@
#include "ge25519.h" #include "ge25519.h"
extern const ge25519 ge25519_base;
static void get_hram(unsigned char *hram, const unsigned char *sm, const unsigned char *pk, unsigned char *playground, unsigned long long smlen) static void get_hram(unsigned char *hram, const unsigned char *sm, const unsigned char *pk, unsigned char *playground, unsigned long long smlen)
{ {
unsigned long long i; unsigned long long i;

View File

@ -20,8 +20,6 @@ typedef struct
fe25519 t; fe25519 t;
} ge25519; } ge25519;
const ge25519 ge25519_base;
int ge25519_unpackneg_vartime(ge25519 *r, const unsigned char p[32]); int ge25519_unpackneg_vartime(ge25519 *r, const unsigned char p[32]);
void ge25519_pack(unsigned char r[32], const ge25519 *p); void ge25519_pack(unsigned char r[32], const ge25519 *p);