diff options
author | rucifer1217@gmail.com <rucifer1217@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-22 00:09:25 +0000 |
---|---|---|
committer | rucifer1217@gmail.com <rucifer1217@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-22 00:09:25 +0000 |
commit | c9c251d531396923a3c76dd478960c70d2789567 (patch) | |
tree | 30c02c79b43d17aa9c2918b22be96f6d9866a6dd /crypto/p224.cc | |
parent | 4789e83b72f8b79cde3ac8b3687e7fe216c80e28 (diff) | |
download | chromium_src-c9c251d531396923a3c76dd478960c70d2789567.zip chromium_src-c9c251d531396923a3c76dd478960c70d2789567.tar.gz chromium_src-c9c251d531396923a3c76dd478960c70d2789567.tar.bz2 |
clean up code at crypto folder.
BUG=none
Review URL: https://codereview.chromium.org/407713002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284547 0039d316-1c4b-4281-b951-d872f2087c98
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 { |