summaryrefslogtreecommitdiff
path: root/TestPrograms/test_arm_aes.cxx
blob: b87cdf19dd8b7c1464f1b6725c111f2189841fdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <arm_neon.h>
#include <stdint.h>

// test_acle.h determines if this is available. Then,
// -DCRYPTOPP_ARM_ACLE_AVAILABLE=0 is added to CXXFLAGS
// if the ACLE header is not available.
#if (CRYPTOPP_ARM_ACLE_AVAILABLE)
#  include <arm_acle.h>
#endif

int main(int argc, char* argv[])
{
	uint8x16_t x;
	x=vaeseq_u8(x,x);
	x=vaesmcq_u8(x);
	x=vaesdq_u8(x,x);
	x=vaesimcq_u8(x);
	return 0;
}