summaryrefslogtreecommitdiff
path: root/gcm_simd.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-04-06 20:34:20 -0400
committerJeffrey Walton <noloader@gmail.com>2020-04-06 20:34:20 -0400
commit8416d3985ba46fd9026f6894e98a30ac75ae35cc (patch)
tree2f7f0b4bb332064312f9d41118dbd9c9cd583e83 /gcm_simd.cpp
parent88f8cd440337edac0f5d9c8f9ccc374668006156 (diff)
downloadcryptopp-git-8416d3985ba46fd9026f6894e98a30ac75ae35cc.tar.gz
Fix polynomial multiply detection on PPC64
Diffstat (limited to 'gcm_simd.cpp')
-rw-r--r--gcm_simd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcm_simd.cpp b/gcm_simd.cpp
index c8375f5c..59d5d62f 100644
--- a/gcm_simd.cpp
+++ b/gcm_simd.cpp
@@ -196,7 +196,7 @@ bool CPU_ProbePMULL()
0xe0,0xe0,0xe0,0xe0,0xe0,0xe0,0xe0,0xe0};
const uint32x4_p a2=VecLoad(wa2), b2=VecLoad(wb2);
- const uint64x2_p r1 = VecIntelMultiply00(a1, b1);
+ const uint64x2_p r1 = VecIntelMultiply11(a1, b1);
const uint64x2_p r2 = VecIntelMultiply11((uint64x2_p)a2, (uint64x2_p)b2);
const uint64_t wc1[]={W64LIT(0x5300530053005300), W64LIT(0x5300530053005300)},