ext-cryptopp/TestPrograms/test_x86_aes.cxx

12 lines
269 B
C++
Raw Normal View History

2018-11-29 04:44:03 +00:00
#include <emmintrin.h>
2018-11-13 18:48:38 +00:00
#include <wmmintrin.h>
int main(int argc, char* argv[])
{
2020-08-06 01:43:23 +00:00
__m128i x = _mm_setzero_si128();
x=_mm_aesenc_si128(x,x);
x=_mm_aesenclast_si128(x,x);
x=_mm_aesdec_si128(x,x);
x=_mm_aesdeclast_si128(x,x);
return 0;
2018-11-13 18:48:38 +00:00
}