summaryrefslogtreecommitdiff
path: root/security/nss/lib/cryptohi
Commit message (Collapse)AuthorAgeFilesLines
* Bug 577747, Memory leak in ECDSA code in secvfy.c, problem analysis by Hanno ↵kaie%kuix.de2012-02-251-3/+5
| | | | Boeck, r=rrelyea
* Backing out last two checkins, because of tinderbox test failureskaie%kuix.de2012-02-251-5/+3
|
* Bug 577747, Memory leak in ECDSA code in secvfy.c, problem analysis by Hanno ↵kaie%kuix.de2012-02-251-3/+5
| | | | Boeck, r=rrelyea
* Fix Tinderbox bustage, backout all patches from 2011-11-11kaie%kuix.de2011-11-162-8/+6
|
* Bug 663733: Add const modifier to declarations of functions used by ocspclnt ↵bsmith%mozilla.com2011-11-122-6/+8
| | | | and certhigh/ocsp.c, make const warning an error on Windows (v3), r=rrelyea
* Bug 647706: add SHA-224 support to more functions, in particular towtc%google.com2011-10-223-3/+12
| | | | | | | | | | support SHA-224 certificates. Portions of this patch are contributed by Hanno Boeck <hanno@hboeck.de>. r=wtc,emaldona. Modified Files: cmd/lib/secutil.c lib/cryptohi/seckey.c lib/cryptohi/secsign.c lib/cryptohi/secvfy.c lib/pk11wrap/pk11mech.c lib/pk11wrap/pk11slot.c lib/pkcs12/p12local.c lib/softoken/rsawrapr.c lib/ssl/ssl3ecc.c lib/util/secalgid.c
* Bug 668397: remove support for Fortezza certificates and keys fromwtc%google.com2011-07-244-659/+18
| | | | | | | | | | | lib/certdb, lib/certhigh, and lib/cryptohi. The bug was reported by Tavis Ormandy <taviso@sdf.lonestar.org>. The patch was written by Brian Smith <bsmith@mozilla.com>. r=rrelyea,wtc. Modified Files: lib/certdb/cert.h lib/certdb/certdb.c lib/certdb/crl.c lib/certhigh/certvfy.c lib/cryptohi/keyhi.h lib/cryptohi/keythi.h lib/cryptohi/seckey.c lib/cryptohi/secsign.c lib/pk11wrap/pk11cert.c
* Bug 356713 - Add SHA-224 support to HASH_GetHashTypeByOidTag, ↵emaldona%redhat.com2011-06-211-0/+3
| | | | HASH_GetHashOidTagByHMACOidTag, and HASH_GetHMACOidTagByHashOidTag, author dcooper16@gmail.com, r+=wtc@google.com, emaldona@redhat.com
* Bug 650272, seckey functions call memset with sizeof(pointer) instead of ↵kaie%kuix.de2011-04-201-2/+2
| | | | sizeof(*pointer). Thanks to timeless for reporting, Patch contributed by Ludovic Hirlimann, r=nelson, r=kaie
* Bug 356713: fix formatting nits. Add back a cast (to cast away the const)wtc%google.com2011-03-291-1/+1
| | | | | | | | that was removed accidentally. Modified Files: mozilla/security/nss/lib/softoken/fipstest.c mozilla/security/nss/lib/freebl/loader.h mozilla/security/nss/lib/cryptohi/secsign.c
* Bug 633002 - SECKEY_ImportDERPublicKey causes memory leaks, r=wtc, sr=rrleyeaemaldona%redhat.com2011-03-071-8/+12
|
* Bug 584224 - CMS does not allow content types other than S/MIMErrelyea%redhat.com2011-01-281-0/+9
| | | | | | | | Patch by Nalin r=rrelyea r=emaldona Return meaningful information for non-pure mechanism types (RSA with SHA1 for instance).
* Bug 577268 Correct misspellings of parameter and function in NSS source codenelson%bolyard.com2011-01-151-2/+2
| | | | | Patch contributed by Michael Kohler [:michaelkohler] michaelkohler@linux.com r=nelson
* Bug 356713 - Support SHA224 has/hmac and rsa signature, r=wtcemaldona%redhat.com2010-08-182-1/+17
|
* Bug 586470: Add 'const' to SEC_DerSignData and ssl3_UpdateHandshakeHashes.wtc%google.com2010-08-122-3/+4
| | | | | | | Remove PK11_ImportPrivateKey. r=emaldona. Modified Files: cryptohi/cryptohi.h cryptohi/secsign.c pk11wrap/pk11pk12.c ssl/ssl3con.c
* Bug 158750: make SECKEY_RSAPSSParamsTemplate work for encoding by using awtc%google.com2010-08-051-4/+9
| | | | | "PointerTo" template. The patch is contributed by Hanno Boeck <hanno@hboeck.de> and Nelson Bolyard <nelson@bolyard.me>. r=wtc.
* Bug 583966: Remove unnecessary "REQUIRES = dbm" from manifest.mn. Removewtc%google.com2010-08-031-5/+1
| | | | | | | | | | | | | | | | | | | | | | an unnecessary LIBSRCS variable in lib/cryptohi/manifest.mn. r=Christophe. Modified Files: cmd/lib/manifest.mn cmd/shlibsign/manifest.mn lib/certdb/manifest.mn lib/certhigh/manifest.mn lib/cryptohi/manifest.mn lib/jar/manifest.mn lib/libpkix/pkix/certsel/manifest.mn lib/libpkix/pkix/checker/manifest.mn lib/libpkix/pkix/crlsel/manifest.mn lib/libpkix/pkix/params/manifest.mn lib/libpkix/pkix/results/manifest.mn lib/libpkix/pkix/store/manifest.mn lib/libpkix/pkix/top/manifest.mn lib/libpkix/pkix/util/manifest.mn lib/libpkix/pkix_pl_nss/module/manifest.mn lib/libpkix/pkix_pl_nss/pki/manifest.mn lib/libpkix/pkix_pl_nss/system/manifest.mn lib/nss/manifest.mn lib/pk11wrap/manifest.mn lib/pkcs12/manifest.mn lib/pkcs7/manifest.mn lib/smime/manifest.mn lib/softoken/manifest.mn
* Bug 158750: Fix compilation error on Windows by adding the missingwtc%google.com2010-07-231-0/+1
| | | | SEC_ASN1_MKSUB(SEC_IntegerTemplate).
* Bug 158750: Add the SECKEYRSAPSSParams structure and the ASN.1 template forwtc%google.com2010-07-232-3/+39
| | | | | | | | it. Add RSA-PSS parameters to the output of the pp tool. The patch is contributed by Hanno Boeck <hanno@hboeck.de>. r=wtc. Modified Files: cmd/lib/secutil.c lib/cryptohi/keythi.h lib/cryptohi/seckey.c lib/nss/nss.def
* Bug 158750: Add KeyType constants rsaPssKey and rsaOaepKey, defined in RFCwtc%google.com2010-06-233-3/+31
| | | | | | 4055. The patch is contributed by Hanno Boeck <hanno@hboeck.de>. r=wtc. Modified Files: keythi.h seckey.c secvfy.c
* Bug 506041: Correct misspellings in source code commentsnelson%bolyard.com2010-04-302-20/+22
| | | | Patch contributed by Michael Kohler <michaelkohler@live.com>, r=nelson
* Bug 469615: Fix HASH_GetHMACOidTagByHashOidTagnelson%bolyard.com2010-04-031-1/+1
| | | | Patch contributed by Shailendra Jain <shailen.n.jain@gmail.com>, r=rrelyea
* Bug 554354: SSL client doesn't validate ECDH params from server, r=rrelyeanelson%bolyard.com2010-04-031-2/+17
|
* Bug 518255: Add const to SEC_SignData and VFY_VerifyData. r=alexei.wtc%google.com2010-02-103-7/+8
| | | | | Modified Files: cryptohi.h secsign.c secvfy.c
* Bug 522510: Add "deprecated" comments to key.h and pk11func.h. r=nelson.wtc%google.com2009-10-151-0/+2
| | | | | Modified Files: lib/cryptohi/key.h lib/pk11wrap/pk11func.h
* Bug 518457: It's better to have PK11_DEREncodePublicKey callwtc%google.com2009-09-251-1/+17
| | | | | | SECKEY_EncodeDERSubjectPublicKeyInfo. Modified Files: cryptohi/seckey.c pk11wrap/pk11akey.c
* Bug 518457: SECKEY_EncodeDERSubjectPublicKeyInfo andwtc%google.com2009-09-251-17/+1
| | | | | PK11_DEREncodePublicKey are duplicate. Have one call the other to eliminate duplicate code. r=nelson,rrelyea.
* Bug 518255: The input buffer for SGN_Update should be declared const.wtc%google.com2009-09-232-2/+2
| | | | | | r=nelson. Modified Files: cryptohi.h secsign.c
* Bug 497223 - NSS failures with ECC hardware tokensrrelyea%redhat.com2009-06-181-4/+10
| | | | r=nelson
* 433063 move header to correct directories under freebl and softoken r=nelsonglen.beasley%sun.com2008-12-173-194/+0
|
* Bug 462948 - lint warnings for source files that include keythi.h, ↵nelson%bolyard.com2008-11-191-4/+1
| | | | r=julien.pierre
* Bug 436430: NSS public headers should not use NSPR 1.0 compatibility typeswtc%google.com2008-06-143-10/+10
| | | | | | | | | | | | | and macros. Replaced PRArenaPool by PLArenaPool and int64 by PRTime. The patch is generated by Nelson Bolyard <nelson@bolyard.com>. r=wtc Modified Files: certdb/cert.h certdb/certdb.h certdb/certt.h certhigh/ocsp.h cryptohi/cryptohi.h cryptohi/keyhi.h cryptohi/keythi.h freebl/blapit.h pk11wrap/pk11priv.h pk11wrap/pk11pub.h pk11wrap/secmodt.h pkcs12/p12.h pkcs12/p12t.h pkcs12/pkcs12t.h pkcs7/pkcs7t.h pkcs7/secpkcs7.h smime/cms.h util/nssb64.h util/secasn1.h util/secder.h util/secdig.h util/secitem.h util/secoid.h
* Bug 434187: fixed compiler warnings reported by GCC on Mac OS X.wtc%google.com2008-06-061-1/+1
| | | | r=julien.pierre
* Bug 405966: Unknown signature OID 1.3.14.3.2.29 causes sec_error_bad_signaturenelson%bolyard.com2008-02-281-3/+5
| | | | 3.11 ignores it. r=julien.pierre
* Bug 414635 - Implement HASH_GetType. r=nelson,rrelyeanelson%bolyard.com2008-02-222-2/+7
| | | | Patch contributed by Honza Bambas (:mayhemer) <honzab@allpeers.com>
* Fix for bug 291384 . Remove unnecessary semicolons in SEC_ASN1_MKSUB . r=nelsonjulien.pierre.boogz%sun.com2008-02-081-1/+1
|
* Fix for bug 232392 . Fix erroneous root CA tests in NSS libraries . r=nelsonjulien.pierre.boogz%sun.com2008-02-011-3/+1
|
* [Bug 401928] Support generalized PKCS#5 v2 PBEsrrelyea%redhat.com2008-01-172-0/+40
| | | | | Still part of the pk11wrap patch r=nelson
* Fix for bug 286642 . Don't export DER template from libnssutil3. r=nelsonjulien.pierre.boogz%sun.com2007-11-071-13/+29
|
* Fix for bug 286642 . Move utility functions to new libnssutil shared ↵julien.pierre.boogz%sun.com2007-10-122-6/+22
| | | | library. r=nelson
* Bug 389781 NSS should be built size-optimized on Linux, Windows, and Macchristophe.ravel.bugs%sun.com2007-08-151-0/+3
| | | | r=julien.pierre.boogz
* Fix for bug 301528 . SECKEY_CreateSubjectPublicKeyInfo needs to check for ↵julien.pierre.bugs%sun.com2007-07-101-0/+5
| | | | NUL pubk. r=nelson,rrelyea
* Fix for bug 90426 . Stop using obsolete int32 and uint32 typedefs . r=nelsonjulien.pierre.bugs%sun.com2007-07-062-2/+2
|
* 365966: infinite recursive call in VFY_VerifyDigestDirect. r=nelsonalexei.volkov.bugs%sun.com2007-01-091-1/+1
|
* Change DecryptSigBlock to return the parsed DigestInfo's length, sowtchang%redhat.com2006-09-121-18/+21
| | | | | the caller can check it. Fixed a memory leak on error. r=nelson,rrelyea bug 351848.
* Improve the validity tests on the AlgorithmID when verifying a PKCS#1 v1.5nelson%bolyard.com2006-09-051-1/+8
| | | | RSA signature. Bug 351079. r=rrelyea,wtchang.
* bug 335748 ECC support for Mozilla. r=wtcrrelyea%redhat.com2006-06-231-0/+7
|
* [Bug 339908] 3 NULL ptr crashes when PK11_GetBestSlot returns NULL. r=nelsonalexei.volkov.bugs%sun.com2006-06-021-1/+10
|
* Bugzilla bug 338599: added new function SECKEY_SignatureLen and use itwtchang%redhat.com2006-05-313-18/+53
| | | | | | | | | | instead of SECKEY_PublicKeyStrength to get ECDSA signature lengths. Removed the 'type' member from the VFYContextStr structure because that info is in the 'key->keyType' field. Set error codes when functions fail (return 0). r=nelsonb. Modified Files: cryptohi/keyhi.h cryptohi/seckey.c cryptohi/secvfy.c nss/nss.def ssl/ssl3con.c
* [Bug 334454] Variable "(key)->pkcs11Slot" tracked as NULL was passed to a ↵alexei.volkov.bugs%sun.com2006-04-261-2/+2
| | | | function that dereferences it. [@ SECKEY_CopyPrivateKey - SSL_ConfigSecureServer]. r=nelson