Skip to content

Commit 772d916

Browse files
MarekKnapeksjaeckel
authored andcommitted
Fix from code review.
1 parent 67e8811 commit 772d916

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/hashes/sha2/sha512_224_desc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const struct ltc_hash_descriptor sha512_224_desc =
2727
NULL
2828
};
2929

30-
#if defined LTC_SHA224_X86
30+
#if defined LTC_SHA512_224_X86
3131

3232
#if !defined (LTC_S_X86_CPUID)
3333
#define LTC_S_X86_CPUID
@@ -109,7 +109,7 @@ static LTC_INLINE int s_sha512_224_x86_is_supported(void)
109109
}
110110
return is_supported;
111111
}
112-
#endif /* LTC_SHA224_X86 */
112+
#endif /* LTC_SHA512_224_X86 */
113113

114114
/**
115115
Initialize the hash state

src/hashes/sha2/sha512_256_desc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const struct ltc_hash_descriptor sha512_256_desc =
2727
NULL
2828
};
2929

30-
#if defined LTC_SHA256_X86
30+
#if defined LTC_SHA512_256_X86
3131

3232
#if !defined (LTC_S_X86_CPUID)
3333
#define LTC_S_X86_CPUID
@@ -109,7 +109,7 @@ static LTC_INLINE int s_sha512_256_x86_is_supported(void)
109109
}
110110
return is_supported;
111111
}
112-
#endif /* LTC_SHA256_X86 */
112+
#endif /* LTC_SHA512_256_X86 */
113113

114114
/**
115115
Initialize the hash state

0 commit comments

Comments
 (0)