1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

Merge pull request #8373 from sergio-nsk/sergio-nsk/8372/1

Backport 2.28: Fix compiling AESNI in Mbed-TLS with clang on Windows
This commit is contained in:
Bence Szépkúti
2023-10-26 15:59:05 +00:00
committed by GitHub
3 changed files with 6 additions and 3 deletions

View File

@ -193,7 +193,7 @@ void mbedtls_aesni_gcm_mult(unsigned char c[16],
const unsigned char a[16],
const unsigned char b[16])
{
__m128i aa, bb, cc, dd;
__m128i aa = { 0 }, bb = { 0 }, cc, dd;
/* The inputs are in big-endian order, so byte-reverse them */
for (size_t i = 0; i < 16; i++) {