Commit Graph

5336 Commits

Author SHA1 Message Date
nelsonb%netscape.com
78256a8fa7 MPI Arbitrary Precision Integer Arithmetic library.
The Initial Developer of the Original Code is
Michael J. Fromberger <sting@linguist.dartmouth.edu>
2000-07-30 02:05:19 +00:00
nelsonb%netscape.com
97ef19c3b8 MPI Arbitrary Precision Integer Arithmetic library.
The Initial Developer of the Original Code is
Michael J. Fromberger <sting@linguist.dartmouth.edu>
2000-07-30 01:56:35 +00:00
nelsonb%netscape.com
792ad45230 Build mpi library files in freebl. 2000-07-29 19:07:22 +00:00
nelsonb%netscape.com
df9c21a9de Separate DH implementation for use with BSAFE and mpi-based implementation
into two files.
2000-07-29 19:06:54 +00:00
nelsonb%netscape.com
534ec52daa Build libmpi.a. Include mpmontg.o in libmpi.a. Build programs with
libmpi.a.  Fix dependencies so lib is rebuilt when headers change.
2000-07-28 23:11:12 +00:00
nelsonb%netscape.com
6b24794435 Modular exponentiation with Montgomery reduction for MPI.
The Initial Developer of the Original Code is
Netscape Communications Corporation.  Portions created by Netscape are
Copyright (C) 2000 Netscape Communications Corporation.
All Rights Reserved.
2000-07-28 23:09:02 +00:00
nelsonb%netscape.com
71fb2fa5e4 Disambiguoate error messages in mod-expt test. 2000-07-28 23:04:23 +00:00
nelsonb%netscape.com
385fd4fc86 - Renamed mp_exptmod to s_mp_exptmod. This function is now used only in
when the modulus is even. mp_exptmod is now in mpmontg.c.
- Declare and define new function s_mp_mul_d_add_offset(), which computes
the product of an mp_digit and an mp_int, shifts the product to the left
by a number of digits, and adds the shifted product to another mp_int.
Used in multiplication and Montgomery reduction.  Numerous platform
vendors have assembly language versions of this function.
- Removed some ANDs with DIGIT_MAX.  Casting to mp_digit is necessary
and sufficient.  The AND doesn't help.
2000-07-28 23:03:12 +00:00
nelsonb%netscape.com
f554a212b4 Use unsigned int for mp_digit instead of unsigned long when both are
32-bits.  This reduced warnings.  Use mp_size instead of unsigned int
in function declarations. Fix MP_DIGIT_FMT for 32-bit digits.
2000-07-28 22:55:56 +00:00
nelsonb%netscape.com
a38b5ec52f Use mp_size instead of unsigned int in function prototypes. 2000-07-28 22:49:42 +00:00
mcgreer%netscape.com
ce6f724504 merge changes from 3.0 branch 2000-07-27 18:26:28 +00:00
nelsonb%netscape.com
99f3a8bf86 Add new function s_mp_add_offset().
Very handy in Montgomery reduction using Dusse' and Kalski's method.
2000-07-27 03:02:42 +00:00
nelsonb%netscape.com
b05581f7ec Moved the declarations of many private defines and functions out of mpi.c
and into mpi-priv.h.  Previously, mplogic.c and mpprime.c had duplicate
copies of some of those declarations.  Now, they include mpi-priv.h
2000-07-27 02:38:54 +00:00
nelsonb%netscape.com
bf4e60e7b3 Fix sprintf format, can't use DIGIT_FMT. 2000-07-27 00:23:17 +00:00
wtc%netscape.com
cf5a75f8dc Bugzilla bug #46509: removed the use of -taso and the USE_64 makefile
option on OSF1.
2000-07-26 22:20:16 +00:00
nelsonb%netscape.com
ba8b232867 Move enhanced prime finder function mpp_make_prime from primegen utility
program into mpprime.c.  declared in mpprime.h.
2000-07-26 05:41:59 +00:00
nelsonb%netscape.com
8bf87ce6bb Fix bug in mp_div_2d that set r = q % d when a and q are the same mp_int.
Minor performance enhancement to s_mp_div_2d when DIGIT_BIT divides d.
2000-07-26 05:39:53 +00:00
nelsonb%netscape.com
7bb8634a3c Fix a bug in recently added function mp_set_bit(). 2000-07-26 05:32:30 +00:00
cotter%netscape.com
777b97104b Fixed some broken links in release notes, added release notes banner. 2000-07-26 00:01:34 +00:00
nelsonb%netscape.com
b9d1a404d2 Update nTires via a pointer argument to mpp_make_prime().
Change some printfs.
2000-07-25 00:16:57 +00:00
nelsonb%netscape.com
aef9190b64 Add new function mpp_fermat_list, which performs the fermat test on a
list of "witness" numbers.  Simplify and accelerate mpp_pprime().
2000-07-25 00:15:06 +00:00
nelsonb%netscape.com
cbc85c762b Fix assertion. Comparison sense was inverted. 2000-07-25 00:12:57 +00:00
nelsonb%netscape.com
f16cc60f1a Add -fullwarn to some build flags. Change dependencies for primegen. 2000-07-22 07:22:37 +00:00
nelsonb%netscape.com
175cab0f15 Implement sieving to accelerate elimination of composites.
This sieve eliminates all but about 3500 numbers from each range of 64k.
2000-07-22 05:54:21 +00:00
nelsonb%netscape.com
1f040d3f9f Use large prime table for faster prime gen. Make prime table "const".
Change functions that use prime table to use const arguments.
2000-07-22 05:36:45 +00:00
nelsonb%netscape.com
41121574a7 Change s_mp_norm to always use a power of two as the normalizing factor.
This enhancement performance by turning the normalizing and denormalizing
operations into shifts.
2000-07-21 21:06:08 +00:00
nelsonb%netscape.com
4b4e6bccd9 Implement mpl_get_bit, mpl_set_bit, mpl_significant_bits. 2000-07-21 21:04:14 +00:00
nelsonb%netscape.com
3b292e3f60 Fix symbol prefixes in some comments. 2000-07-21 20:50:31 +00:00
ddrinan%netscape.com
13939a3e0b Added Netscape disclamer on the security advisor page 2000-07-21 01:15:55 +00:00
javi%netscape.com
3e2ca70194 Allow signatures to be created even if there is no encryption cert to
be associated with the signature.
2000-07-20 21:57:31 +00:00
javi%netscape.com
d154ce33b3 Allow signatures to be created even if the user doesn't have an
encryption cert to go along with it.
2000-07-20 21:56:34 +00:00
roeber%netscape.com
bed9fed1db Added tests of token object manipulation.
I actually did this two months ago, but forgot to
check it in before going on sabbatical.
2000-07-20 21:48:26 +00:00
mcgreer%netscape.com
36c22a2a15 some compilers don't like the void* arithmetic 2000-07-20 16:58:32 +00:00
nelsonb%netscape.com
350eea5535 Use unsigned ints for length parameters to "octets" functions. 2000-07-20 04:47:24 +00:00
nelsonb%netscape.com
7f70f07983 Eliminate lots of warnings found by -fullwarn.
Add sanity test to s_mp_div().
2000-07-20 04:21:37 +00:00
nelsonb%netscape.com
04007f8bb5 Eliminate warnings found with -fullwarn. 2000-07-20 04:20:21 +00:00
mcgreer%netscape.com
dbede1a951 Change the startup/shutdown procedure. Now a minimum amount of seed bytes, MIN_SEED_COUNT, are required before output bytes can be extracted. Also, it is possible to do a full restart by calling RNG_RNGInit() and RNG_RNGShutdown() in succession. This is noted in the blapi.h comments for those functions. 2000-07-19 23:54:43 +00:00
nelsonb%netscape.com
5a1cb37329 Build all mpi .c files with -DMP_API_COMPATIBLE 2000-07-19 23:23:24 +00:00
nelsonb%netscape.com
94e36d6f32 Implement 5 new functions for dealing with variable length integers
represented as unsigned and signed octet strings.
mp_read_unsigned_octets(), mp_unsigned_octet_size(),
mp_to_unsigned_octets(), mp_to_signed_octets(), mp_to_fixlen_octets()
See mpi.h for more info.
2000-07-19 23:22:43 +00:00
nelsonb%netscape.com
9ab0d70f0e All #defines now have MP_ prefix. To get old #defines, compile with
-DMP_API_COMPATIBLE .  mpi.c is compiled that way.
2000-07-19 23:18:08 +00:00
ddrinan%netscape.com
42a6ceda94 Fix for getting ca name 2000-07-19 22:10:55 +00:00
ddrinan%netscape.com
022f0f8362 Fix for cert renewal bug 2000-07-19 21:21:46 +00:00
mcgreer%netscape.com
adc97e5caf initial checkin of PRNG code 2000-07-19 17:01:31 +00:00
ddrinan%netscape.com
b1a4541e5b Fix pickle and unpickle of the CA name 2000-07-19 00:21:39 +00:00
javi%netscape.com
d518c4138c Modify JavaScript for prefs so that Mozilla correctly saves them. 2000-07-18 21:53:08 +00:00
javi%netscape.com
640da2a6a3 Fix the printf parameter. 2000-07-18 18:21:51 +00:00
javi%netscape.com
f2b1d03499 zeroize the output before converting to utf8 so that we get the sting
length right in all cases.  This allows us to remove the hack where
we hard code the out length to be half the original length.  Which may
or may not be true depending on what we're converting.
2000-07-18 01:30:04 +00:00
mcgreer%netscape.com
0b57de2866 initial checkin of ARCFour. 2000-07-18 00:56:09 +00:00
javi%netscape.com
46a51b8158 Re-work some of the JavaScript for prefs so that Mozilla just "does the right thing." 2000-07-17 22:54:07 +00:00
nelsonb%netscape.com
49bfd5fc00 Fix "random" modulus so it is odd and has msb of most significant digit
set to 1, and "random" base to be less than modulus.
2000-07-17 22:37:55 +00:00
nelsonb%netscape.com
8133fdd980 Fix script to run on certain unix platforms. 2000-07-17 22:34:30 +00:00
nelsonb%netscape.com
7dc037f3a3 Shorten this test so it completes in less time. 2000-07-17 22:33:46 +00:00
nelsonb%netscape.com
bdf621e594 Fix mpp_pprime() so it doesn't stop after first succesful iteration. 2000-07-17 22:32:46 +00:00
nelsonb%netscape.com
88292a3a0d Add support for 32-bit digits (64-bit words) on platforms that can
multiply two 32-bit values yielding a 64-bit product in hardware.
Fix bug in s_mp_div that computed a quotient digit q > DIGIT_MAX
when b > DIGIT_MAX/2 and b < a <= DIGIT_MAX.
2000-07-17 22:31:18 +00:00
nelsonb%netscape.com
29b5ea6ec4 Elimintate type mismatch warning. 2000-07-17 22:23:23 +00:00
nelsonb%netscape.com
9ae84ceff8 Turn on MP_CRYPTO flag by default. Increase default size to 32 digits. 2000-07-17 22:22:28 +00:00
nelsonb%netscape.com
3e30ad8b50 Get file to work with SysV make on IRIX.
Add .i target (preprocessor output).
2000-07-17 22:21:42 +00:00
javi%netscape.com
1463cddfc4 Fix P12 import on Solaris given the new NLS package. 2000-07-15 01:18:33 +00:00
javi%netscape.com
d448e6b43c Make solaris join the realm of XPCOM 2000-07-14 23:13:45 +00:00
nelsonb%netscape.com
7ed5654089 MPI Arbitrary Precision Integer Arithmetic library.
The Initial Developer of the Original Code is
Michael J. Fromberger <sting@linguist.dartmouth.edu>
2000-07-14 00:45:02 +00:00
mcgreer%netscape.com
11bcfbe3d6 fingerprint had to handled in certutil for now since SECU_PrintCertificate receives a decoded DER. see #45303 2000-07-12 22:42:57 +00:00
mcgreer%netscape.com
d42ada9be0 add fingerprints to info dumped with certificate 2000-07-12 20:48:47 +00:00
javi%netscape.com
d87da4da0e Make viewing CA certs during import work again. 2000-07-12 00:22:23 +00:00
cotter%netscape.com
c06b1af9b3 Added info about OCSP in cases of invalid email signature. 2000-07-11 21:32:19 +00:00
javi%netscape.com
887c81b96a Fix a type-o. 2000-07-11 18:45:40 +00:00
javi%netscape.com
de26e9a4fc Make the button in the security advisor for CRL's look like the other
buttons.
2000-07-11 00:50:12 +00:00
ddrinan%netscape.com
0138d55175 Made changes to the password retry text to fix bugs 399954 and 44110 2000-07-10 22:53:58 +00:00
javi%netscape.com
09909de642 Correctly define CORE_DEPTH 2000-07-07 21:17:31 +00:00
chrisk%netscape.com
49779ca3c4 Added -d option
-p option now also works for decoding
2000-07-07 00:57:39 +00:00
javi%netscape.com
d8af2764fb More entries that were multiply defined are now fixed. 2000-07-06 01:38:51 +00:00
javi%netscape.com
7087d3e436 Removed some properties that were multiply defined and correctly defined some
hdr property entires to avoid over-writing properties.
2000-07-06 01:31:30 +00:00
javi%netscape.com
e9987aeb54 Get the CRL dialog window to properly close and refresh the Signers pane
when no more CRL's are left.
2000-07-01 01:26:42 +00:00
javi%netscape.com
628ab13451 First shot at having UI for deleting CRLs. 2000-07-01 01:19:22 +00:00
javi%netscape.com
b5b2f5d3cd Remove an unused button from dialog. 2000-07-01 01:15:28 +00:00
javi%netscape.com
303eb4dbb0 Changes for having a dialog that does CRL deleting. 2000-07-01 01:14:22 +00:00
relyea%netscape.com
2c08b2ae6c Fix memory leak when using hardware acceleraters. 2000-06-29 21:26:17 +00:00
relyea%netscape.com
1d084af74a merge changes from NSS 3.0 branch to allow NT automated tests to work. 2000-06-29 21:25:41 +00:00
relyea%netscape.com
5fcb0862b3 merge 3.0_Branch changes to get NT to run back unto the tip. 2000-06-29 21:23:37 +00:00
mcgreer%netscape.com
0d70c5df17 add a > wordsize test for RC4 2000-06-29 18:38:30 +00:00
javi%netscape.com
366f6b877e Don't stop sending text to a log file just because one Write failed.
This way subsequent DEBUG messages may still get printed.
2000-06-29 18:19:03 +00:00
javi%netscape.com
c9cce921c4 Change P12 file path request strings to be consistent with terms used in
Security Advisor.
2000-06-28 22:16:11 +00:00
javi%netscape.com
fdb8d2e2a1 Add some text to the cases where S/MIME signatures fail when OCSP is enabled. 2000-06-28 21:37:09 +00:00
javi%netscape.com
36f80c0373 Fix to add some text to security advisor when S/MIME signatures faile
when OCSP is enabled.
2000-06-28 21:36:36 +00:00
ddrinan%netscape.com
2ec581c2b2 Fix for bug# 398838 2000-06-28 21:20:38 +00:00
ddrinan%netscape.com
6b25adba60 Added target to release the xpi file 2000-06-28 01:19:20 +00:00
javi%netscape.com
2607cae31c Make the Pretty print window smaller so that it doesn't run off the bottom of
the screen w/ Mozilla.
2000-06-28 00:11:17 +00:00
javi%netscape.com
53ce1bbd54 When FIPS is enabled, do verification of detached signatures on a separate thread
to prevent dead-locking the front end thread.
2000-06-27 21:55:59 +00:00
javi%netscape.com
e5cc2ea430 When verifying a cert, pass in the control connection as the wincx so
that when FIPS is enabled, we don't crash.
2000-06-27 21:53:59 +00:00
javi%netscape.com
973eb09da7 Sigh. Preceed all <LINK ..> blocks with a <SCRIPT></SCRIPT> to work around
a bug in 4.x Communicator Solaris where the contents of the style sheet get
dumped to the screen.  Not sure why this solves that problem, but it does.
2000-06-27 01:32:39 +00:00
ddrinan%netscape.com
20181164f8 Build the PSM xpi files 2000-06-27 01:21:41 +00:00
javi%netscape.com
ed5ca5fe40 Doh!! Forgot to add the psm executable to the xpi file. 2000-06-27 00:55:05 +00:00
javi%netscape.com
75969b229b Add an html file that can be used to install the xpi 2000-06-27 00:34:03 +00:00
javi%netscape.com
1b21a013ed Add a rule to automatically create XPi files. 2000-06-27 00:20:07 +00:00
javi%netscape.com
a665534475 Checking in the file we use for xpi install on UNIX with mozilla. 2000-06-26 23:44:28 +00:00
cotter%netscape.com
7b28c90cc7 Updated installation and what's new sections re Security directory on Windows, which no longer needs to be renamed when installing Netscape 6 after PSM for Communicator (or vice versa). 2000-06-26 22:32:55 +00:00
thayes%netscape.com
192078b3d8 Add tests for Secret Decoder Ring (SDR) 2000-06-24 01:06:26 +00:00
thayes%netscape.com
c960eeb856 Add SDR test command 2000-06-23 22:25:22 +00:00
javi%netscape.com
0a1c85c01a Move some localizable strings from psm_ui.properties.in to psm_text.properties.in 2000-06-23 21:54:32 +00:00
chrisk%netscape.com
c2fdb05c18 Added and corrected some comments
Added $layercounter
Clarified $boundary generation (a boundary has leading AND trailing CRLFs!)
2000-06-23 18:37:33 +00:00
chrisk%netscape.com
d705ca0332 Preliminary checkin at a state where smime can parse messages generated
by itself.
2000-06-23 16:40:31 +00:00
ddrinan%netscape.com
49eff830d4 Changed version to 1.2 2000-06-22 22:21:16 +00:00
javi%netscape.com
7df96cbea8 Update SSMVersionString value. 2000-06-22 21:05:42 +00:00
cotter%netscape.com
61a3ff184f Minor correction to View Certificate Details section. 2000-06-22 20:36:11 +00:00
javi%netscape.com
f2f3d96767 We need ssm_swap_bytes defined regardless of whether we're building on a
little endian machine.
2000-06-22 17:36:34 +00:00
javi%netscape.com
b124666af9 Fix unicode conversion for win32 so that p12 export/import works again. 2000-06-22 01:28:03 +00:00
ddrinan%netscape.com
f7a091cd53 Add new attribute id to socket status resource. Bug #39680 2000-06-21 23:31:28 +00:00
ddrinan%netscape.com
ef4de6f1d3 Checked in fix for bug# 39680 2000-06-21 23:26:53 +00:00
ddrinan%netscape.com
c149929cd6 Some bug fixes 2000-06-21 20:52:33 +00:00
ddrinan%netscape.com
533acc79a7 Must convert unicode to/from NBO/HBO on little endian systems 2000-06-21 20:43:30 +00:00
chrisk%netscape.com
3902194f5b Added some comments and asserts 2000-06-21 18:12:02 +00:00
chrisk%netscape.com
92a3672caa Oops - fixed the fix. The prototype now correctly unpacks into a
DHPublicKey structure.
2000-06-21 00:04:38 +00:00
javi%netscape.com
017d57c44e Don't block forever waiting for socket status to get created. Mozilla
may call that function after the connection is gone in which case the
socket status will not exist.
2000-06-20 22:39:24 +00:00
chrisk%netscape.com
a83d527722 Fix OID for DC AVAs - the root OID in RFC2247 is not different from
the root OID in RFC1274 - so the one we had was WRONG.
I don't know where it came from.
2000-06-20 16:31:31 +00:00
chrisk%netscape.com
390a6f1dec Add code for generation of SMIMEProfile and SMIMEKeyEncryptionPreference 2000-06-20 16:28:59 +00:00
chrisk%netscape.com
23cd2f3659 First feeble attempt at fixing the problem that our definition of
Diffie-Hellman key parameters does not encompass all the optional
fields defined in RFC2459, section 7.3.2 (namely j and validationParams).

