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

Unified Diff: mozilla/security/nss/lib/cryptohi/cryptohi.h

Issue 10961060: Update NSS to NSS 3.14 Beta 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Add the NSS snapshot timestamp to README.chromium and nss-checkout.sh Created 8 years, 3 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
« no previous file with comments | « mozilla/security/nss/lib/ckfw/builtins/nssckbi.h ('k') | mozilla/security/nss/lib/cryptohi/dsautil.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mozilla/security/nss/lib/cryptohi/cryptohi.h
===================================================================
--- mozilla/security/nss/lib/cryptohi/cryptohi.h (revision 158129)
+++ mozilla/security/nss/lib/cryptohi/cryptohi.h (working copy)
@@ -27,7 +27,7 @@
** DER encode/decode (EC)DSA signatures
*/
-/* ANSI X9.57 defines DSA signatures as DER encoded data. Our DSA code (and
+/* ANSI X9.57 defines DSA signatures as DER encoded data. Our DSA1 code (and
* most of the rest of the world) just generates 40 bytes of raw data. These
* functions convert between formats.
*/
@@ -35,9 +35,9 @@
extern SECItem *DSAU_DecodeDerSig(const SECItem *item);
/*
- * Unlike DSA, raw ECDSA signatures do not have a fixed length.
+ * Unlike DSA1, raw DSA2 and ECDSA signatures do not have a fixed length.
* Rather they contain two integers r and s whose length depends
- * on the size of the EC key used for signing.
+ * on the size of q or the EC key used for signing.
*
* We can reuse the DSAU_EncodeDerSig interface to DER encode
* raw ECDSA signature keeping in mind that the length of r
« no previous file with comments | « mozilla/security/nss/lib/ckfw/builtins/nssckbi.h ('k') | mozilla/security/nss/lib/cryptohi/dsautil.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698