summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/sha/sha.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/sha/sha.h')
-rw-r--r--src/lib/libcrypto/sha/sha.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/libcrypto/sha/sha.h b/src/lib/libcrypto/sha/sha.h
index a03694cd28..5baa80e62f 100644
--- a/src/lib/libcrypto/sha/sha.h
+++ b/src/lib/libcrypto/sha/sha.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: sha.h,v 1.15 2014/06/14 10:28:31 avsm Exp $ */ 1/* $OpenBSD: sha.h,v 1.16 2014/07/10 09:01:04 miod Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -78,14 +78,7 @@ extern "C" {
78 * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 78 * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
79 */ 79 */
80 80
81#if defined(__LP32__)
82#define SHA_LONG unsigned long
83#elif defined(__ILP64__)
84#define SHA_LONG unsigned long
85#define SHA_LONG_LOG2 3
86#else
87#define SHA_LONG unsigned int 81#define SHA_LONG unsigned int
88#endif
89 82
90#define SHA_LBLOCK 16 83#define SHA_LBLOCK 16
91#define SHA_CBLOCK (SHA_LBLOCK*4) /* SHA treats input data as a 84#define SHA_CBLOCK (SHA_LBLOCK*4) /* SHA treats input data as a