Commit Graph

488 Commits

Author SHA1 Message Date
relyea%netscape.com
eebbb60194 Add code to allow Trusted root certs to come from an externally loaded
pkcs #11 module.
2000-09-06 22:05:57 +00:00
mcgreer%netscape.com
5de79419b1 private header file to talk between mpi and nss 2000-09-06 21:46:43 +00:00
mcgreer%netscape.com
865fd868f2 *added pqg code based on fips 186-1
*added stubs to rsa functions
2000-09-06 17:43:42 +00:00
javi%netscape.com
ef3316bc57 Use PR_MIN just in case some systems don't have a MIN macro defined. 2000-09-05 23:55:55 +00:00
nelsonb%netscape.com
561753ec9d Force installparse.y to be rebuilt on NT. 2000-09-05 20:42:26 +00:00
nelsonb%netscape.com
fa26c513b0 When building on NT for X86, use new mpi_x86.asm implementation. 2000-09-02 05:41:21 +00:00
nelsonb%netscape.com
54ce559f68 Makefile.win - gmake Makefile for building MPI with MSVC on NT. 2000-09-02 05:38:51 +00:00
nelsonb%netscape.com
dab570427d mpi_x86.asm - assembly language implementation of s_mpv_ functions. 2000-09-02 05:33:15 +00:00
nelsonb%netscape.com
0bbb06a9ca Use new assembler files.
Define MP_NO_MP_WORD on platforms that don't have 64-bit registers.
2000-09-02 01:40:41 +00:00
javi%netscape.com
5e555e3a5f Make the S/MIME related and Java/JS tabs stay away no matter which tab on the
left side is clicked.

