diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | blocks.c | 2 | ||||
-rw-r--r-- | fe25519.c | 2 | ||||
-rw-r--r-- | ge25519.c | 2 | ||||
-rw-r--r-- | hash.c | 2 | ||||
-rw-r--r-- | sc25519.c | 2 | ||||
-rw-r--r-- | verify.c | 2 |
7 files changed, 14 insertions, 0 deletions
@@ -8,6 +8,8 @@ | |||
8 | specification to prevent warnings. | 8 | specification to prevent warnings. |
9 | - (dtucker) [crypto_api.h] Wrap stdlib.h include inside #ifdef HAVE_STDINT_H. | 9 | - (dtucker) [crypto_api.h] Wrap stdlib.h include inside #ifdef HAVE_STDINT_H. |
10 | - (dtucker) [poly1305.c] Wrap stdlib.h include inside #ifdef HAVE_STDINT_H. | 10 | - (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. | ||
11 | 13 | ||
12 | 20140118 | 14 | 20140118 |
13 | - (djm) OpenBSD CVS Sync | 15 | - (djm) OpenBSD CVS Sync |
@@ -5,6 +5,8 @@ | |||
5 | * Copied from nacl-20110221/crypto_hashblocks/sha512/ref/blocks.c | 5 | * Copied from nacl-20110221/crypto_hashblocks/sha512/ref/blocks.c |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #include "includes.h" | ||
9 | |||
8 | #include "crypto_api.h" | 10 | #include "crypto_api.h" |
9 | 11 | ||
10 | typedef unsigned long long uint64; | 12 | typedef unsigned long long uint64; |
@@ -6,6 +6,8 @@ | |||
6 | * Copied from supercop-20130419/crypto_sign/ed25519/ref/fe25519.c | 6 | * Copied from supercop-20130419/crypto_sign/ed25519/ref/fe25519.c |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include "includes.h" | ||
10 | |||
9 | #define WINDOWSIZE 1 /* Should be 1,2, or 4 */ | 11 | #define WINDOWSIZE 1 /* Should be 1,2, or 4 */ |
10 | #define WINDOWMASK ((1<<WINDOWSIZE)-1) | 12 | #define WINDOWMASK ((1<<WINDOWSIZE)-1) |
11 | 13 | ||
@@ -6,6 +6,8 @@ | |||
6 | * Copied from supercop-20130419/crypto_sign/ed25519/ref/ge25519.c | 6 | * Copied from supercop-20130419/crypto_sign/ed25519/ref/ge25519.c |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include "includes.h" | ||
10 | |||
9 | #include "fe25519.h" | 11 | #include "fe25519.h" |
10 | #include "sc25519.h" | 12 | #include "sc25519.h" |
11 | #include "ge25519.h" | 13 | #include "ge25519.h" |
@@ -8,6 +8,8 @@ D. J. Bernstein | |||
8 | Public domain. | 8 | Public domain. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include "includes.h" | ||
12 | |||
11 | #include "crypto_api.h" | 13 | #include "crypto_api.h" |
12 | 14 | ||
13 | #define blocks crypto_hashblocks_sha512 | 15 | #define blocks crypto_hashblocks_sha512 |
@@ -6,6 +6,8 @@ | |||
6 | * Copied from supercop-20130419/crypto_sign/ed25519/ref/sc25519.c | 6 | * Copied from supercop-20130419/crypto_sign/ed25519/ref/sc25519.c |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include "includes.h" | ||
10 | |||
9 | #include "sc25519.h" | 11 | #include "sc25519.h" |
10 | 12 | ||
11 | /*Arithmetic modulo the group order m = 2^252 + 27742317777372353535851937790883648493 = 7237005577332262213973186563042994240857116359379907606001950938285454250989 */ | 13 | /*Arithmetic modulo the group order m = 2^252 + 27742317777372353535851937790883648493 = 7237005577332262213973186563042994240857116359379907606001950938285454250989 */ |
@@ -5,6 +5,8 @@ | |||
5 | * Copied from nacl-20110221/crypto_verify/32/ref/verify.c | 5 | * Copied from nacl-20110221/crypto_verify/32/ref/verify.c |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #include "includes.h" | ||
9 | |||
8 | #include "crypto_api.h" | 10 | #include "crypto_api.h" |
9 | 11 | ||
10 | int crypto_verify_32(const unsigned char *x,const unsigned char *y) | 12 | int crypto_verify_32(const unsigned char *x,const unsigned char *y) |