Skip to content

Commit ede051d

Browse files
committed
post-rebase-fix
1 parent 335c43d commit ede051d

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/headers/tomcrypt_cfg.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,8 +413,6 @@ typedef unsigned long ltc_mp_digit;
413413
#else
414414
# define LTC_ATTRIBUTE(x)
415415
#endif
416-
#define LTC_SHA512_TARGET __attribute__((__target__("sse2,avx,avx2,sha512")))
417-
#define LTC_SHA512_TARGET
418416

419417
#if !defined(LTC_NO_GCM_PMULL) && (defined(__aarch64__) || defined(_M_ARM64))
420418
#define LTC_GCM_PMULL

src/headers/tomcrypt_private.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ int func_name (hash_state * md, const unsigned char *in, unsigned long inlen)
186186

187187

188188
#define LTC_SHA_TARGET LTC_ATTRIBUTE((__target__("sse2,ssse3,sse4.1,sha")))
189+
#define LTC_SHA512_TARGET LTC_ATTRIBUTE((__target__("sse2,avx,avx2,sha512")))
189190

190191
#ifdef LTC_SHA1
191192
int sha1_test_desc(const struct ltc_hash_descriptor *desc, const char *name);

0 commit comments

Comments
 (0)