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:
parent
d0242a220a
commit
972984880e
@ -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;
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user