Re: RSA_private_decrypt function takes longer time.

2013-01-11 Thread Florian Weimer
On 01/10/2013 04:12 PM, Tayade, Nilesh wrote: True. But HSM claims performance, correctness and security. HSM is an overloaded term, used for accelerators and containers alike. (Common tamper-evident cryptographic modules have very low signing throughput.) -- Florian Weimer / Red Hat

RE: RSA_private_decrypt function takes longer time.

2013-01-10 Thread Tayade, Nilesh
-Original Message- From: owner-openssl-us...@openssl.org [mailto:owner-openssl- us...@openssl.org] On Behalf Of Jakob Bohm Sent: Friday, December 21, 2012 8:23 PM To: openssl-users@openssl.org Subject: Re: RSA_private_decrypt function takes longer time. On 12/21/2012 1:13 PM

Re: RSA_private_decrypt function takes longer time.

2013-01-10 Thread Jeffrey Walton
: Re: RSA_private_decrypt function takes longer time. On 12/21/2012 1:13 PM, Tayade, Nilesh wrote: I am using the RSA_private_decrypt() function in one of the custom applications, where we expect the premaster to get decrypted faster. [...] SNIP Coming back to this. I dumped the PEM key

Re: RSA_private_decrypt function takes longer time.

2013-01-10 Thread Jakob Bohm
On 1/10/2013 12:13 PM, Tayade, Nilesh wrote: -Original Message- From: owner-openssl-us...@openssl.org [mailto:owner-openssl- us...@openssl.org] On Behalf Of Jakob Bohm Sent: Friday, December 21, 2012 8:23 PM To: openssl-users@openssl.org Subject: Re: RSA_private_decrypt function takes

RE: RSA_private_decrypt function takes longer time.

2013-01-10 Thread Tayade, Nilesh
-Original Message- From: owner-openssl-us...@openssl.org [mailto:owner-openssl- us...@openssl.org] On Behalf Of Jakob Bohm Sent: Thursday, January 10, 2013 6:56 PM To: openssl-users@openssl.org Subject: Re: RSA_private_decrypt function takes longer time. [...] Coming back

Re: RSA_private_decrypt function takes longer time.

2013-01-10 Thread Jeffrey Walton
: Re: RSA_private_decrypt function takes longer time. [...] Coming back to this. I dumped the PEM key in text format, and it shows n, d, dQ, dP, qInv, p and q. Does that mean my private key is not just a 'd-only' key? That means you have a key with all the extra numbers for Chinese

RE: RSA_private_decrypt function takes longer time.

2013-01-10 Thread Tayade, Nilesh
-Original Message- From: owner-openssl-us...@openssl.org [mailto:owner-openssl- us...@openssl.org] On Behalf Of Jeffrey Walton Sent: Thursday, January 10, 2013 7:54 PM To: openssl-users@openssl.org Subject: Re: RSA_private_decrypt function takes longer time. [...] So I feel like

RE: RSA_private_decrypt function takes longer time.

2013-01-10 Thread Salz, Rich
True. But HSM claims performance, correctness and security. Jeffrey's point is that you need whole-system security, not just faster crypto. (And your original note didn't say HSM, but implied just an accelerator card.) For example, how do you make sure that only authentic and authorized

RE: RSA_private_decrypt function takes longer time.

2012-12-23 Thread Tayade, Nilesh
-Original Message- From: owner-openssl-us...@openssl.org [mailto:owner-openssl- us...@openssl.org] On Behalf Of Jakob Bohm Sent: Friday, December 21, 2012 8:23 PM To: openssl-users@openssl.org Subject: Re: RSA_private_decrypt function takes longer time. On 12/21/2012 1:13 PM

Re: RSA_private_decrypt function takes longer time.

2012-12-23 Thread Jeffrey Walton
: Re: RSA_private_decrypt function takes longer time. On 12/21/2012 1:13 PM, Tayade, Nilesh wrote: SNIP Is the conversion supported by openssl utility (e.g. the way we convert .PEM to PKCS8 format openssl pkcs8 -topk8 -in PEM file -out PKCS8 format file)? Does openssl support PEM to CRT

Re: RSA_private_decrypt function takes longer time.

2012-12-23 Thread Jeffrey Walton
Subject: Re: RSA_private_decrypt function takes longer time. [...] On 12/21/2012 1:13 PM, Tayade, Nilesh wrote: SNIP Is the conversion supported by openssl utility (e.g. the way we convert .PEM to PKCS8 format openssl pkcs8 -topk8 -in PEM file -out PKCS8 format file)? Does openssl support

RSA_private_decrypt function takes longer time.

2012-12-21 Thread Tayade, Nilesh
Hi, I am using the RSA_private_decrypt() function in one of the custom applications, where we expect the premaster to get decrypted faster. I tried looking at the time consumed by RSA_private_decrypt and loops involved in pseudo-random function to compute key. It is seen that

Re: RSA_private_decrypt function takes longer time.

2012-12-21 Thread Florian Weimer
On 12/21/2012 01:13 PM, Tayade, Nilesh wrote: I am using the RSA_private_decrypt() function in one of the custom applications, where we expect the premaster to get decrypted faster. I tried looking at the time consumed by RSA_private_decrypt and loops involved in pseudo-random function to

RE: RSA_private_decrypt function takes longer time.

2012-12-21 Thread Tayade, Nilesh
-Original Message- From: Florian Weimer [mailto:fwei...@redhat.com] Sent: Friday, December 21, 2012 5:58 PM To: openssl-users@openssl.org Cc: Tayade, Nilesh Subject: Re: RSA_private_decrypt function takes longer time. On 12/21/2012 01:13 PM, Tayade, Nilesh wrote: I am using

Re: RSA_private_decrypt function takes longer time.

2012-12-21 Thread Jakob Bohm
On 12/21/2012 1:13 PM, Tayade, Nilesh wrote: Hi, I am using the RSA_private_decrypt() function in one of the custom applications, where we expect the premaster to get decrypted faster. I tried looking at the time consumed by RSA_private_decrypt and loops involved in pseudo-random function to