PKCS12_parse Issue?

2008-07-10 Thread Christopher Ivory
Hello all, I'm trying to run a loop to parse the same p12 multple times to take some metrics. However, after the loop completes twice succesfully, PKCS12_parse fails. Any suggestions as to why this is happening? -Chris while(count > 0){ /* Parse the PKCS #1

Configuring Signing through the PKCS#11

2008-07-16 Thread Christopher Ivory
Hello, I'm currently trying to configure some pre-existing code using EVP signing to offload work to the PKCS #11 engine on an OpenSPARC T2. Since I'm new to this, I tried initializing the PKCS11 engine two different ways which can be triggered by command line argument. By default, the program wil

Determing if the OpenSSL PKCS11 Patch is installed.

2008-07-16 Thread Christopher Ivory
I read on a website (http://developer.mozilla.org/en/docs/NSS_FAQ) that OpenSSL does not support the PKCS #11 chip by default. I'm aware there is a patch for this, but I'm not sure if it's already installed. I'm currently working on an OpenSPARC. By typing "openssl version -a" in the terminal, I re

Re: Disabling the PKCS #11 on Solaris 10

2008-07-22 Thread Christopher Ivory
Jan, Thanks for the information! How can I explicitly initialize the PKCS11 engine when writing in C? I've looked at examples, but I think I'm missing a step because when I verify or sign using OpenSSL, I'm seeing no improvement in performance. -Chris On Tue, Jul 22, 2008 at 8:38 AM, Jan Pechane

Re: Disabling the PKCS #11 on Solaris 10

2008-07-22 Thread Christopher Ivory
d the PKCS11 and I'm trying to pick up on a project where someone else left off. -Chris On Tue, Jul 22, 2008 at 9:26 AM, Jan Pechanec <[EMAIL PROTECTED]> wrote: > On Tue, 22 Jul 2008, Christopher Ivory wrote: > > >Jan, > > > >Thanks for the information! How can I exp

Re: Disabling the PKCS #11 on Solaris 10

2008-07-22 Thread Christopher Ivory
e 16 bytes 64 bytes256 bytes 1024 bytes 8192 bytes sha1 408.02k 1508.91k 5448.41k15804.53k 34058.17k This leads me to believe that while the pkcs11 might not improve the performance of SHA-1. Would this be a fair assessment, or am I missing someth

Re: Disabling the PKCS #11 on Solaris 10

2008-07-22 Thread Christopher Ivory
I see what you mean, however, when I get the processor info with the command "uname -a" it returns: SunOS t5200tx 5.10 Generic_120011-14 sun4v sparc SUNW,SPARC-Enterprise-T5220 I was working under the impression that this is a T2. Was I misinformed? -Chris PS - Thanks for your conitnued help

Re: Disabling the PKCS #11 on Solaris 10

2008-07-22 Thread Christopher Ivory
,CKM_SHA_1_HMAC,CKM_SHA256_HMAC,CKM_MD5_HMAC_GENERAL,CKM_SHA_1_HMAC_GENERAL,CKM_SHA256_HMAC_GENERAL,CKM_SSL3_MD5_MAC,CKM_SSL3_SHA1_MAC ncp/0: CKM_DSA,CKM_RSA_X_509,CKM_RSA_PKCS n2rng/0: No mechanisms presented. On Tue, Jul 22, 2008 at 2:44 PM, Christopher Ivory <[EMAIL PROTECTED]> wrote: > I see