Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Side by Side Diff: nss/lib/freebl/mpi/mpmontg.c

Issue 16285003: Remove CVS keywords from NSS source files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « nss/lib/freebl/mpi/mplogic.c ('k') | nss/lib/freebl/pqg.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* This Source Code Form is subject to the terms of the Mozilla Public 1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 /* $Id$ */
5 4
6 /* This file implements moduluar exponentiation using Montgomery's 5 /* This file implements moduluar exponentiation using Montgomery's
7 * method for modular reduction. This file implements the method 6 * method for modular reduction. This file implements the method
8 * described as "Improvement 2" in the paper "A Cryptogrpahic Library for 7 * described as "Improvement 2" in the paper "A Cryptogrpahic Library for
9 * the Motorola DSP56000" by Stephen R. Dusse' and Burton S. Kaliski Jr. 8 * the Motorola DSP56000" by Stephen R. Dusse' and Burton S. Kaliski Jr.
10 * published in "Advances in Cryptology: Proceedings of EUROCRYPT '90" 9 * published in "Advances in Cryptology: Proceedings of EUROCRYPT '90"
11 * "Lecture Notes in Computer Science" volume 473, 1991, pg 230-244, 10 * "Lecture Notes in Computer Science" volume 473, 1991, pg 230-244,
12 * published by Springer Verlag. 11 * published by Springer Verlag.
13 */ 12 */
14 13
(...skipping 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after
1165 1164
1166 CLEANUP: 1165 CLEANUP:
1167 mp_clear(&montBase); 1166 mp_clear(&montBase);
1168 mp_clear(&goodBase); 1167 mp_clear(&goodBase);
1169 /* Don't mp_clear mmm.N because it is merely a copy of modulus. 1168 /* Don't mp_clear mmm.N because it is merely a copy of modulus.
1170 ** Just zap it. 1169 ** Just zap it.
1171 */ 1170 */
1172 memset(&mmm, 0, sizeof mmm); 1171 memset(&mmm, 0, sizeof mmm);
1173 return res; 1172 return res;
1174 } 1173 }
OLDNEW
« no previous file with comments | « nss/lib/freebl/mpi/mplogic.c ('k') | nss/lib/freebl/pqg.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698