summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2018-01-16 21:42:41 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2018-01-16 21:42:41 +0000
commit4a4314b548e46aa0214ec94a4f342d830019a314 (patch)
treefccade4a895aeb9bf5db6b46a366571d066f07ea
parent6cc4edc0fa3453ed1a7d968c440de75180ad9f38 (diff)
g/c unused defines that were only used by nacl's SHA-512 implementation
ok tedu@
-rw-r--r--usr.bin/signify/crypto_api.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/signify/crypto_api.h b/usr.bin/signify/crypto_api.h
index d7b0a2e0801..540a7c21b61 100644
--- a/usr.bin/signify/crypto_api.h
+++ b/usr.bin/signify/crypto_api.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: crypto_api.h,v 1.1 2014/07/22 00:41:19 deraadt Exp $ */
+/* $OpenBSD: crypto_api.h,v 1.2 2018/01/16 21:42:40 naddy Exp $ */
/*
* Assembled from generated headers and source files by Markus Friedl.
@@ -16,9 +16,6 @@ typedef uint32_t crypto_uint32;
#define randombytes(buf, buf_len) arc4random_buf((buf), (buf_len))
-#define crypto_hashblocks_sha512_STATEBYTES 64U
-#define crypto_hashblocks_sha512_BLOCKBYTES 128U
-
int crypto_hashblocks_sha512(unsigned char *, const unsigned char *,
unsigned long long);