First Commit
This commit is contained in:
11
externals/cryptopp/TestPrograms/test_x86_aes.cpp
vendored
Normal file
11
externals/cryptopp/TestPrograms/test_x86_aes.cpp
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <emmintrin.h>
|
||||
#include <wmmintrin.h>
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
__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;
|
||||
}
|
||||
Reference in New Issue
Block a user