I added comments reminding us of the fact that PQGParams need to be
extended to hold these, and fixed the ASN1 prototype from its previous
totally broken status to one that decodes prime, subPrime and base
correctly, and skips the rest.

This avoids failure in public key extraction (which is part of verification)
with DH certs.
2000-06-20 16:22:36 +00:00
chrisk%netscape.com
3550ea9e23 Fix problem where DH certs were always rejected when verifying them
for EMail encryption.
A Diffie-Hellman key needs to be tested for KU_KEY_AGREEMENT, not
KU_KEY_ENCIPHERMENT.
2000-06-20 16:15:32 +00:00
chrisk%netscape.com
568524e3be Fixed bug in sequence printing code: array counter was overshooting by one 2000-06-20 14:35:17 +00:00
chrisk%netscape.com
c8e8241728 Fix bug in decoder:
When encoding indefinitely & encountering an optional field at the end of
a sequence, right after an IMPLICIT or POINTER template, the decoder
was not propagating the optionalness and the end-of-contents condition
correctly as it hits the end-of-contents octets instead of the optional
field. This is because IMPLICIT and POINTER push TWO states to look
for the next tag, not just one.
(The first state is "afterImplicit" or "afterPointer", the second one
starts with "beforeIdentifier" as usual).
This finally makes decoding envelopedData messages in cmsutil work.
2000-06-20 13:24:01 +00:00
ddrinan%netscape.com
de67b92a1b We need libnlslocale for unix 2000-06-20 02:43:46 +00:00
cotter%netscape.com
2821055584 Added first draft of PSM 1.2 release notes. 2000-06-19 23:58:25 +00:00
javi%netscape.com
066d8f24d8 Whomping SECURITY_CLIENT_BRANCH onto tip. 2000-06-19 23:05:49 +00:00
javi%netscape.com
a82cfc01fa Whomping SECURITY_CLIENT_BRANCH onto tip. 2000-06-19 22:58:15 +00:00
thayes%netscape.com
4cd82c9914 Fix double free of item value that is in an arena. 2000-06-16 23:26:16 +00:00
javi%netscape.com
098648d866 Watch out for the case where the user hits Cancel. Don't wanna dead-lock
waiting for a message that will never show up.
2000-06-16 23:22:39 +00:00
javi%netscape.com
fba4cd21d3 Work around for Mozilla. If we're told to wait for a resource to shut down
that isn't a keygen context, sleep for a second so that the user actually
sees the dialog instead of a window that mysteriously appears and disappears
without ever showing them anything.
2000-06-16 22:45:48 +00:00
ddrinan%netscape.com
9587b38239 Include nslocale component 2000-06-16 22:40:13 +00:00
beard%netscape.com
17a3d47248 bug 19119: export file for PSM[Debug].shlb. 2000-06-16 22:25:43 +00:00
beard%netscape.com
5ff5374817 bug 19119, changes for XP_MAC to allow client to synchronize with server thread. a=ddrinan, r=gordon 2000-06-16 22:21:16 +00:00
beard%netscape.com
bca0804eec (not part of build) added nlslayer.cpp. 2000-06-16 22:18:38 +00:00
javi%netscape.com
f0e57c08d9 Some tweaks to key gen context and oldfunc.c so that Mozilla can more
easily handle the KEYGEN tag.
2000-06-16 22:08:16 +00:00
javi%netscape.com
c8f7ba26ce Make some API changes so that the Mozilla client can more easily handle
the KEYGEN tag.
2000-06-16 22:05:18 +00:00
beard%netscape.com
97d9238830 bug #19119: Added call to initialize Mac toolbox. (not part of build) 2000-06-16 21:12:27 +00:00
javi%netscape.com
0f84a60c10 Add some attributes to query URL's for setting the password and for
choosing which token to use when processing a KEYGEN tag.x
2000-06-16 20:48:25 +00:00
ddrinan%netscape.com
71c92a89ba Fixed build bustage for linux 2000-06-16 17:17:49 +00:00
cotter%netscape.com
0527c678f9 Updated OSCP help. 2000-06-16 05:45:58 +00:00
ddrinan%netscape.com
38e0c15f88 Fix for bug# 34384 2000-06-16 01:47:18 +00:00
mcgreer%netscape.com
5c4d045072 attempt to add token support for listing certs & keys 2000-06-16 00:38:44 +00:00
mcgreer%netscape.com
1a4bf955be more cleanup on cert listing 2000-06-16 00:36:43 +00:00
ddrinan%netscape.com
0675702db4 Use M16 version of nlslayer for unix 2000-06-15 21:34:56 +00:00
thayes%netscape.com
adc6554ab2 Change password prompt and retry text. 2000-06-15 21:13:35 +00:00
javi%netscape.com
b9608d0541 Add help targets for cert pretty print and issuer not found when walking
the certificate chain.
2000-06-15 21:02:45 +00:00
ddrinan%netscape.com
af2686f4b9 Use the M16 version of nlslayer 2000-06-15 20:22:12 +00:00
ddrinan%netscape.com
507c38bfb2 Use the intl M16 interfaces 2000-06-15 20:02:52 +00:00
chrisk%netscape.com
9f56a873d3 Add generation of SMIMECapabilities 2000-06-14 23:17:52 +00:00
chrisk%netscape.com
fa197d9014 canonicalization step adds CRs to LFs only of there are no CRs present. 2000-06-14 23:15:06 +00:00
chrisk%netscape.com
9cbdb3d252 Make example 5.7 of ietf-smime-examples draft decode correctly
(we still cannot look up certs by SubjectKeyID, so it won't verify)
2000-06-14 23:12:48 +00:00
beard%netscape.com
53d28df585 (not part of build) added non-debug target (PSM.shlb) 2000-06-14 03:25:37 +00:00
beard%netscape.com
1712fb7c0e (not part of build) added mozilla/security/nss/lib/smime to access paths, added nlslayer.cpp directly (rather than building as a separate library). 2000-06-14 03:18:10 +00:00
beard%netscape.com
32dc89c957 (not part of build) added mozilla/security/nss/lib/smime to access paths. 2000-06-14 03:16:41 +00:00
ddrinan%netscape.com
88e79e328c Move nlslayer from my machine to sbc 2000-06-13 23:54:37 +00:00
cls%seawood.org
7c56b4260d Applying BeOS fixes for PSM to tip. Bug #39164 2000-06-13 23:13:48 +00:00
chrisk%netscape.com
f7113ab1b2 Merge smimetk_branch to tip... 2000-06-13 21:56:37 +00:00
relyea%netscape.com
d43393b11b reuse old key structures on a given token rather than building it up and
tearing it down every time.
2000-06-13 21:37:28 +00:00
relyea%netscape.com
78671954d3 Reuse old Object structures rather than build and free them every time. 2000-06-13 21:34:52 +00:00
chrisk%netscape.com
67e0b44687 Fix DSA / BLAPI interface by creating stub functions that have the
correct signature for being called via context->update or context->verify.
2000-06-12 23:43:42 +00:00
mcgreer%netscape.com
dd3dd4e3e1 added roots. 2000-06-12 22:39:02 +00:00
chrisk%netscape.com
091d437eca Sorted output for certutil -L 2000-06-12 22:25:40 +00:00
thayes%netscape.com
6106f2cc7c Change password dialogs to account for expanded capabilities (beyond
just certificates)
2000-06-12 20:38:10 +00:00
thayes%netscape.com
8d09de22cf Fix cleanup code in Decrypt to check for NULL pointers 2000-06-12 20:19:39 +00:00
thayes%netscape.com
d562a12ca9 Add permanent (token) key for supporting Secret Decoder Ring (SDR)
Bug 26085
2000-06-10 19:00:45 +00:00
cotter%netscape.com
b9bccd5ac3 Latest fixes re SDR & pswd mgr. 2000-06-06 22:23:50 +00:00
nelsonb%netscape.com
9d2744f5ce Carry forward fix from NSS 2.8 for servers that don't do ssl2. 2000-06-06 20:32:18 +00:00
javi%netscape.com
cd6d0787cd Make SendUIEvent take a bit for isModal instead of always hard-coding it
to true.
2000-06-05 20:21:23 +00:00
javi%netscape.com
80e2d2ccc8 For optimized builds, we have to link in an extra library to avoid
undefined symbols.
2000-06-05 20:10:39 +00:00
javi%netscape.com
1433b98732 Work around for a bug w/ Mozilla where the KEYGEN window blocks forever
and prevents PSM from exiting when Mozilla quits.
2000-06-02 23:57:25 +00:00
mcgreer%netscape.com
12b3563350 iterate context creation for all ciphers when doing performance tests. 2000-06-02 23:09:13 +00:00
mcgreer%netscape.com
8afb3c69cf fork content version between ns-branded builds and mozilla builds. 2000-06-02 22:35:29 +00:00
javi%netscape.com
2bd9d0bc74 Change the name of the OCSP URL from "location" to "ocspLocation" so Mozilla
doesn't get confused and try to change the web site we're viewing.

This is a work around because that bug will not be fixed for Beta2 in Mozilla.
2000-06-02 19:03:48 +00:00
mcgreer%netscape.com
0307d81230 Allow for building with internal roots. 2000-06-02 18:37:53 +00:00
mcgreer%netscape.com
883e025f3d Allow for building with internal root certs. 2000-06-02 18:37:14 +00:00
mcgreer%netscape.com
10d32a14b9 more performance testing
* timing of context creation for ciphers
* provide system information
2000-06-02 01:40:29 +00:00
thayes%netscape.com
b2aa68c6fe Use PK11 fixed key lookup to locate the key value. Fix ENCRYPT/DECRYPT bug in
SDR_Decrypt.
2000-05-31 23:06:02 +00:00
relyea%netscape.com
d6dd1b2540 Return to using the thread safe version. The non-thread safe version can double free memory 2000-05-31 22:37:17 +00:00
relyea%netscape.com
2900921f0d Fix bug which would have bypassed mac checking in TLS 2000-05-31 22:36:02 +00:00
relyea%netscape.com
30767104df Set up code that allows you to run only some of the SSL tests in a single run. 2000-05-31 22:35:00 +00:00
relyea%netscape.com
5243fc1acd Fix Environment variable overrides. 2000-05-31 22:34:07 +00:00
mcgreer%netscape.com
e771f6a310 fix static array (found with solaris 2.7 build) 2000-05-31 22:17:47 +00:00
javi%netscape.com
01054862c6 Need to make in the ui directory as well. 2000-05-31 00:20:30 +00:00
javi%netscape.com
cc03ad8c56 Use nlslayer as the library name instead of strres to avoid any potential
confusion.
2000-05-30 21:54:07 +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
mcgreer%netscape.com
23966b8923 fix up file handling. 2000-05-26 23:19:17 +00:00
mcgreer%netscape.com
308ca1e370 break off mode list when next option is reached 2000-05-26 23:09:09 +00:00
mcgreer%netscape.com
9fdfa1ad70 fix dsa self-test 2000-05-26 23:05:05 +00:00
mcgreer%netscape.com
746aedde1f * allow a directory for tests to be specified
* separate pqg generation for dsa test
* fix dsa self-test
2000-05-26 23:04:47 +00:00
thayes%netscape.com
1c2a9791e8 Put SDR changes on the tip. These changes include:
+ support for generic handling of messages on threads (msgthread.*)
  + add set_db_password form handling to control connection (temporary)
  + add SDR functions (Encrypt and Decrypt) and Changepassword to MISC category
  + checkin prototypes for trigger.js and install.js (parts of PSM installation)
2000-05-26 22:34:36 +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
mcgreer%netscape.com
d5c80d5666 self-test 2000-05-26 07:53:38 +00:00
mcgreer%netscape.com
0b167f4b76 self-test 2000-05-26 07:48:19 +00:00
mcgreer%netscape.com
8fef6c639b Fix up the hashes to only use one mode. Add self-test capability to bltest (test each of the BLAPI functions). DSA self-test not working at this time. 2000-05-26 07:41:22 +00:00
mcgreer%netscape.com
6a074fdf4a Allow any build to use moz_import rule. mozilla dbm uses different lib name, so copy it over. 2000-05-25 23:10:35 +00:00
nelsonb%netscape.com
bdcd27c9cb Use the -g keysize value, instead of DES_KEY_LENGTH, for all crypto
algorithms except DES and 3DES.
2000-05-25 22:42:23 +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
a57f63746a Correct the implementation of the options for disabling SSL2, SSL3 and TLS.
Add a new -R option to selfserv, which disables detection of rollback from
TLS to SSL3.0.  This is necessary for testing with broken TLS clients.
2000-05-24 03:44:50 +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
mcgreer%netscape.com
5d1cd52439 break a long rsa message into key-sized blocks for testing. 2000-05-23 20:01:31 +00:00
javi%netscape.com
9ccc1d638c Look for libnecko_res.so instead of libnecko_resource.so on UNIX platforms. 2000-05-23 16:45:01 +00:00
javi%netscape.com
63c73ce255 Trick xpcom world into treating psm just as it would mozilla. 2000-05-23 01:14:39 +00:00
javi%netscape.com
db923c030e Don't link against libraries we don't need. 2000-05-22 17:34:42 +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
cotter%netscape.com
cb9767f89b Revised section on Personal Security Password w/ SDR info, plus related glossary items. 2000-05-20 01:23:34 +00:00
mcgreer%netscape.com
ebf9115175 hash performance functions now look the same as the other ciphers. add a zerobuffer option to avoid creating random buffers when performance testing. 2000-05-19 22:50:48 +00:00
nelsonb%netscape.com
7e2567dffc Performance enhancement. Takes only 70% as long as previous version. 2000-05-19 22:14:38 +00:00
mcgreer%netscape.com
be99cf056a fix up the mode arrays. 2000-05-19 21:02:05 +00:00
ddrinan%netscape.com
c240cfe275 Fixed server_cert_view_buttons. Bugzilla 36129 2000-05-19 20:39:06 +00:00
mcgreer%netscape.com
2e902ef580 work on making test program more usable.
* added usage
* chaining modes and stream ciphers reset contexts when doing multiple iterations for performance testing
2000-05-19 20:34:05 +00:00
javi%netscape.com
f0aa5464ee Have the current directory in the LD_LIBRARY_PATH first so that the shared
objects in the current directory are loaded before others that may be in
the LD_LIBRARY_PATH
2000-05-19 20:14:03 +00:00
nelsonb%netscape.com
5875fc4cc5 Add support for sha1. Add repetition count argument to -p. 2000-05-19 18:35:53 +00:00
javi%netscape.com
bc8642ed53 Use the correct type of comments for the start-psm script. 2000-05-19 17:19:59 +00:00
javi%netscape.com
a63c7ba265 Make sure the strings we get for configuring PKCS11 are the correct length.
This way the names we provide for the token name and such will stick.
2000-05-19 17:13:05 +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
ddrinan%netscape.com
661c50b256 Remove reference to NLS library 2000-05-19 00:16:20 +00:00
ddrinan%netscape.com
8197925963 Updates 2000-05-18 23:53:53 +00:00
mcgreer%netscape.com
bd476fcdc8 very rudimentary test code for regression tests of BLAPI. 2000-05-18 22:59:42 +00:00
ddrinan%netscape.com
45aed86968 Initial check-in 2000-05-18 21:30:26 +00:00
ddrinan%netscape.com
e66a79cc63 Fixed i18n libraries for unix 2000-05-18 21:02:09 +00:00
ddrinan%netscape.com
200adf13ff mozreg is a static library on unix 2000-05-18 20:06:09 +00:00
ddrinan%netscape.com
11795e0966 Fixed comment style for Solaris 2000-05-18 18:32:43 +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
roeber%netscape.com
7f2818aa4e Applying ancient patch to dump out extended key usage extensions 2000-05-18 01:02:40 +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
mcgreer%netscape.com
b5b10b72a8 allow import of NSPR and DBM from mozilla when building with BSAFE. 2000-05-17 23:19:18 +00:00
dougt%netscape.com
0b5a4259b7 Adding SIOUX event processing 2000-05-17 23:00:19 +00:00
dougt%netscape.com
d50bfdd577 Mac tweeks. 2000-05-17 22:59:40 +00:00
ddrinan%netscape.com
2daf6b93f9 Initial check-in 2000-05-17 20:26:28 +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
ddrinan%netscape.com
6ef9d01be0 Fixed syntax error 2000-05-17 17:46:22 +00:00
mcgreer%netscape.com
40616e7038 fix some compiler warnings 2000-05-17 17:31:20 +00:00
cotter%netscape.com
d9b9111eb1 Changes related to new UI for viewing cert chains. 2000-05-17 04:19:47 +00:00
thayes%netscape.com
4ab73df7ec Land latest SDR changes on the tip. 2000-05-17 01:20:20 +00:00
javi%netscape.com
834423c3ba Add new function for getting the version string that can be used by
Mozilla.
2000-05-17 00:17:42 +00:00
mcgreer%netscape.com
1d9865e6d7 including md2 and md5 implementations in MOZILLA_SECURITY_BUILD 2000-05-16 23:05:47 +00:00
ddrinan%netscape.com
824cb7fac1 OS/2 changes for snizinsk@us.ibm.com 2000-05-16 21:30:23 +00:00
ddrinan%netscape.com
b586d0ec2d Fixed the release_md rule to copy the components stuff 2000-05-16 18:54:01 +00:00
ddrinan%netscape.com
bf18228ce4 Load the nlslayer/M14 from \\drinan. This is temporary 2000-05-16 18:47:22 +00:00
ddrinan%netscape.com
3c4469b2f9 OS/2 changes for snizinsk@us.ibm.com 2000-05-16 18:30:55 +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
3d81202616 Add a mini-framework to allow us to test NSS releases without using tet. 2000-05-16 17:50:52 +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
relyea%netscape.com
edb6ec0cf5 Add TLS and SSL flags to modutil.
Allow the Default flag to work specifically on a slot.
2000-05-16 17:27:29 +00:00
relyea%netscape.com
673272c023 1) add code to allow selfserv to reuse existing listen ports when they are 'just haning around' (allows our test suits to run when starting and stopping the server all the time).
2) flush out any server output so it doesn't get lost from out test suites
2000-05-16 17:25:42 +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
mcgreer%netscape.com
97c5e2820b In BSAFE build, libfreebl.a has symbols needed by libbsafe.a (memory management). 2000-05-16 00:18:51 +00:00
mcgreer%netscape.com
36eabb038c reordered libraries for builds 2000-05-15 22:59:12 +00:00
dougt%netscape.com
c735175065 Adding nsString and friends so that people can link against us without XPCOM until runtime. 2000-05-15 21:00:52 +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
dougt%netscape.com
23147eed0c Updating project to build with standalone nlsLayer. 2000-05-15 20:56:30 +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
dougt%netscape.com
fe806465e1 First Checked In. 2000-05-15 19:59:01 +00:00
ddrinan%netscape.com
c61f315ca3 Put nls layer into a separate static library 2000-05-13 03:27:53 +00:00
ddrinan%netscape.com
e4d8ed38e4 Initial checkin 2000-05-13 03:12:20 +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
a7f5af25b4 Fixes to make Mac work. 2000-05-12 19:58:37 +00:00
dougt%netscape.com
f4172ca6e2 First Checked In. 2000-05-12 19:57:18 +00:00
dougt%netscape.com
cbeec451ee Fix to make compile on Mac. 2000-05-12 19:57:00 +00:00
dougt%netscape.com
c16d114409 Fixes to make Mac compile. 2000-05-12 19:51:52 +00:00
dougt%netscape.com
4759075517 Changes make project use static crypto lib. 2000-05-12 18:55:31 +00:00
dougt%netscape.com
7dc028cf1e Minor changes to fix mac build bustages. 2000-05-12 18:43:28 +00:00
ddrinan%netscape.com
bed28e3d3f No longer use obscuring layer from protocol 2000-05-12 03:18:09 +00:00
ddrinan%netscape.com
846620ce5b No longer build or export obscuring stuff 2000-05-12 03:17:08 +00:00
thayes%netscape.com
d1e4df651d Merge changes from SDR_BRANCH.
Add more SDR features, and provide compatibility between older PSM servers
and this client library.
2000-05-11 01:49:15 +00:00
ddrinan%netscape.com
a3906c1bc6 Link xpcom dynamically for Solaris and HP-UX 2000-05-10 00:01:29 +00:00
ddrinan%netscape.com
3f8361f0a3 Fixed NSPR library typos for Solaris 2000-05-09 23:14:07 +00:00
ddrinan%netscape.com
1ecaa5797f I18N include should be lower case 2000-05-09 22:07:05 +00:00
ddrinan%netscape.com
a53dbf95b8 Added import for I18N headers and libraries 2000-05-09 22:06:01 +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
ddrinan%netscape.com
535e326854 Fixed some comments 2000-05-09 18:24:35 +00:00
ddrinan%netscape.com
2d72f7886b Added newline to end of file 2000-05-09 02:20:54 +00:00
ddrinan%netscape.com
8dad32f248 Fix up manifest 2000-05-09 01:36:43 +00:00
ddrinan%netscape.com
16a1d0a19a Adding Makefile to build in Mozilla 2000-05-09 01:35:54 +00:00
ddrinan%netscape.com
ff30abf69c Fixed up manifest 2000-05-09 01:31:07 +00:00
thayes%netscape.com
007c2f07b7 Add makefile to the tip 2000-05-09 01:30:38 +00:00
ddrinan%netscape.com
ff32de2c09 Adding Makefile to build this in Mozilla 2000-05-09 01:30:31 +00:00
ddrinan%netscape.com
33cfed1efb Fixed typo for NSPR import for Solaris 2.5.1 2000-05-09 00:47:19 +00:00
ddrinan%netscape.com
1ec2a49049 Fix for Solaris 2.5.1 2000-05-09 00:33:13 +00:00
ddrinan%netscape.com
77b0467a2c Get NSPR 4.0 for Solaris 2.5.1 2000-05-09 00:06:35 +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
roeber%netscape.com
93ef5fd122 Initial checkin of an simple module-excercise program 2000-05-08 23:19:45 +00:00
nelsonb%netscape.com
64d442182a Several fixes. Builds on WIN32. Prints Usage when invalid syntax. 2000-05-08 23:13:10 +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
ddrinan%netscape.com
3a05765647 Remove special import for Solaris 2.5.1 2000-05-04 21:48:43 +00:00
ddrinan%netscape.com
69a4fa9208 Build NSS before building PSM 2000-05-04 21:30:45 +00:00
ddrinan%netscape.com
2ca53e522d Fixed typo in nss gmake 2000-05-04 20:58:44 +00:00
ddrinan%netscape.com
7bafb59ea8 Initial revision 2000-05-04 20:40:41 +00:00
thayes%netscape.com
441820f1c8 Add makefiles to tip for psm library builds 2000-05-03 18:09:53 +00:00
thayes%netscape.com
bd0caf91ab Fix LDAPSDK include path to allow locally installed sdk 2000-05-02 21:55:10 +00:00
thayes%netscape.com
1a5ca5b2e8 Copy nspr libraries into platform build directory to allow running without library path
setup.
2000-05-02 00:38:11 +00:00
mwelch%netscape.com
6fa77f4c37 Applying Mac changes 2000-04-28 09:35:09 +00:00
mwelch%netscape.com
2c79f59ddf Adding Mac build information. Project file is merely a placeholder right now; serious work remains to be done here. 2000-04-28 09:28:54 +00:00
mwelch%netscape.com
6556ee4eaf Adding Mac files, primarily as placeholders 2000-04-28 09:14:36 +00:00
javi%netscape.com
d05124301e Only add the hot link on cert windows if the target for the HTTP request
is a certificate resource.
2000-04-27 01:08:19 +00:00
javi%netscape.com
a37bce4efd Whomping my changes for imporoved cert UI and cert lookup over LDAP onto
mozilla.

