mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 20:24:39 +02:00
remove ByteReverseWord64 in sha512
This commit is contained in:
committed by
Takashi Kojo
parent
28e18e35f8
commit
d8ca8586c0
@@ -156,18 +156,6 @@
|
|||||||
/* #define DEBUG_YMM */
|
/* #define DEBUG_YMM */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if defined(HAVE_BYTEREVERSE64) && \
|
|
||||||
!defined(HAVE_INTEL_AVX1) && !defined(HAVE_INTEL_AVX2)
|
|
||||||
#define ByteReverseWords64(out, in, size) ByteReverseWords64_1(out, size)
|
|
||||||
#define ByteReverseWords64_1(buf, size) \
|
|
||||||
{ unsigned int i ;\
|
|
||||||
for(i=0; i< size/sizeof(word64); i++){\
|
|
||||||
__asm__ volatile("bswapq %0":"+r"(buf[i])::) ;\
|
|
||||||
}\
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(WOLFSSL_IMX6_CAAM) && !defined(NO_IMX6_CAAM_HASH)
|
#if defined(WOLFSSL_IMX6_CAAM) && !defined(NO_IMX6_CAAM_HASH)
|
||||||
/* functions defined in wolfcrypt/src/port/caam/caam_sha.c */
|
/* functions defined in wolfcrypt/src/port/caam/caam_sha.c */
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user