relyea%netscape.com
2900921f0d
Fix bug which would have bypassed mac checking in TLS
2000-05-31 22:36:02 +00:00
mcgreer%netscape.com
e771f6a310
fix static array (found with solaris 2.7 build)
2000-05-31 22:17:47 +00:00
thayes%netscape.com
bbed546e6b
Initial version of header for SDR wrappers
2000-05-27 03:31:51 +00:00
nelsonb%netscape.com
51de4ce7a6
Fix build on NT. Correct link order in PKCS11 directory.
2000-05-27 01:30:29 +00:00
nelsonb%netscape.com
211a572ab0
Add new implementation of the algorithm from RFC 2268. Fix some comments.
2000-05-27 01:29:35 +00:00
thayes%netscape.com
27d1adc752
Initial version of the PK11 wrappers for SDR. This version uses a fixed key id (0)
...
and and 3DES key value.
2000-05-26 22:24:01 +00:00
nelsonb%netscape.com
34ae72b37f
Simplify and speed up client cache expiration detection.
2000-05-24 19:28:27 +00:00
nelsonb%netscape.com
0ea2ec3f99
Fix the logic in client and server to detect version roll-back attack,
...
rolling back from TLS (SSL 3.1) to SSL 3.0. Provide a new SSL socket
option to disable roll-back detection in servers, since certain TLS
clients are doing it incorrectly.
2000-05-24 03:35:23 +00:00
nelsonb%netscape.com
d14a82cbb8
Changes in support of corrected TLS rollback detection.
2000-05-24 03:31:44 +00:00
nelsonb%netscape.com
a113e9ad8a
Fix a transcription error that caused a crash.
2000-05-24 02:22:18 +00:00
mcgreer%netscape.com
1f8008ee85
Added calls for BSAFE 5.0
2000-05-23 22:15:25 +00:00
chrisk%netscape.com
cc9a75cd14
Added RFC2630 OID values:
...
SEC_OID_CMS_EPHEMERAL_STATIC_DIFFIE_HELLMAN = id-alg-ESDH
SEC_OID_CMS_3DES_KEY_WRAP = id-alg-CMS3DESwrap
SEC_OID_CMS_RC2_KEY_WRAP = id-alg-CMSRC2wrap
2000-05-22 15:28:22 +00:00
chrisk%netscape.com
8a40c748ac
Added SEC_ASN1DecodeInteger function
2000-05-22 15:24:20 +00:00
nelsonb%netscape.com
7e2567dffc
Performance enhancement. Takes only 70% as long as previous version.
2000-05-19 22:14:38 +00:00
nelsonb%netscape.com
b486d9d3d5
Fix sha_fast for 64-bit solaris and 64-bit Alpha.
2000-05-19 02:10:33 +00:00
mcgreer%netscape.com
5ca43c9e50
Changing MIN's and MAX's to PR_MIN, PR_MAX
2000-05-18 15:32:18 +00:00
mcgreer%netscape.com
1d3f68dd7e
Changing all MIN's and MAX's to PR_MIN, PR_MAX
2000-05-18 15:30:12 +00:00
mcgreer%netscape.com
aba66a5214
changing all MIN's and MAX's to PR_MIN, PR_MAX (MIN and MAX were defined in dbm).
2000-05-18 15:28:43 +00:00
nelsonb%netscape.com
db1c7e8b35
Changes to ssl_EmulateSendFile suggested by Wan-Teh.
...
See http://bugzilla.mozilla.org/show_bug.cgi?id=39011
2000-05-18 01:32:53 +00:00
nelsonb%netscape.com
401cd644f6
In ssl3_GenerateSessionKeys() ensure params secitem always points to valid
...
CK_SSL3_MASTER_KEY_DERIVE_PARAMS structure. Bugzilla bug 39682.
2000-05-18 00:41:38 +00:00
roeber%netscape.com
4c7240ff19
Detect at runtime when we're running with NSPR 1 and switch the thread-private-data calls accordingly. This lets our pkcs#11 modules be loaded into Communicator.
2000-05-17 20:19:24 +00:00
roeber%netscape.com
bbe222523a
If a database has not been given a label, return the filename so Communicator has *something* to show
2000-05-17 18:28:13 +00:00
mcgreer%netscape.com
40616e7038
fix some compiler warnings
2000-05-17 17:31:20 +00:00
mcgreer%netscape.com
1d9865e6d7
including md2 and md5 implementations in MOZILLA_SECURITY_BUILD
2000-05-16 23:05:47 +00:00
mcgreer%netscape.com
978cc868ef
Performance enhancements for md5 implementation.
...
+ unroll a loop in md5_compress
+ remove a superfluous variable
2000-05-16 18:18:39 +00:00
relyea%netscape.com
984310dddf
Change the attribute allocation scheme to a fixed array in the object.
2000-05-16 17:40:22 +00:00
relyea%netscape.com
0430e9e67e
Add SSL and TLS to the slotlist search functions
2000-05-16 17:37:10 +00:00
relyea%netscape.com
a46662c0d0
1) performance changes.
...
a) do C_Decrypt in the handUnwrap case on it's own session so we don't
single thread through the code.
b) reuse the session created for the symKey when importing the key from data.
2) robustness changes.
a) try different ways of getting the signature length if non-complient
tokens don't present the modulus to us.
b) Recover from state buffers changing sizes on us in the middle of
GetOperationState().
2000-05-16 17:36:24 +00:00
relyea%netscape.com
9da670d592
Only output caching if we turn tracing on.
2000-05-16 17:28:31 +00:00
roeber%netscape.com
3cb835685f
sync the database after writes
2000-05-16 01:55:20 +00:00
roeber%netscape.com
4c6e020a10
Properly deregister shadow objects of session objects
2000-05-16 01:54:46 +00:00
roeber%netscape.com
4b1bc871db
Store object contents in network byte order, for database portability
2000-05-15 20:59:11 +00:00
roeber%netscape.com
84d6e244cd
Use the public (cap-NSS) mutex calls, not the private ones
2000-05-15 20:58:19 +00:00
mcgreer%netscape.com
6342624688
Changed DestroyContext functions so that freeit means free everything or free nothing, not just the context pointer.
2000-05-15 20:54:35 +00:00
roeber%netscape.com
d46ea0e2c3
First checkin of database module
2000-05-15 20:39:58 +00:00
mcgreer%netscape.com
50cdc7829c
Add condition for BSAFE build.
2000-05-12 23:37:36 +00:00
mcgreer%netscape.com
0d6b5ee3a6
Initial checkin of implementations of MD2 and MD5. An empty definition of Diffie-Hellman to allow for building, more later. Changes to Makefile for building with BSAFE.
2000-05-12 23:35:06 +00:00
dougt%netscape.com
7dc028cf1e
Minor changes to fix mac build bustages.
2000-05-12 18:43:28 +00:00
roeber%netscape.com
6416a1bd38
Adding CK_USHORT back in, for pedantic tests' sake
2000-05-09 18:57:58 +00:00
roeber%netscape.com
21d2b28567
Backing out accidental (recursive) commit
2000-05-09 18:35:24 +00:00
roeber%netscape.com
28dc429127
Added ckmd.h to private exports list
2000-05-09 18:31:16 +00:00
nelsonb%netscape.com
e65d9f2223
Small optimization for RSA Server Key exchange message. Uses fewer PK11_
...
calls to do the job. Also, plug one mem leak in Fortezza code.
2000-05-08 23:55:05 +00:00
mcgreer%netscape.com
48ae0ebe61
change to comment text
2000-05-05 00:50:38 +00:00
mcgreer%netscape.com
3e2a298606
Code to provide hooks to RSA's BSAFE licensed code.
2000-05-04 21:58:18 +00:00
roeber%netscape.com
739f76548f
Getting session objects working.
2000-04-20 03:14:47 +00:00
roeber%netscape.com
93897a83fe
Wait a minute, I was right the first time: I don't need to worry about
...
endianness, that's a display problem.
2000-04-19 22:07:09 +00:00
roeber%netscape.com
db07e9f9cf
Multiple changes to get the cryptoki framework and builtin-object
...
module working: 1) C_GetFunctionList is always present; 2) fwObject
and fwSession now remember their handles on behalf of the fwInstance;
3) fwSessions are created before mdSessions, so the mdSession can
use the fwSession's arena; 4) finished implementing findObjects;
5) builtin constants are in network byte order; 6) libnssckbi.so
knows about and can pull in its dependencies (e.g. libnssckfw.so,
libnssb.so, and NSPR).
2000-04-19 21:32:38 +00:00
roeber%netscape.com
c71276e88d
I missed a couple usages of nssUTF8_Size when its signature changed.
...
Also made a pedantic check #ifdef PEDANTIC.
2000-04-19 21:24:57 +00:00
roeber%netscape.com
c7ce07669f
Free from the beginning of the real block pointer, not the user's pointer.
2000-04-19 21:23:13 +00:00
nelsonb%netscape.com
967ed46e9f
This file was not the source authorized by Paul Kocher of Cryptography
...
Research Inc for release on Mozilla. It has been replaced by sha_fast.c.
2000-04-07 02:24:57 +00:00
nelsonb%netscape.com
81f283c678
Switch freebl to use the sha1 sources authorized by Paul Kocher of
...
Cryptography Research Inc.
2000-04-07 02:22:47 +00:00
nelsonb%netscape.com
2554f98616
Make additional performance improvements, especially for big endian CPUs.
2000-04-07 01:14:06 +00:00
repka%netscape.com
6f4b665973
Build new base64 encoder implementation.
2000-04-06 22:41:21 +00:00
repka%netscape.com
80689ecb46
Removed BTOA_ConvertItemToAscii (now defined in nssb64e.c, using new
...
base64 encoder implementation).
2000-04-06 22:38:27 +00:00
nelsonb%netscape.com
082f19af2f
Convert to BLAPI interface. Make very minor optimizations.
2000-04-06 06:07:37 +00:00
nelsonb%netscape.com
6ad931fad9
Check in original SHA implementation sources on behalf of Paul Kocher Cryptography Research, Inc. paul@cryptography.com
2000-04-06 02:48:30 +00:00
repka%netscape.com
355556a555
Fixed some typos and inconsistencies.
2000-04-06 00:42:49 +00:00
repka%netscape.com
97cb8bcf38
First cut at replacement for base64 encoder.
2000-04-06 00:39:49 +00:00
repka%netscape.com
73b70ac5a7
- Added an error check and comment complementary to thayes's previous change
...
(same as I had already made in my version, but he beat me to checking it in).
- Some miscellaneous clean-up (typos, really).
2000-04-06 00:38:12 +00:00
thayes%netscape.com
48f0c9789e
Initialize SECItem values in ATOB_ routines to avoid PR_Assert for previously
...
allocated data buffers in the NSS versions of these routines.
2000-04-06 00:26:24 +00:00
thayes%netscape.com
915877263f
Change handling of hash table for OSCP hashes to delete both hash key and
...
associated value in the hashtable "free entry" routine. Fixes a memory leak.
(Re Netscape bug: 390117)
2000-04-06 00:24:43 +00:00
nelsonb%netscape.com
8499f9c677
Change definition of $FILES. Don't include contents of CVS subdirectory.
2000-04-05 01:11:53 +00:00
relyea%netscape.com
a3332a7b7f
Make the stub sytem work for WIN NT as well as other unix platforms:
...
1) fix compile issue in the stub maci.c file (change dllimports to dllexports).
2) build a dll with matching lib to make the symbols all work.
2000-04-04 23:49:50 +00:00
roeber%netscape.com
ce5fd5acf0
Added a comment to the PORT character-conversion routines about
...
network byte order.
2000-04-04 18:27:34 +00:00
roeber%netscape.com
0f208ea997
Make the conversion routines handle network byte order, not host byte order.
2000-04-04 02:36:46 +00:00
relyea%netscape.com
0633919690
Use NSINSTALL instead of symbolic links so crypto works on NT builds as well.
2000-04-03 22:28:49 +00:00
roeber%netscape.com
f59f634fdf
typo I missed from last may
2000-04-03 21:58:53 +00:00
roeber%netscape.com
78c1cb10f0
the license boilerplate whompage induced a compile-blocking typo
2000-04-03 21:58:34 +00:00
relyea%netscape.com
5ff98f3f5a
Adjust jzlib.h acquired for zlib.h to it builds in the .jar file.
...
Add define in manistet to make it work.
2000-03-31 20:56:10 +00:00
relyea%netscape.com
477a06c7b1
Create the Security link correctly.
2000-03-31 20:48:55 +00:00
relyea%netscape.com
9fd7059a19
Initial NSS Open Source checkin
2000-03-31 20:13:40 +00:00
relyea%netscape.com
8c4b7edd1d
Initial NSS Open Source Checkin
2000-03-31 19:16:26 +00:00
relyea%netscape.com
3302748a42
Initial NSS Open source checkin
2000-03-31 19:14:40 +00:00