mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 18:15:18 -07:00
Move curve25519_ref10.h to include/sodium/private/
This commit is contained in:
parent
8957364f47
commit
97b09aba0b
@ -24,7 +24,6 @@ libsodium_la_SOURCES = \
|
||||
crypto_core/curve25519/ref10/base.h \
|
||||
crypto_core/curve25519/ref10/base2.h \
|
||||
crypto_core/curve25519/ref10/curve25519_ref10.c \
|
||||
crypto_core/curve25519/ref10/curve25519_ref10.h \
|
||||
crypto_core/hsalsa20/ref2/core_hsalsa20.c \
|
||||
crypto_core/hsalsa20/core_hsalsa20_api.c \
|
||||
crypto_core/salsa20/ref/core_salsa20.c \
|
||||
@ -102,6 +101,7 @@ libsodium_la_SOURCES = \
|
||||
crypto_verify/64/verify_64_api.c \
|
||||
crypto_verify/64/ref/verify_64.c \
|
||||
include/sodium/private/common.h \
|
||||
include/sodium/private/curve25519_ref10.h \
|
||||
randombytes/randombytes.c \
|
||||
sodium/core.c \
|
||||
sodium/runtime.c \
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include "curve25519_ref10.h"
|
||||
#include "crypto_verify_32.h"
|
||||
#include "private/curve25519_ref10.h"
|
||||
|
||||
static uint64_t load_3(const unsigned char *in)
|
||||
{
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "utils.h"
|
||||
#include "x25519_ref10.h"
|
||||
#include "../scalarmult_curve25519.h"
|
||||
#include "../../../crypto_core/curve25519/ref10/curve25519_ref10.h"
|
||||
#include "private/curve25519_ref10.h"
|
||||
|
||||
/*
|
||||
Replace (f,g) with (g,f) if b == 1;
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include "crypto_scalarmult_curve25519.h"
|
||||
#include "randombytes.h"
|
||||
#include "utils.h"
|
||||
#include "../../../crypto_core/curve25519/ref10/curve25519_ref10.h"
|
||||
#include "private/curve25519_ref10.h"
|
||||
|
||||
int crypto_sign_ed25519_seed_keypair(unsigned char *pk, unsigned char *sk,
|
||||
const unsigned char *seed)
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include "crypto_verify_32.h"
|
||||
#include "randombytes.h"
|
||||
#include "utils.h"
|
||||
#include "../../../crypto_core/curve25519/ref10/curve25519_ref10.h"
|
||||
#include "private/curve25519_ref10.h"
|
||||
|
||||
int crypto_sign_edwards25519sha512batch_keypair(unsigned char *pk,
|
||||
unsigned char *sk)
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "crypto_sign_ed25519.h"
|
||||
#include "crypto_verify_32.h"
|
||||
#include "utils.h"
|
||||
#include "../../../crypto_core/curve25519/ref10/curve25519_ref10.h"
|
||||
#include "private/curve25519_ref10.h"
|
||||
|
||||
#ifndef ED25519_COMPAT
|
||||
static int
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include "crypto_hash_sha512.h"
|
||||
#include "crypto_sign_ed25519.h"
|
||||
#include "utils.h"
|
||||
#include "../../../crypto_core/curve25519/ref10/curve25519_ref10.h"
|
||||
#include "private/curve25519_ref10.h"
|
||||
|
||||
int
|
||||
crypto_sign_ed25519_detached(unsigned char *sig, unsigned long long *siglen_p,
|
||||
|
Loading…
Reference in New Issue
Block a user