diff options
Diffstat (limited to 'crypto/p224.cc')
-rw-r--r-- | crypto/p224.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/p224.cc b/crypto/p224.cc index ac0a081..5f76fbc 100644 --- a/crypto/p224.cc +++ b/crypto/p224.cc @@ -149,7 +149,7 @@ void ReduceLarge(FieldElement* out, LargeFieldElement* inptr) { // Eliminate the term at 2*224 that we introduced while keeping the same // value mod p. in[0] -= in[8]; // reflection off the "+1" term of p. - (*out)[3] += static_cast<uint32>(in[8] & 0xffff) << 12; // "-2**96" term + (*out)[3] += static_cast<uint32>(in[8] & 0xffff) << 12; // "-2**96" term (*out)[4] += static_cast<uint32>(in[8] >> 16); // rest of "-2**96" term // in[0] < 2**64 // out[3] < 2**29 @@ -638,7 +638,7 @@ void Put224Bits(uint32* out, const uint32* in) { out[0] = HostToNet32((in[6] >> 24) | (in[7] << 4)); } -} // anonymous namespace +} // anonymous namespace namespace crypto { |