Commit Graph

215 Commits

Author SHA1 Message Date
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