- (dtucker) [blocks.c fe25519.c ge25519.c hash.c sc25519.c verify.c] Include
includes.h to pull in all of the compatibility stuff.
This commit is contained in:
parent
99df369d03
commit
f45f78ae43
|
@ -8,6 +8,8 @@
|
||||||
specification to prevent warnings.
|
specification to prevent warnings.
|
||||||
- (dtucker) [crypto_api.h] Wrap stdlib.h include inside #ifdef HAVE_STDINT_H.
|
- (dtucker) [crypto_api.h] Wrap stdlib.h include inside #ifdef HAVE_STDINT_H.
|
||||||
- (dtucker) [poly1305.c] Wrap stdlib.h include inside #ifdef HAVE_STDINT_H.
|
- (dtucker) [poly1305.c] Wrap stdlib.h include inside #ifdef HAVE_STDINT_H.
|
||||||
|
- (dtucker) [blocks.c fe25519.c ge25519.c hash.c sc25519.c verify.c] Include
|
||||||
|
includes.h to pull in all of the compatibility stuff.
|
||||||
|
|
||||||
20140118
|
20140118
|
||||||
- (djm) OpenBSD CVS Sync
|
- (djm) OpenBSD CVS Sync
|
||||||
|
|
2
blocks.c
2
blocks.c
|
@ -5,6 +5,8 @@
|
||||||
* Copied from nacl-20110221/crypto_hashblocks/sha512/ref/blocks.c
|
* Copied from nacl-20110221/crypto_hashblocks/sha512/ref/blocks.c
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "includes.h"
|
||||||
|
|
||||||
#include "crypto_api.h"
|
#include "crypto_api.h"
|
||||||
|
|
||||||
typedef unsigned long long uint64;
|
typedef unsigned long long uint64;
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
* Copied from supercop-20130419/crypto_sign/ed25519/ref/fe25519.c
|
* Copied from supercop-20130419/crypto_sign/ed25519/ref/fe25519.c
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "includes.h"
|
||||||
|
|
||||||
#define WINDOWSIZE 1 /* Should be 1,2, or 4 */
|
#define WINDOWSIZE 1 /* Should be 1,2, or 4 */
|
||||||
#define WINDOWMASK ((1<<WINDOWSIZE)-1)
|
#define WINDOWMASK ((1<<WINDOWSIZE)-1)
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
* Copied from supercop-20130419/crypto_sign/ed25519/ref/ge25519.c
|
* Copied from supercop-20130419/crypto_sign/ed25519/ref/ge25519.c
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "includes.h"
|
||||||
|
|
||||||
#include "fe25519.h"
|
#include "fe25519.h"
|
||||||
#include "sc25519.h"
|
#include "sc25519.h"
|
||||||
#include "ge25519.h"
|
#include "ge25519.h"
|
||||||
|
|
2
hash.c
2
hash.c
|
@ -8,6 +8,8 @@ D. J. Bernstein
|
||||||
Public domain.
|
Public domain.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "includes.h"
|
||||||
|
|
||||||
#include "crypto_api.h"
|
#include "crypto_api.h"
|
||||||
|
|
||||||
#define blocks crypto_hashblocks_sha512
|
#define blocks crypto_hashblocks_sha512
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
* Copied from supercop-20130419/crypto_sign/ed25519/ref/sc25519.c
|
* Copied from supercop-20130419/crypto_sign/ed25519/ref/sc25519.c
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "includes.h"
|
||||||
|
|
||||||
#include "sc25519.h"
|
#include "sc25519.h"
|
||||||
|
|
||||||
/*Arithmetic modulo the group order m = 2^252 + 27742317777372353535851937790883648493 = 7237005577332262213973186563042994240857116359379907606001950938285454250989 */
|
/*Arithmetic modulo the group order m = 2^252 + 27742317777372353535851937790883648493 = 7237005577332262213973186563042994240857116359379907606001950938285454250989 */
|
||||||
|
|
2
verify.c
2
verify.c
|
@ -5,6 +5,8 @@
|
||||||
* Copied from nacl-20110221/crypto_verify/32/ref/verify.c
|
* Copied from nacl-20110221/crypto_verify/32/ref/verify.c
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "includes.h"
|
||||||
|
|
||||||
#include "crypto_api.h"
|
#include "crypto_api.h"
|
||||||
|
|
||||||
int crypto_verify_32(const unsigned char *x,const unsigned char *y)
|
int crypto_verify_32(const unsigned char *x,const unsigned char *y)
|
||||||
|
|
Loading…
Reference in New Issue