Make P12 unicode conversion switch bytes to Network Byte Order.  Mozilla
localization doesn't do that for us.
2000-04-27 00:03:33 +00:00
javi%netscape.com
84993d6fb3 Automaticallly pre-select all e-mail addresses that the user doesn't have. 2000-04-26 23:59:14 +00:00
javi%netscape.com
51251ae54a Trim down the number of libraries we link against. 2000-04-26 23:55:52 +00:00
javi%netscape.com
9c7b1f46e3 Add spiffy new UI for cert viewing. Let's you walk the chain. Also
enhancements to search look up through LDAP.
2000-04-26 23:53:51 +00:00
javi%netscape.com
39d22c8ce6 coreconf lives in a new directory now. 2000-04-26 23:51:47 +00:00
javi%netscape.com
10b8991563 Add a file that can pretty print DER blobs. 2000-04-26 21:39:28 +00:00
ddrinan%netscape.com
3fb0f41fe2 Changes for the NSS coreconf landing 2000-04-26 21:17:32 +00:00
ddrinan%netscape.com
a3112b1349 Initial checkin 2000-04-26 21:17:02 +00:00
ddrinan%netscape.com
a6ee827e1b Initial checkin 2000-04-26 20:06:16 +00:00
ddrinan%netscape.com
af2076e505 First cut of makefile. 2000-04-26 20:02:05 +00:00
mwelch%netscape.com
e31a4be4aa Bringing tip of PSM client lib up to date with changes from commercial tip 2000-04-25 02:57:11 +00:00
mwelch%netscape.com
30dd1a6916 Bringing tip of PSM client lib up to date with commercial version 2000-04-25 02:55:21 +00:00
mwelch%netscape.com
c4913ec571 Bringing client lib up to date 2000-04-25 02:53:28 +00:00
mwelch%netscape.com
0c4625b3df Bringing tip of PSM client library up to date 2000-04-25 02:49:38 +00:00
thayes%netscape.com
bb86f0f2f9 Merge build fix from M14 branch 2000-04-21 21:18:51 +00:00
thayes%netscape.com
d0def2d28c Add decryption functions for SDR. Add SDR to UNIX builds. 2000-04-20 23:00:39 +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
thayes%netscape.com
99d8d3606f Add initial cmtsdr.c file for SDR implementation from M14 branch 2000-04-19 01:43:29 +00:00
thayes%netscape.com
7fb01a452d Merge changes for SDR encrypt and decrypt from M14 branch 2000-04-19 01:38:04 +00:00
thayes%netscape.com
84afb4c959 Add protocol opcodes for SDR encrypt and decrypt 2000-04-19 01:29:56 +00:00
ddrinan%netscape.com
a3c4c7bf84 Initial check in PSM docs 2000-04-12 01:19:11 +00:00
ddrinan%netscape.com
f2f9bda8ae Initial checkin of the PSM server 2000-04-12 00:15:15 +00:00
ddrinan%netscape.com
77f8a8b6ac Initial checkin of the PSM server 2000-04-12 00:05:55 +00:00
ddrinan%netscape.com
14bd6b1e86 Initial check-in PSM UI files 2000-04-11 23:54:23 +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
nelsonb%netscape.com
25f97cee57 Detect failure of NSS_Init. 2000-04-06 23:02:44 +00:00
repka%netscape.com
9501e89926 Put "btoa" back into the built directories, since the underlying code
is now available in nss/lib.
2000-04-06 22:45:50 +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
repka%netscape.com
f852f35853 Add a trailing CRLF; the encoder doesn't. 2000-04-06 00:15:54 +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
cf7b7608db Update makefiles so NT will build. (and other platforms that don't have symbolic links) 2000-04-03 21:41:33 +00:00
mcgreer%netscape.com
84d9905156 Initial checkin of sslstrength/ssltelnet source. 2000-04-03 20:31:05 +00:00
mcgreer%netscape.com
dbe48be092 Initial checkin of signver source. 2000-04-03 20:24:02 +00:00
mcgreer%netscape.com
8c34a18c15 Initial checkin of signver source. 2000-04-03 20:15:57 +00:00
mcgreer%netscape.com
1f7ca7b2cb Initial checkin of signtool source. 2000-04-03 19:08:51 +00:00
mcgreer%netscape.com
725d3b78b6 Initial checkin of pk12util source. 2000-04-03 18:56:53 +00:00
mwelch%netscape.com
40ed12aead Removed trailing tab for ppc platform def 2000-04-02 08:05:44 +00:00
relyea%netscape.com
6836d54003 Remove modutil until we can fix a build problem. 2000-03-31 20:59:58 +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
aee558bb8c Source doesn't setup DIST, it sets up SOURCE! 2000-03-31 20:53:47 +00:00
relyea%netscape.com
a86f4bbdb8 remove an incorrectly checked in file 2000-03-31 20:50:44 +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
relyea%netscape.com
c52dab758c Initial checkin of the NSS build environment for the open source release 2000-03-31 18:56:07 +00:00
mwelch%netscape.com
053e176882 Fixing a bunch of warnings 2000-03-22 05:43:42 +00:00
mwelch%netscape.com
9d573a5db9 Applied client lib changes from PSM101Mac_BRANCH on commercial tree 2000-03-22 00:03:36 +00:00
mwelch%netscape.com
800750fd72 Applied changes from M14 branch 2000-03-21 23:31:45 +00:00
mwelch%netscape.com
c3a208c9b6 removed Makefiles 2000-03-21 23:03:18 +00:00
mwelch%netscape.com
42008b9ba6 removed Makefile 2000-03-21 23:02:14 +00:00
sfraser%netscape.com
cae00f7fa3 First Checked In. 2000-03-21 02:45:38 +00:00
Jerry.Kirk%Nexwarecorp.com
da2794386a Removing "#include <sys/un.h>" because it is not present under Neutrino
and VMS and it does not appear to be needed either.
r=colin,cls
2000-03-13 13:03:52 +00:00
mwelch%netscape.com
f803349f18 First checkin 2000-03-01 02:02:14 +00:00
mwelch%netscape.com
0caed44b7a Fixing makefiles with shaver's tarball 2000-03-01 01:22:44 +00:00
mwelch%netscape.com
94700ac67a First checkin of PSM client libs 2000-03-01 00:43:41 +00:00