Plug some more memory leaks in security advisor.
2000-09-01 23:30:25 +00:00
javi%netscape.com
ce31522497 Plug some memory leaks and always use PL_strdup instead of vanilla strdup. 2000-09-01 22:55:25 +00:00
javi%netscape.com
2f2eed1e57 Assign a ** static pointer an actual value instead of just sayin *val = NULL; 2000-09-01 22:47:22 +00:00
javi%netscape.com
2032b28586 Make the Messenger and Java/JavaScript persistently stay away when they
should.
2000-09-01 00:54:14 +00:00
javi%netscape.com
2ce603bc4a Make the other tab stay away even if you click on one of the other left side
tabs of the Certificates pane.
2000-09-01 00:52:22 +00:00
javi%netscape.com
b05930626d Whomp the SECURITY_CLIENT_BRANCH onto the tip. 2000-08-31 18:31:28 +00:00
nelsonb%netscape.com
5fe44c9349 Checkin a big speedup for sparc v8 CPUs when compiled with Workshop
compilers.  Be sure to use -DMP_NO_MP_WORD with v8 CPUs.
2000-08-31 04:59:05 +00:00
nelsonb%netscape.com
eb2a2982e3 Fix mpi.h so that it compiles when MP_NO_MP_WORD is defined on the command
line (or prior to including mpi.h).
2000-08-31 03:59:48 +00:00
nelsonb%netscape.com
1b6110f143 Add missing copyright notice. Doh! 2000-08-31 03:45:39 +00:00
nelsonb%netscape.com
9b2c335e20 Some cleanup. Check error codes for all functions that return them. 2000-08-31 02:52:23 +00:00
nelsonb%netscape.com
8b0c1dcf1e Big changes for performance. mp_digits are now always unsigned ints.
mp_words are used only on machines that support long long arithmetic.
s_mp_mod_d() was deleted.  It was not being used and was not part of the
public API. The code that computes squares in s_mp_sqr was broken out
into a separate new function s_mpv_sqr_add_prop(), which is a target for
assembly language optimization.  New function s_mpv_div_2dx1d(), also a
target for assembly optimization.  These changes made X86 benchmark time
go from 22.5 seconds to 8.3 seconds on my reference test system.
2000-08-31 02:51:23 +00:00
nelsonb%netscape.com
52652e08a5 Add support for Linux on X86 CPUs. Use assembler code on MIPS CPUs. 2000-08-31 02:43:56 +00:00
nelsonb%netscape.com
5e06b71329 Gnu assembler implementations of all s_mpv_ functions for Intel X86 CPUs. 2000-08-31 02:41:20 +00:00
nelsonb%netscape.com
118024af9e Add implementation of s_mpv_sqr_add_prop. 2000-08-31 02:40:32 +00:00
cotter%netscape.com
737eb34e8c Updated release notes for PSM 1.3. 2000-08-30 04:33:05 +00:00
mcgreer%netscape.com
0be7764833 added fingerprints to list of things dumped with cert, bug 45303 2000-08-30 01:07:12 +00:00
mcgreer%netscape.com
dffd0ca3c8 moved fingerprint handling to secutil.c, see bug 45303 2000-08-30 01:06:00 +00:00
ddrinan%netscape.com
3cd59d7d92 Move PSM data files into psmdata directory 2000-08-30 00:25:49 +00:00
javi%netscape.com
6039578b5a Clean up the password setting routines so that forming the URL only happens in one place. 2000-08-29 23:54:26 +00:00
nelsonb%netscape.com
41b3d16d17 Change mpi-test to check the return values from most functions-under-test
explicitly for errors.
2000-08-29 04:26:23 +00:00
javi%netscape.com
9902cfe19b Make the PSM project build on the tip now. 2000-08-28 22:30:33 +00:00
javi%netscape.com
3a78e35001 Remove debugging alert 2000-08-28 21:37:13 +00:00
javi%netscape.com
4309a2faab Whomp the MAC_SECURITY_BRANCH onto tip. 2000-08-28 21:13:06 +00:00
javi%netscape.com
61f1350845 Update version number in properties file for About Personal Security Manager. 2000-08-28 18:25:04 +00:00
javi%netscape.com
1b8bd1d112 Update Version String. 2000-08-28 18:18:04 +00:00
javi%netscape.com
5cb2de637d Update version number in psm.rc file. 2000-08-28 18:17:14 +00:00
nelsonb%netscape.com
bb088780f3 Initial Checkin. 2000-08-26 23:50:58 +00:00
javi%netscape.com
6b8d30070f Make PSM smart enough to only display S/MIME information when it's talking to
an agent that we know takes advantage of S/MIME reatures.
2000-08-25 22:37:34 +00:00
javi%netscape.com
090240080f When setting a new password, warn the user right away when they goof instead
of submitting the form and waiting for the PSM CGI to send back a response.
2000-08-24 01:19:29 +00:00
javi%netscape.com
7c044d7e11 When changing Passwords, if there are multiple tokens, then ask the
user to select the token first. Plus other fixes/ compiler warning cleanups.
2000-08-23 23:52:34 +00:00
cotter%netscape.com
7c333b26e1 Correx from John Myers & to fix bug 48065 (communicator-specific terms) 2000-08-23 18:47:23 +00:00
mcgreer%netscape.com
609c9bf7d4 don't zero input to random update (RNG_SystemInfoForRNG uses environment as input). Fix for bug 49898. 2000-08-23 18:11:47 +00:00
nelsonb%netscape.com
3431bd1245 Fix two uninitialized variables, found while porting to Linux. 2000-08-23 01:20:15 +00:00
nelsonb%netscape.com
7c623513e6 des.c wants _X86_ defined for intel CPUs.
coreconf does this for windows, but not for Linux, FreeBSD, etc.
2000-08-23 00:06:08 +00:00
thayes%netscape.com
c4e33fa30f Add SDR Context resource type. 2000-08-22 17:17:20 +00:00
nelsonb%netscape.com
f28d74b9ab Big changes for performance.
- In mpi-priv.h, declare new 3 argument versions of s_mp_add and s_mp_sub.
Also declare new set of s_mpv_ functions that operate on vectors (arrays)
of mp_digits instead of on mp_ints.  These functions are candidates for
implementation in assembler.
- In mpi.c reimplement mp_add and mp_sub using the new 3arg functions.
Implement 3 argument versions of s_mp_add and s_mp_sub.
This eliminates all need for temporary variables in mp_add and mp_sub.
Implement c language reference implementations of new s_mpv vector multiply
and multiply and add functions.  Change mp_mul and mp_sqr so they no longer
pre-zero the output variable.  It's no longer nececssary with the new s_mpv
functions.  s_mp_pad no longer zeros out the new padded space.
-In mpmontg.c, implement variable width exponetiation windows.  Implement
a new function to compute the multiply and Montgomery reduction in a
single pass.  This is "Improvement 2" from Dusse' and Kaliski's paper
"A Cryptographic Library for the Motorola DSP56000".  Performance impact
is negligible in this c implementation.  However, this function is another
target for assembly language optimization.
2000-08-22 01:57:34 +00:00
nelsonb%netscape.com
a61f1b73ab Overhaul Makefile. Change it to use gmake's "static pattern rules",
instead of having explicit individual rules for every program. Also,
build .o files for programs, and link them in a separate step. This
speeds building after changing a .c file in the library.
2000-08-22 01:45:25 +00:00
nelsonb%netscape.com
4cf2feb015 Get these tests to build with the current mpi API. 2000-08-22 01:19:26 +00:00
thayes%netscape.com
4b809a5c35 Add SDR Context resource to hold information during processing of
SDR encrypt, decrypt and change password commands.  These changes
enable use of the context field of the SDR messages by clients.
2000-08-22 01:16:42 +00:00
nelsonb%netscape.com
67da52ab59 Go back to using gmake. 2000-08-22 01:15:41 +00:00
nelsonb%netscape.com
ddb4786c4a MIPS assembler code to optimize inner multiply loops for mips3 CPUs. 2000-08-22 00:55:10 +00:00