mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-26 14:12:20 +01:00
Correct SHA256 final endianness on MMCAU platforms
This commit is contained in:
@@ -1728,7 +1728,7 @@ static WC_INLINE int Transform_Sha256_Len(wc_Sha256* sha256, const byte* data,
|
||||
2 * sizeof(word32));
|
||||
}
|
||||
#endif
|
||||
#if defined(WOLFSSL_ARMASM)
|
||||
#if defined(WOLFSSL_ARMASM) && !defined(FREESCALE_MMCAU_SHA)
|
||||
ByteReverseWords( &sha256->buffer[WC_SHA256_PAD_SIZE / sizeof(word32)],
|
||||
&sha256->buffer[WC_SHA256_PAD_SIZE / sizeof(word32)],
|
||||
2 * sizeof(word32));
|
||||
|
||||
Reference in New Issue
Block a user