diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-11-12 16:27:48 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-11-12 16:27:48 -0500 |
commit | 75c97759447fe70341928f35cd1a1d4bed055a9c (patch) | |
tree | 40fdc84608f021737a66ebe6371ac78e665ff37d /TestPrograms | |
parent | 1070186bc4bcf943368be972d3763a0371ea04d8 (diff) | |
download | cryptopp-git-75c97759447fe70341928f35cd1a1d4bed055a9c.tar.gz |
Simplify Aach64 polynomial multiply tests
Diffstat (limited to 'TestPrograms')
-rw-r--r-- | TestPrograms/test_arm_pmull.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/TestPrograms/test_arm_pmull.cxx b/TestPrograms/test_arm_pmull.cxx index 83d2c9f4..a2eee5c3 100644 --- a/TestPrograms/test_arm_pmull.cxx +++ b/TestPrograms/test_arm_pmull.cxx @@ -13,11 +13,9 @@ int main(int argc, char* argv[]) poly64_t a1={0x9090909090909090}, b1={0xb0b0b0b0b0b0b0b0}; poly8x16_t a2={0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0}, - b2={0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0, - 0xe0,0xe0,0xe0,0xe0,0xe0,0xe0,0xe0,0xe0}; poly128_t r1 = vmull_p64(a1, b1); - poly128_t r2 = vmull_high_p64((poly64x2_t)(a2), (poly64x2_t)(b2)); + poly128_t r2 = vmull_high_p64(a1, b1); return 0; } |