Skip to content

Commit f45f78a

Browse files
committed
- (dtucker) [blocks.c fe25519.c ge25519.c hash.c sc25519.c verify.c] Include
includes.h to pull in all of the compatibility stuff.
1 parent 99df369 commit f45f78a

File tree

7 files changed

+14
-0
lines changed

7 files changed

+14
-0
lines changed

ChangeLog

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
specification to prevent warnings.
99
- (dtucker) [crypto_api.h] Wrap stdlib.h include inside #ifdef HAVE_STDINT_H.
1010
- (dtucker) [poly1305.c] Wrap stdlib.h include inside #ifdef HAVE_STDINT_H.
11+
- (dtucker) [blocks.c fe25519.c ge25519.c hash.c sc25519.c verify.c] Include
12+
includes.h to pull in all of the compatibility stuff.
1113

1214
20140118
1315
- (djm) OpenBSD CVS Sync

blocks.c

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* Copied from nacl-20110221/crypto_hashblocks/sha512/ref/blocks.c
66
*/
77

8+
#include "includes.h"
9+
810
#include "crypto_api.h"
911

1012
typedef unsigned long long uint64;

fe25519.c

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* Copied from supercop-20130419/crypto_sign/ed25519/ref/fe25519.c
77
*/
88

9+
#include "includes.h"
10+
911
#define WINDOWSIZE 1 /* Should be 1,2, or 4 */
1012
#define WINDOWMASK ((1<<WINDOWSIZE)-1)
1113

ge25519.c

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* Copied from supercop-20130419/crypto_sign/ed25519/ref/ge25519.c
77
*/
88

9+
#include "includes.h"
10+
911
#include "fe25519.h"
1012
#include "sc25519.h"
1113
#include "ge25519.h"

hash.c

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ D. J. Bernstein
88
Public domain.
99
*/
1010

11+
#include "includes.h"
12+
1113
#include "crypto_api.h"
1214

1315
#define blocks crypto_hashblocks_sha512

sc25519.c

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* Copied from supercop-20130419/crypto_sign/ed25519/ref/sc25519.c
77
*/
88

9+
#include "includes.h"
10+
911
#include "sc25519.h"
1012

1113
/*Arithmetic modulo the group order m = 2^252 + 27742317777372353535851937790883648493 = 7237005577332262213973186563042994240857116359379907606001950938285454250989 */

verify.c

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* Copied from nacl-20110221/crypto_verify/32/ref/verify.c
66
*/
77

8+
#include "includes.h"
9+
810
#include "crypto_api.h"
911

1012
int crypto_verify_32(const unsigned char *x,const unsigned char *y)

0 commit comments

Comments
 (0)