mirror of
https://github.com/Legrandin/pycryptodome.git
synced 2025-10-19 07:53:49 +00:00
Use memset, to avoid emmintrin.h
This commit is contained in:
parent
b4083688fd
commit
3f6a86e072
1 changed files with 2 additions and 1 deletions
|
@ -169,7 +169,8 @@ def compiler_supports_aesni():
|
|||
}
|
||||
int main(void) {
|
||||
int ret;
|
||||
__m128i x = _mm_setzero_si128();
|
||||
__m128i x;
|
||||
memset(&x, 0, sizeof(x));
|
||||
x = f(x, x);
|
||||
memcpy(&ret, &x, sizeof(ret));
|
||||
return ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue