diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-11-14 23:32:26 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-11-14 23:32:26 -0500 |
commit | 3c7bdf1a2681f227a2a91e9bdde37e3bd4313bf3 (patch) | |
tree | 4bd3bd0eece07e62ec1e51a2db4f3dab2184255a /gcm_simd.cpp | |
parent | d65654587594805ba1a2b202100df9363adffc08 (diff) | |
download | cryptopp-git-3c7bdf1a2681f227a2a91e9bdde37e3bd4313bf3.tar.gz |
Add Octet suffix for vec_sld
We need to make room for packed shifts and rotates
Diffstat (limited to 'gcm_simd.cpp')
-rw-r--r-- | gcm_simd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcm_simd.cpp b/gcm_simd.cpp index fe15f18f..2b054898 100644 --- a/gcm_simd.cpp +++ b/gcm_simd.cpp @@ -753,7 +753,7 @@ uint64x2_p GCM_Reduce_VMULL(uint64x2_p c0, uint64x2_p c1, uint64x2_p c2, uint64x {
const uint64x2_p m1 = {1,1}, m63 = {63,63};
- c1 = VectorXor(c1, VectorShiftRight<8>(c0));
+ c1 = VectorXor(c1, VectorShiftRightOctet<8>(c0));
c1 = VectorXor(c1, VMULL_10LE(c0, r));
c0 = VectorXor(c1, VectorShiftLeftOctet<8>(c0));
c0 = VMULL_00LE(vec_sl(c0, m1), r);
|