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

Unified Diff: nss/mozilla/security/nss/lib/freebl/mpi/mp_gf2m-priv.h

Issue 11193042: Update NSS to NSS 3.14 RC1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/
Patch Set: Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: nss/mozilla/security/nss/lib/freebl/mpi/mp_gf2m-priv.h
===================================================================
--- nss/mozilla/security/nss/lib/freebl/mpi/mp_gf2m-priv.h (revision 162724)
+++ nss/mozilla/security/nss/lib/freebl/mpi/mp_gf2m-priv.h (working copy)
@@ -11,8 +11,14 @@
#if defined(MP_USE_UINT_DIGIT)
#define MP_DIGIT_BITS 32
+/* enable fast divide and mod operations on MP_DIGIT_BITS */
+#define MP_DIGIT_BITS_LOG_2 5
+#define MP_DIGIT_BITS_MASK 0x1f
#else
#define MP_DIGIT_BITS 64
+/* enable fast divide and mod operations on MP_DIGIT_BITS */
+#define MP_DIGIT_BITS_LOG_2 6
+#define MP_DIGIT_BITS_MASK 0x3f
#endif
/* Platform-specific macros for fast binary polynomial squaring. */

Powered by Google App Engine
This is Rietveld 408576698