javi%netscape.com
e7f5570974
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
a87ec1bdf4
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
1f5d8a6bf2
Correx from John Myers & to fix bug 48065 (communicator-specific terms)
2000-08-23 18:47:23 +00:00
mcgreer%netscape.com
3f9c77b63b
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
6317469a15
Fix two uninitialized variables, found while porting to Linux.
2000-08-23 01:20:15 +00:00
nelsonb%netscape.com
db39579596
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
1b3a5aff70
Add SDR Context resource type.
2000-08-22 17:17:20 +00:00
nelsonb%netscape.com
f9eed96546
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
a10342172b
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
f370516c1c
Get these tests to build with the current mpi API.
2000-08-22 01:19:26 +00:00
thayes%netscape.com
aaae60084b
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
6df1637718
Go back to using gmake.
2000-08-22 01:15:41 +00:00
nelsonb%netscape.com
d7f6307d29
MIPS assembler code to optimize inner multiply loops for mips3 CPUs.
2000-08-22 00:55:10 +00:00
mcgreer%netscape.com
067b21ba6c
initial checkin of DSA implementation.
2000-08-18 18:32:33 +00:00
javi%netscape.com
f75b7cd085
Remove some unnecessary access paths from the project file.
2000-08-16 00:56:53 +00:00
jgmyers%netscape.com
b91d9c3e31
remove 'no acceptable authetication' dialog box: bug 31737 r=javi a=lord
2000-08-15 21:23:49 +00:00
javi%netscape.com
cc55113907
Whomp the SECURITY_MAC_BRANCH onto the tip.
2000-08-15 21:10:38 +00:00
javi%netscape.com
aa5ea173d8
Whomp SECURITY_MAC_BRANCH onto tip
2000-08-15 21:09:21 +00:00
mcgreer%netscape.com
d6c0c14294
should be able to set negative offset during cert creation
2000-08-15 05:08:13 +00:00
mcgreer%netscape.com
218bfba6b7
wrong header
2000-08-14 22:50:36 +00:00
nelsonb%netscape.com
6444acbe78
Build des.c and desblapi.c.
2000-08-14 22:28:10 +00:00
nelsonb%netscape.com
45d78da27b
The Initial Developer of the Original Code is Nelson B. Bolyard,
...
nelsonb@iname.com . Portions created by Nelson B. Bolyard are
Copyright (C) 1990, 2000 Nelson B. Bolyard, All Rights Reserved.
2000-08-14 22:27:20 +00:00
mcgreer%netscape.com
b44879f059
*** empty log message ***
2000-08-14 22:04:22 +00:00
nelsonb%netscape.com
dfb6edc12e
"clean" target will also remove primes.c from mpi.
2000-08-14 21:04:46 +00:00
thayes%netscape.com
7a10a39672
Add Pragma: no-cache to PSM UI pages. This prevents caching by the client
...
and avoids bugs due to missing UI Events, and display of stale content.
2000-08-11 17:32:25 +00:00
nelsonb%netscape.com
3a653785bf
Add commented-out lines to build on other platforms.
...
Clean target now removes libmpi.a also.
2000-08-11 05:01:59 +00:00
nelsonb%netscape.com
75cb7c8b33
Change mp_add and mp_sub to not allocate a temporary variable unless it's
...
really necessary.
2000-08-11 01:58:20 +00:00
nelsonb%netscape.com
17b1c02a54
Replace s_mp_ispow2d with faster version. Change s_mp_mul_d to detect
...
multiplication by 0, 1, and powers of 2, and handle them without actual
multiplication.
2000-08-10 21:43:16 +00:00
nelsonb%netscape.com
67f59f37b5
Eliminate one more warning. Add missing f suffix to float constant.
2000-08-09 22:45:51 +00:00
wtc%netscape.com
f33005ff18
Bugzilla bug #48245 : removed the -mno-486 compiler flag.
...
Modified files: FreeBSD2.mk, Linux.mk
This bug was reported by Steven T. Hatton <hattons@bellatlantic.net>.
2000-08-09 21:53:45 +00:00
nelsonb%netscape.com
728d68e0a9
- Change mp_mul to minimize number of outer loops when multipliers are
...
of unequal length.
- Fix s_mp_fixup_reciprocal to not truncate the result.
- Use new macros in mpi-priv.h
2000-08-09 20:55:39 +00:00
nelsonb%netscape.com
4b3954b600
Use new MP_HOWMANY macro instead of equivalent code.
2000-08-09 20:53:25 +00:00
nelsonb%netscape.com
45d1021654
Comment out call to unimplemented function, so this will compile.
2000-08-09 20:46:59 +00:00
nelsonb%netscape.com
104c56ced4
Some unix platform kshells don't understand export VAR=value
...
So instead use VAR=value; export VAR
2000-08-09 20:44:05 +00:00
nelsonb%netscape.com
fb54aa2a50
Add new macros: MP_MIN, MP_MAX, MP_HOWMANY, MP_ROUNDUP.
2000-08-09 20:42:18 +00:00
javi%netscape.com
77b646a4b1
Don't call the callback function if one is not stored.
2000-08-09 17:17:42 +00:00
javi%netscape.com
7835a5b57b
Implement the poll loop on UNIX for the PKCS7 Decoder when finishing up
...
just in case PSM is a little slow to shove data back at us.
2000-08-08 23:08:53 +00:00
nelsonb%netscape.com
64644f1887
Emulate an SSL3 client more closely after a server negotiates down to 3.0.
2000-08-08 22:54:02 +00:00
ddrinan%netscape.com
cc218bb8b8
Disable to TLS because some servers do not implement version rollback correctly
2000-08-08 21:10:20 +00:00
mcgreer%netscape.com
032f21bf04
zero the correct amount of input bytes
2000-08-08 20:30:56 +00:00
nelsonb%netscape.com
5484848ae6
Fix crash caused by zeroing a larger buffer than the caller passed in.
2000-08-08 05:56:56 +00:00
nelsonb%netscape.com
a8bf3b39c9
Fix crash caused by uninitialized variable.
2000-08-08 05:56:10 +00:00
nelsonb%netscape.com
d717bf096e
- Change mpi private function s_mp_mul_d_add_offset into a macro.
...
- Declare and implement new function s_mp_mul_add, which is a candidate
for replacement with assembler code.
- Convert mp_mul, mp_sqr, etc. to use s_mp_mul_add.
- New implementation of mp_invmod for odd moduli. Algorithm from paper
"Fast Modular Reciprocals" by Richard Schroeppel (a.k.a. Captain Nemo).
- New function s_mp_invmod_32b in mpi.c, computes inverse mod 2**32, also
from same paper. Used in mp_invmod and mp_exptmod.
2000-08-08 03:20:35 +00:00
javi%netscape.com
d509b04f21
A fix for Windows where the client stops trying to read decrypted data back from the client before it's ready.
2000-08-08 01:26:44 +00:00
nelsonb%netscape.com
1b1b9cfa3f
Platform independent performance enhancements to functions that multiply,
...
square, subtract, right shift, compare, mul_d_add_offset. This lib's
Modular Exponentiation performance now compares favorably with most (not
all) other open source bignum libs on IRIX/R5000. No assembler code is
presently being used. Comparison on other platforms will now commence.
2000-08-05 03:37:46 +00:00
nelsonb%netscape.com
61977478c2
Minor performance tweaks.
2000-08-04 19:58:20 +00:00
nelsonb%netscape.com
c533835e1c
Add new signed mp_word type, mp_sword. Used to get arithmetic right
...
shifts when doing subtraction.
2000-08-04 19:57:24 +00:00
cotter%netscape.com
07489d18a4
Corrected date at top.
2000-08-03 17:24:43 +00:00
cotter%netscape.com
b337875fc9
Updated platforms supported (deleted Solaris 2.5.1).
2000-08-03 17:23:45 +00:00
nelsonb%netscape.com
adc6ebc930
mpl_rsh now calls s_mp_div_2d instead of duplicating its logic.
...
mpl_lsh now calls s_mp_mul_2d instead of duplicating its logic.
2000-08-02 20:52:17 +00:00