29 Commits

Author SHA1 Message Date
roeber%netscape.com
ceba238a3a Getting session objects working.
git-svn-id: svn://10.0.0.236/trunk@66506 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 03:14:47 +00:00
roeber%netscape.com
c2d6384af2 Wait a minute, I was right the first time: I don't need to worry about
endianness, that's a display problem.


git-svn-id: svn://10.0.0.236/trunk@66468 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 22:07:09 +00:00
roeber%netscape.com
b555cc52b0 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).


git-svn-id: svn://10.0.0.236/trunk@66463 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 21:32:38 +00:00
roeber%netscape.com
f85ed5e665 I missed a couple usages of nssUTF8_Size when its signature changed.
Also made a pedantic check #ifdef PEDANTIC.


git-svn-id: svn://10.0.0.236/trunk@66462 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 21:24:57 +00:00
roeber%netscape.com
833aaa0bee Free from the beginning of the real block pointer, not the user's pointer.
git-svn-id: svn://10.0.0.236/trunk@66461 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 21:23:13 +00:00
nelsonb%netscape.com
238246791c 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.


git-svn-id: svn://10.0.0.236/trunk@65471 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 02:24:57 +00:00
nelsonb%netscape.com
722e157645 Switch freebl to use the sha1 sources authorized by Paul Kocher of
Cryptography Research Inc.


git-svn-id: svn://10.0.0.236/trunk@65470 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 02:22:47 +00:00
nelsonb%netscape.com
1a5ef0ac85 Make additional performance improvements, especially for big endian CPUs.
git-svn-id: svn://10.0.0.236/trunk@65469 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 01:14:06 +00:00
repka%netscape.com
19e2f0bcca Build new base64 encoder implementation.
git-svn-id: svn://10.0.0.236/trunk@65452 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:41:21 +00:00
repka%netscape.com
238efb4902 Removed BTOA_ConvertItemToAscii (now defined in nssb64e.c, using new
base64 encoder implementation).


git-svn-id: svn://10.0.0.236/trunk@65448 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:38:27 +00:00
nelsonb%netscape.com
489dce75cb Convert to BLAPI interface. Make very minor optimizations.
git-svn-id: svn://10.0.0.236/trunk@65421 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 06:07:37 +00:00
nelsonb%netscape.com
e4e6791139 Check in original SHA implementation sources on behalf of Paul Kocher Cryptography Research, Inc. paul@cryptography.com
git-svn-id: svn://10.0.0.236/trunk@65409 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 02:48:30 +00:00
repka%netscape.com
4875e07b30 Fixed some typos and inconsistencies.
git-svn-id: svn://10.0.0.236/trunk@65401 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:42:49 +00:00
repka%netscape.com
fb068397fb First cut at replacement for base64 encoder.
git-svn-id: svn://10.0.0.236/trunk@65400 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:39:49 +00:00
repka%netscape.com
5314d8e5ca - 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).


git-svn-id: svn://10.0.0.236/trunk@65399 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:38:12 +00:00
thayes%netscape.com
3bea4efd2f Initialize SECItem values in ATOB_ routines to avoid PR_Assert for previously
allocated data buffers in the NSS versions of these routines.


git-svn-id: svn://10.0.0.236/trunk@65397 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:26:24 +00:00
thayes%netscape.com
1267e8cd26 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)


git-svn-id: svn://10.0.0.236/trunk@65396 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:24:43 +00:00
nelsonb%netscape.com
afbe16c2ba Change definition of $FILES. Don't include contents of CVS subdirectory.
git-svn-id: svn://10.0.0.236/trunk@65265 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 01:11:53 +00:00
relyea%netscape.com
0cfd00b308 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.


git-svn-id: svn://10.0.0.236/trunk@65212 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 23:49:50 +00:00
roeber%netscape.com
98255b1ebe Added a comment to the PORT character-conversion routines about
network byte order.


git-svn-id: svn://10.0.0.236/trunk@65196 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 18:27:34 +00:00
roeber%netscape.com
6876fef4c3 Make the conversion routines handle network byte order, not host byte order.
git-svn-id: svn://10.0.0.236/trunk@65128 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 02:36:46 +00:00
relyea%netscape.com
d278b86f1e Use NSINSTALL instead of symbolic links so crypto works on NT builds as well.
git-svn-id: svn://10.0.0.236/trunk@65058 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 22:28:49 +00:00
roeber%netscape.com
8f80b68581 typo I missed from last may
git-svn-id: svn://10.0.0.236/trunk@65054 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 21:58:53 +00:00
roeber%netscape.com
9b4d9824e0 the license boilerplate whompage induced a compile-blocking typo
git-svn-id: svn://10.0.0.236/trunk@65053 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 21:58:34 +00:00
relyea%netscape.com
32de04bb9c Adjust jzlib.h acquired for zlib.h to it builds in the .jar file.
Add define in manistet to make it work.


git-svn-id: svn://10.0.0.236/trunk@64796 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 20:56:10 +00:00
relyea%netscape.com
b287229fe6 Create the Security link correctly.
git-svn-id: svn://10.0.0.236/trunk@64793 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 20:48:55 +00:00
relyea%netscape.com
a4d4d45374 Initial NSS Open Source checkin
git-svn-id: svn://10.0.0.236/trunk@64788 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 20:13:40 +00:00
relyea%netscape.com
0fd790f48b Initial NSS Open Source Checkin
git-svn-id: svn://10.0.0.236/trunk@64784 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 19:16:26 +00:00
relyea%netscape.com
2810ea3b94 Initial NSS Open source checkin
git-svn-id: svn://10.0.0.236/trunk@64782 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 19:14:40 +00:00