summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-12-18 17:48:32 +1100
committerDamien Miller <djm@mindrot.org>2013-12-18 17:48:32 +1100
commit155b5a5bf158767f989215479ded2a57f331e1c6 (patch)
treefaa70fcae30b7895921784c5fce56e64ebc4134c
parent8a56dc2b6b48b05590810e7f4c3567508410000c (diff)
- markus@cvs.openbsd.org 2013/12/09 11:08:17
[crypto_api.h] remove unused defines
-rw-r--r--ChangeLog3
-rw-r--r--crypto_api.h6
2 files changed, 4 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index a9705ad5b..c019c0e83 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -18,6 +18,9 @@
18 All of the NaCl software is in the public domain. 18 All of the NaCl software is in the public domain.
19 and http://ed25519.cr.yp.to/software.html 19 and http://ed25519.cr.yp.to/software.html
20 The Ed25519 software is in the public domain. 20 The Ed25519 software is in the public domain.
21 - markus@cvs.openbsd.org 2013/12/09 11:08:17
22 [crypto_api.h]
23 remove unused defines
21 24
2220131208 2520131208
23 - (djm) [openbsd-compat/bsd-setres_id.c] Missing header; from Corinna 26 - (djm) [openbsd-compat/bsd-setres_id.c] Missing header; from Corinna
diff --git a/crypto_api.h b/crypto_api.h
index 633463dca..88668451f 100644
--- a/crypto_api.h
+++ b/crypto_api.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: crypto_api.h,v 1.1 2013/12/06 13:39:49 markus Exp $ */ 1/* $OpenBSD: crypto_api.h,v 1.2 2013/12/09 11:08:17 markus Exp $ */
2 2
3/* Placed in the public domain. */ 3/* Placed in the public domain. */
4 4
@@ -26,10 +26,6 @@ int crypto_hash_sha512(unsigned char *, const unsigned char *,
26 26
27int crypto_verify_32(const unsigned char *, const unsigned char *); 27int crypto_verify_32(const unsigned char *, const unsigned char *);
28 28
29#define crypto_sign_BYTES crypto_sign_ed25519_BYTES
30#define crypto_sign_PUBLICKEYBYTES crypto_sign_ed25519_PUBLICKEYBYTES
31#define crypto_sign_SECRETKEYBYTES crypto_sign_ed25519_SECRETKEYBYTES
32
33#define crypto_sign_ed25519_SECRETKEYBYTES 64U 29#define crypto_sign_ed25519_SECRETKEYBYTES 64U
34#define crypto_sign_ed25519_PUBLICKEYBYTES 32U 30#define crypto_sign_ed25519_PUBLICKEYBYTES 32U
35#define crypto_sign_ed25519_BYTES 64U 31#define crypto_sign_ed25519_BYTES 64U