summaryrefslogtreecommitdiff
path: root/security/nss/lib/softoken
Commit message (Collapse)AuthorAgeFilesLines
* fixup commit for branch 'GECKO181_20070501_RELBRANCH'THUNDERBIRD_2_0_0_4_RELEASETHUNDERBIRD_2_0_0_4_RC1THUNDERBIRD_2_0_0_0_RELEASETHUNDERBIRD_2_0_0_0_RC1SUNBIRD_0_5_RELEASESUNBIRD_0_5_RC1SEAMONKEY_1_1_2_RELEASESEAMONKEY_1_1_1_RELEASELIGHTNING_0_5_RELEASELIGHTNING_0_5_RC1FIREFOX_2_0_0_4_RELEASEFIREFOX_2_0_0_4_RC3FIREFOX_2_0_0_4_RC2FIREFOX_2_0_0_4_RC1FIREFOX_2_0_0_3_RELEASEFIREFOX_2_0_0_3_RC1FIREFOX_2_0_0_2_RELEASEFIREFOX_2_0_0_2_RC5FIREFOX_2_0_0_2_RC4FIREFOX_2_0_0_2_RC3FIREFOX_2_0_0_2_RC2FIREFOX_2_0_0_2_RC1CAMINO_1_5_RELEASECAMINO_1_1_B_RELEASEcvs2hg2007-01-1725-661/+2515
|
* Fix for bug 286685. rename SFTK symbols to SECMOD. r=rrelyea, nelsonjulien.pierre.bugs%sun.com2005-11-112-8/+8
|
* Bugzilla Bug 298522: added power-up self tests for HMAC SHA-384 and HMACwtchang%redhat.com2005-11-071-0/+52
| | | | SHA-512. The patch was written by Glen Beasley of Sun. r=wtc.
* Bugzilla bug 298522: added power-up self tests for HMAC SHA-1 and HMACwtchang%redhat.com2005-10-201-0/+103
| | | | SHA-256. The patch is contributed by Glen Beasley of Sun. r=wtc.
* Add dependency on freebl so softoken will rebuild if freebl has changed.julien.pierre.bugs%sun.com2005-10-191-0/+3
|
* Bugzilla bug 259135: fixed build breakage. In C, declarations must precedewtchang%redhat.com2005-10-051-6/+6
| | | | code.
* Bugzilla bug 259135: minor comment fix.wtchang%redhat.com2005-10-051-1/+1
|
* 259135 added SHA 256,384,512 and AES powerupself tests sr=Wan-Tehglen.beasley%sun.com2005-10-051-40/+283
|
* Internal NSS defines shared between softoken and the rest of NSS, but notrelyea%netscape.com2005-09-281-0/+52
| | | | | | exported. added as part of bug 305697.
* bug 305697: open additional database on the fly in softoken. part1: softoken ↵relyea%netscape.com2005-09-2813-489/+1166
| | | | | | changes. r=julien
* Bugzilla Bug 298517: when in FIPS mode, impose minimum password length andwtchang%redhat.com2005-09-163-11/+145
| | | | | | | quality to ensure a password guessing probability of less than 1 in 10,000,000, and impose a one second delay after failed login attempt to allow at most 60 login attempts per minute. r=relyea,nelsonb. Modified files: fipstokn.c pkcs11.c pkcs11i.h
* Plug leaks in SSL bypass code. Add freeit argument to HMAC_Destroy function.nelsonb%netscape.com2005-09-142-9/+3
| | | | | | | | Change existing callers to pass this argument. Call HMAC_Destroy from SSL. Bug 305147. r=Julien.Pierre Modified Files: freebl/alghmac.c freebl/alghmac.h freebl/loader.c freebl/loader.h freebl/tlsprfalg.c softoken/lowpbe.c softoken/pkcs11c.c ssl/ssl3con.c
* Bugzilla Bug 289530: fixed signed/unsigned comparison compiler warnings.wtchang%redhat.com2005-08-151-8/+8
| | | | | Fixed compilation errors of new ECC code added in the previous checkin. r=nelsonb.
* Bugzilla bug 302286: fixed the bug that NSS misinterpreted thewtchang%redhat.com2005-08-131-2/+7
| | | | | CKA_PRIME_BITS attribute for DSA's p parameter. r=relyea. Modified files: pk11wrap/pk11pqg.c softoken/pkcs11c.c
* Bugzilla bug 292239: have the softoken report Cryptoki version 2.20.wtchang%redhat.com2005-08-121-1/+1
| | | | r=relyea.
* Bugzilla bug 292239: added a change missed in the previous checkin.wtchang%redhat.com2005-08-121-1/+1
| | | | r=relyea.
* Correct mistyped version of wtc patch.relyea%netscape.com2005-08-121-2/+1
|
* Bug 292239 r wtc & julienrelyea%netscape.com2005-08-122-165/+503
| | | | Merge PKCS #11 v2.20 header files
* Bug 303010 Certificate upgrade can drop S/MIME certificatesrelyea%netscape.com2005-08-121-23/+42
| | | | | | r=wtc. Delay loading the S/MIME records on upgrade until the cert is loaded
* Bugzilla Bug 298514: added a missing break statement and removed an unusedwtchang%redhat.com2005-08-121-1/+1
| | | | variable. r=jpierre.
* Make changes from review feedback. Bug 303316. r=wtchang.nelsonb%netscape.com2005-08-092-2/+2
| | | | | | Modified Files: freebl/alghmac.h freebl/blapi.h freebl/ldvector.c freebl/loader.c freebl/loader.h freebl/rawhash.c freebl/tlsprfalg.c softoken/lowpbe.c softoken/pkcs11c.c
* Move the TLS Pseudo Random Function (PRF) and the HMAC algorithm fromnelsonb%netscape.com2005-08-068-565/+9
| | | | | | | | | | | | | | softoken to freebl. Bug 303316. r=wtchang (with suggested changes) Modified Files: freebl/blapi.h freebl/ldvector.c freebl/loader.c freebl/loader.h freebl/manifest.mn softoken/lowpbe.c softoken/manifest.mn softoken/pkcs11c.c softoken/pkcs11i.h softoken/tlsprf.c Added Files: freebl/alghmac.c freebl/alghmac.h freebl/rawhash.c freebl/tlsprfalg.c Removed Files: softoken/alghmac.c softoken/alghmac.h softoken/rawhash.c
* This is the last trunk version of this file. The file will be movednelsonb%netscape.com2005-08-063-13/+46
| | | | | | to nss/lib/freebl. This version is identical to the first version of this file in nss/lib/freebl. Bug 303316. r=wtchang. Modified Files: alghmac.c alghmac.h rawhash.c
* NSC_CopyObject can now copy token keys to session keys. Bug 289530.nelsonb%netscape.com2005-08-032-67/+420
| | | | r=rrelyea. Modified Files: pkcs11.c pkcs11u.c
* Added a comment that answers the question "why isn't there a pairwisewtchang%redhat.com2005-08-011-0/+11
| | | | consistency test for Diffie-Hellman or ECDH key pairs?"
* Bugzilla Bug 298906 really check in the patch to the tip, not a test branchrelyea%netscape.com2005-08-011-5/+13
| | | | | crash when accepting new certificate permanently on taschenonkel.de r=wtc, r=nelson
* I have to many patches in one tree! Stay at 1.103 until this patch has a bug andrelyea%netscape.com2005-08-011-146/+20
| | | | reviews!
* These changes were part of a different patch, reviews are not yet complete.relyea%netscape.com2005-08-015-514/+311
| | | | Backing out to previous versions.
* ARG -- reverted to the wrong version. The correct version was 1.103, not 1.102relyea%netscape.com2005-08-011-7/+3
|
* Backing out previous checkin. This was a separate unreviewed patch.relyea%netscape.com2005-08-011-149/+27
|
* Bug 298906 crash when accepting new certificate permanently on taschenonkel.derelyea%netscape.com2005-08-017-199/+677
| | | | r=wtc, sr=nelson
* Bugzilla Bug 298514: Moved the FIPS 140-2 pairwise consistency check fromwtchang%redhat.com2005-07-222-1/+288
| | | | | | pk11wrap to softoken because the softoken shared library is our new crypto module boundary. r=relyea,nelsonb. Modified files: pk11wrap/pk11akey.c softoken/fipstokn.c softoken/pkcs11c.c
* Bugzilla Bug 298516: fixed problems found by code inspection. r=relyea.wtchang%redhat.com2005-07-222-9/+5
| | | | Modified Files: pk11db.c pkcs11.c
* Bugzilla Bug 288647: enable building NSS with an NSPR binary distribution.wtchang%redhat.com2005-07-211-5/+5
| | | | | | | | | | | | | Introduced NSPR_INCLUDE_DIR and NSPR_LIB_DIR make variables. Portions of the patch were contributed by Chris Seawood <cls@seawood.org>. r=relyea. Modified Files: coreconf/OS2.mk coreconf/OpenVMS.mk coreconf/location.mk nss/cmd/platlibs.mk nss/cmd/shlibsign/Makefile nss/cmd/shlibsign/sign.cmd nss/cmd/shlibsign/sign.sh nss/lib/ckfw/builtins/Makefile nss/lib/fortcrypt/swfort/pkcs11/Makefile nss/lib/nss/config.mk nss/lib/smime/config.mk nss/lib/softoken/config.mk nss/lib/ssl/config.mk
* Bugzilla Bug 287418: remove redundant memory allocation in DSA and ECDSA signrelyea%netscape.com2005-07-071-8/+6
| | | | | wtchang: review+ julien.pierre.bugs: superreview+
* Fix for 297735 . C_Initialize should return CKR_CANT_LOCK . r=wtchang,rrelyeajulien.pierre.bugs%sun.com2005-07-061-0/+18
|
* Trivial comment fix.wtchang%redhat.com2005-07-051-1/+1
|
* Bugzilla Bug 298537: replaced hardcoded 3 and 8 with the NSS_VMAJOR andwtchang%redhat.com2005-06-231-4/+5
| | | | NSS_VMINOR macros defined in nss.h. r=relyea,nelsonb.
* Arg! This change was supposed to go to a branch, not the tip. back it out now.relyea%netscape.com2005-06-201-6/+0
| | | | bob
* Test multiaccess Databases. This patch causes softoken to Always use therelyea%netscape.com2005-06-201-0/+6
| | | | multiaccess Database for clients. This is not intended for the final release
* Bugzilla Bug 291858: fixed incorrect definitions of the CKM_SHAxxx_HMAC,wtchang%redhat.com2005-04-281-9/+9
| | | | | CKM_SHAxxx_HMAC_GENERAL, CKM_ECDH1_DERIVE, CKM_ECDH1_COFACTOR_DERIVE, and CKM_ECMQV_DERIVE macros. r=nelsonb,relyea.
* Bugzilla Bug 288095: removed unnecessary #include "alghmac.h". alghmac.hwtchang%redhat.com2005-04-151-2/+0
| | | | | | | | and pkcs11i.h don't need to be exported to the outside of lib/softoken. r=relyea,nelsonb. Modified Files: pk11wrap/pk11pbe.c pkcs12/p12d.c pkcs12/p12e.c pkcs12/p12local.c softoken/manifest.mn
* Don't crash in NSC_CopyObject after failing to copy a token object.nelsonb%netscape.com2005-04-091-0/+1
| | | | Bug 289529. r=relyea.
* Fix gcc compiler warningjulien.pierre.bugs%sun.com2005-04-051-1/+1
|
* Fix for 287654 . Check input buffer length for C_Encrypt with RSA . r=nelsonjulien.pierre.bugs%sun.com2005-04-041-0/+3
|
* Rename functions that are shared by pk11wrap and softoken from sftk_ tonelsonb%netscape.com2005-04-022-232/+238
| | | | secmod_. Bug 286685. r=relyea.
* Rename all internal private softoken functions types and symbols fromnelsonb%netscape.com2005-03-2913-2580/+2580
| | | | | | | | | | PK11 or pk11 prefixes to SFTK or sftk prefixes. Bug 286685. r=relyea,wtchang Modified Files: cmd/bltest/blapitest.c lib/pk11wrap/pk11pars.c lib/softoken/dbinit.c lib/softoken/dbmshim.c lib/softoken/fipstest.c lib/softoken/fipstokn.c lib/softoken/pcertdb.c lib/softoken/pk11db.c lib/softoken/pk11pars.h lib/softoken/pkcs11.c lib/softoken/pkcs11c.c lib/softoken/pkcs11i.h lib/softoken/pkcs11u.c lib/softoken/softoken.h lib/softoken/tlsprf.c
* Bugzilla Bug 286439: Removed PKCS11_USE_THREADS and PK11_USE_THREADS.wtchang%redhat.com2005-03-283-123/+84
| | | | | | | | | r=relyea,nelsonb. Modified Files: pk11wrap/pk11list.c pk11wrap/pk11pars.c pk11wrap/pk11skey.c pk11wrap/pk11slot.c pk11wrap/pk11util.c pk11wrap/secmod.h pk11wrap/secmodi.h pk11wrap/secmodt.h pk11wrap/secmodti.h softoken/pkcs11.c softoken/pkcs11i.h softoken/pkcs11u.c
* Bugzilla Bug 286318: performance optimization: save the result ofwtchang%redhat.com2005-03-162-13/+21
| | | | | PK11_SESSION_LOCK in a local variable and reuse the result. r=nelsonb. Modified Files: pkcs11.c pkcs11u.c
* Bugzilla Bug 286298: comment formatting changes only.wtchang%redhat.com2005-03-162-5/+5
| | | | Modified Files: pkcs11i.h pkcs11u.c