summaryrefslogtreecommitdiff
path: root/core/lib/libtomcrypt/src/headers/tomcrypt_hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/lib/libtomcrypt/src/headers/tomcrypt_hash.h')
-rw-r--r--core/lib/libtomcrypt/src/headers/tomcrypt_hash.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/lib/libtomcrypt/src/headers/tomcrypt_hash.h b/core/lib/libtomcrypt/src/headers/tomcrypt_hash.h
index 8347bcad..3a9fcee6 100644
--- a/core/lib/libtomcrypt/src/headers/tomcrypt_hash.h
+++ b/core/lib/libtomcrypt/src/headers/tomcrypt_hash.h
@@ -29,7 +29,7 @@ struct sha512_state {
};
#endif
-#if defined(LTC_SHA256) || defined(LTC_SHA256_ARM32_CE)
+#if defined(LTC_SHA256)
struct sha256_state {
ulong64 length;
ulong32 state[8], curlen;
@@ -162,7 +162,7 @@ typedef union Hash_state {
#ifdef LTC_SHA512
struct sha512_state sha512;
#endif
-#if defined(LTC_SHA256) || defined(LTC_SHA256_ARM32_CE)
+#if defined(LTC_SHA256)
struct sha256_state sha256;
#endif
#if defined(LTC_SHA1)
@@ -350,7 +350,7 @@ int sha512_224_test(void);
extern const struct ltc_hash_descriptor sha512_224_desc;
#endif
-#if defined(LTC_SHA256) || defined(LTC_SHA256_ARM32_CE)
+#if defined(LTC_SHA256)
int sha256_init(hash_state * md);
int sha256_process(hash_state * md, const unsigned char *in, unsigned long inlen);
int sha256_done(hash_state * md, unsigned char *out);