summaryrefslogtreecommitdiff
path: root/TestPrograms/test_arm_sha1.cxx
blob: 73d5b6c361f4647d64428a80a5b809d017203a49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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[])
{
	uint32x4_t y = {0};
	y=vsha1cq_u32(y,0,y);
	y=vsha1mq_u32(y,1,y);
	y=vsha1pq_u32(y,2,y);
	return 0;
}