[EMAIL PROTECTED] wrote:
I've followed the build instructions on checkout and building NSS
(after giving up on getting it to build the cmd utils inside my main
mozilla tree). It also compiles fine, but I cannot seem to actually run
the cmd utils.

I've included the MS redist files, and try to run rsaperf from the lib
directory:
[EMAIL PROTECTED] /cygdrive/c/nss/mozilla/dist/WINNT5.1_DBG.OBJ/lib
$ ../bin/rsaperf.exe

Which only results in:
"The application failed to initialize properly (0xc0000022). Click on
OK to terminate the application."

My env. is (cygwin) Windows XP, and I'm usually a Linux guy, so it
might be quite simple :)

I don't know what's wrong.  When I tried to duplicate your bug,
I got the following expected error message:

sh-3.00$ pwd
/cygdrive/c/nss-3.11-branch-basic-ecc/mozilla/dist/WIN954.0_OPT.OBJ/lib
sh-3.00$ ../bin/rsaperf.exe
Usage: rsaperf.exe [-s | -e] [-i iterations | -p period] [-t threads]
[-n none [-k keylength] [ [-g] -x exponent] |
 -n token:nickname [-d certdir] [-w password] |
 -h token [-d certdir] [-w password] [-g] [-k keylength] [-x exponent] ]
-d certdir           Cert database directory (default is ~/.netscape)
-i iterations        How many operations to perform
-p period            How many seconds to run
-s                   Perform signing (private key) operations
-e                   Perform encryption (public key) operations
-n nickname Nickname of certificate or key, prefixed by optional token
name
-h token             PKCS#11 token to perform operation with.
-k keylength         key size in bits, from 512 to 65536
-w password          token password
-g                   temporary key generation. Not for token keys.
-x                   set public exponent for keygen
-t threads           Number of execution threads (default 1)
sh-3.00$

Wan-Teh

_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to