AES_cbc_encrypt - core dump in decryption.

2014-03-16 Thread Tayade, Nilesh
= 0xd464b404 }, The rounds value appears to be bigger. Could someone please advise if the rounds value could be this big or this is again something junk? I am still trying to understand the AES algo. Any quick help will be appreciated. -- Thanks, Nilesh

Re: Deadlock in openssl1.0.1e.

2014-01-15 Thread Tayade, Nilesh
Yes. The issue is fairly reproducible and takes not more than 10-15mins to occur. -- Thanks, Nilesh Sent via CanvasHD "Dr. Stephen Henson" wrote: On Wed, Jan 15, 2014, Tayade, Nilesh wrote: > > Thanks. I have already captured the lock details in an array. Please see >

RE: Deadlock in openssl1.0.1e.

2014-01-15 Thread Tayade, Nilesh
ed, Jan 15, 2014, Tayade, Nilesh wrote: > > > > > > > Thanks for your suggestions. I did try capturing the debug information and > below is how the state of the locks is. The array per lock stores information > of > the owner, file and lock_present i.e. lock is held

RE: Deadlock in openssl1.0.1e.

2014-01-15 Thread Tayade, Nilesh
ue, Jan 14, 2014, Tayade, Nilesh wrote: > > > Hi, > > > > I am not able to understand what???s going wrong, below is the latest > stack trace I got. Thread 19 is killed by a watchdog, and it was waiting on a > lock. > > Other threads do not show any lock being held.

RE: Deadlock in openssl1.0.1e.

2014-01-14 Thread Tayade, Nilesh
/syscall-template.S:82 #1 0x00373da08f0b in __pthread_mutex_lock_full (mutex=0x7418438) at pthread_mutex_lock.c:316 #2 0x009f3591 in locking_function (mode=9, n=19, file=0x3c79bdf93b , line=387) at ssl_prf.c:665 #3 0x003c79b49403 in ?? () -- Thanks, Nilesh From: owner-openssl-us

Deadlock in openssl1.0.1e.

2014-01-10 Thread Tayade, Nilesh
te () from /usr/lib64/libcrypto.so.10 No symbol table info available. #9  0x003c79b07e56 in BN_BLINDING_convert_ex () from /usr/lib64/libcrypto.so.10 No symbol table info available. -- Thanks, Nilesh Sent via CanvasHD

Measuring the performance of AES-256-CBC decryption.

2013-09-05 Thread Tayade, Nilesh
phrer() API - is it not a valid way to calculate the performance numbers? -- Thanks, Nilesh __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Aut

RE: [openssl-users] Extra bytes before the decrypted data.

2013-03-08 Thread Tayade, Nilesh
> -Original Message- > From: Erwann Abalea [mailto:erwann.aba...@keynectis.com] > Sent: Friday, March 08, 2013 9:44 PM > To: openssl-users@openssl.org > Cc: Tayade, Nilesh > Subject: Re: [openssl-users] Extra bytes before the decrypted data. > > It's probab

Extra bytes before the decrypted data.

2013-03-08 Thread Tayade, Nilesh
n, so I am using the low level aes_cbc_encrypt() function. Any pointers will be appreciated. -- Thanks, Nilesh __ OpenSSL Project http://www.openssl.org User Support Mailing Listope

Identifying length of decrypted data.

2013-02-28 Thread Tayade, Nilesh
then encrypt it). Any advice on this will be appreciated. -- Thanks, Nilesh __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated

RE: RSA_private_decrypt function takes longer time.

2013-01-10 Thread Tayade, Nilesh
tness and security. How about trying any of these PCI based cards? > If it does not need to be correct, I can make it as fast as you'd > like. We'll start by only allowing eNull and aNull :) > > Jeff -- Thanks, Nilesh

RE: RSA_private_decrypt function takes longer time.

2013-01-10 Thread Tayade, Nilesh
Q, dP, > qIn, p, q) is your "all-the-details-already-there" private key. > > So this is good, if you have a safe place to store all those numbers. Appreciate the explanation. Thanks. So I feel like I should try some h

RE: RSA_private_decrypt function takes longer time.

2013-01-10 Thread Tayade, Nilesh
> 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. [...] > The explanation is simple: > > The cost of an RSA ope

Hardware solution for asymmetric decryption.

2013-01-04 Thread Tayade, Nilesh
. Could someone share any experience on any other products? Any pointers if Intel provides any RSA APIs which are optimized for Intel CPUs? -- Thanks, Nilesh __ OpenSSL Project http://www.openssl.org User

About the OpenSSL benchmark statistics.

2012-12-23 Thread Tayade, Nilesh
. -- Thanks, Nilesh __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager majord...@openssl.org

RE: RSA_private_decrypt function takes longer time.

2012-12-23 Thread Tayade, Nilesh
> 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. [...] > The explanation is simple: > > The cost of an RSA ope

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

RSA_private_decrypt function takes longer time.

2012-12-21 Thread Tayade, Nilesh
RSA_private_decrypt is taking almost 64 mili-seconds to decrypt the premaster secret. Did someone observe this? Is there some way I can enhance the performance (like cache some parameters etc.)? My machine is: Intel(R) Xeon(R) CPU E5440 @ 2.83GH with Linux-2.6.22. -- Thanks, Nilesh

Question related to TLS1.2 key computation function - PRF.

2012-12-10 Thread Tayade, Nilesh
amp;context); Could someone please advice how is HMAC-SHA256 implemented? -- Thanks, Nilesh __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users

RE: About the encrypted premaster length.

2012-08-22 Thread Tayade, Nilesh
> From: owner-openssl-us...@openssl.org On Behalf Of Tayade, Nilesh > > Sent: Wednesday, 22 August, 2012 16:13 > [...] > Only for RSA key-exchange (which is the most commonly used). > For DH* and ECDH* suites ClientKeyExchange is quite different. > (Not to mention Kerberos

About the encrypted premaster length.

2012-08-22 Thread Tayade, Nilesh
ok for the encrypted premaster length. -- Thanks, Nilesh __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Au

OpenSSL in multithreaded environment.

2012-08-08 Thread Tayade, Nilesh
to on Linux in recent OpenSSL versions? If this is the case, how do we confirm if libcrypto is compiled with multithreading support? Machine details: x86_64 with Linux-2.6.39 and OpenSSL-1.0.0g. -- Thanks, Nilesh __ OpenSSL Pr

Query related to RSAPrivateKey_dup function.

2012-08-07 Thread Tayade, Nilesh
Hi, Could someone please confirm if RSAPrivateKey_dup() function allocates a new rsa structure instance while duplicating the existing one? This is just to ensure I free the pointer if it this function allocates it. -- Thanks, Nilesh

RE: Padding check failed and program crash with SIGABRT.

2012-07-29 Thread Tayade, Nilesh
gt; > On Sat, Jul 28, 2012 at 6:12 PM, Tayade, Nilesh > wrote: > > Hi, [...] > > > > I see that the error it is trying to give is related to Padding check > failure. > > 1. How to decide the padding? By default I keep it to > RSA_PKCS1_PADDING always in RSA_p

RE: OpenSSL 1.0.0g-fips download link.

2012-07-28 Thread Tayade, Nilesh
gt; On Sat, Jul 28, 2012, Tayade, Nilesh wrote: > > > Hi, > > > > Could someone please point me to the link where I can download > "OpenSSL-1.0.0g-fips"? > > On http://www.openssl.org/source/, I see only OpenSSL-1.0.0g. To get > '-fips' do I need to a

OpenSSL 1.0.0g-fips download link.

2012-07-28 Thread Tayade, Nilesh
Hi, Could someone please point me to the link where I can download "OpenSSL-1.0.0g-fips"? On http://www.openssl.org/source/, I see only OpenSSL-1.0.0g. To get '-fips' do I need to apply any patch? -- Thanks, Nilesh __

Core dump in RSA_check_key

2012-06-20 Thread Tayade, Nilesh
Hi, I am seeing a core dump in RSA_check_key() function. The backtrace is as below. I am unable to understand what is causing the issue. The core dump is intermittent (not always reproduced). Could someone please provide any pointers if I am missing any check? -- Thanks, Nilesh P.S. The code

Information regarding export type of cipher suites.

2012-05-09 Thread nilesh
? -- Thanks, Nilesh __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager majord...@openssl.org

Segfault inside bn_lib.c.

2012-02-09 Thread nilesh
his is my function. Could someone please confirm if this is a known issue? -- Thanks, Nilesh __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-us

Design of pseudo-random function for TLS1.0.

2012-01-18 Thread nilesh
code attached and point out any obvious mistake, if present? P.S. Please ignore any missing error handling in code, I am still trying to get code working. And still trying to debug it. -- Thanks, Nilesh #include #include #include #include #include #include #include #include #include

Re: About compression in SSL.

2012-01-17 Thread nilesh
11:27 AM, nilesh wrote: [...] > > Could someone please explain if compression operation is configurable > > option on Server? Is it not always present? > > > 1. I think OpenSSL implements this feature, but I don't know > how a server and client might request i

Re: About compression in SSL.

2012-01-17 Thread nilesh
On Tuesday 17 January 2012 04:13 PM, Jakob Bohm wrote: On 1/17/2012 11:27 AM, nilesh wrote: Hi, As per the RFC2246, the data might be compressed and then encrypted. And the decryption function does the reverse operations. But when I setup server to capture SSL3.0 and TLS1.0 traces, I have

About compression in SSL.

2012-01-17 Thread nilesh
. Could someone please explain if compression operation is configurable option on Server? Is it not always present? -- Thanks, Nilesh __ OpenSSL Project http://www.openssl.org User Support Mailing List

Re: About RC4 decryption.

2011-11-02 Thread nilesh
&outbuf[0], 0, sizeof(outbuf)); RC4(&sch, 399, inbuf, outbuf); -- Thanks, Nilesh __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org A

About openssl versions mismatch - aes256 decryption.

2011-11-02 Thread nilesh
". Could someone please comment why this happens? Shouldn't the recent version be compatible with older ones? -- Thanks, Nilesh #include #include #include #include #include #include #include void sec_hash_48(unsigned char * out, unsigned char * in, unsigned char * salt1, unsign

Re: About RC4 decryption.

2011-11-01 Thread nilesh
, how to set the rc4 key. In your example the key is some random value and XOR'ed twice to get decrypted data. In my case I have derived the key material, but the decryption is failing. -- Thanks, Nilesh __ OpenSSL Pr

RE: About RC4 decryption.

2011-11-01 Thread Tayade, Nilesh
> -Original Message- > From: owner-openssl-us...@openssl.org [mailto:owner-openssl- > us...@openssl.org] On Behalf Of re.est > Sent: Tuesday, November 01, 2011 7:52 PM > To: openssl-users@openssl.org > Subject: Re: About RC4 decryption. > > On 11/01/201

Re: About RC4 decryption.

2011-11-01 Thread nilesh
On Tuesday 01 November 2011 04:18 PM, nilesh wrote: Hi, I am a newbie in the cryptography area and learning by writing some test code. I have setup the apache server and capturing packets using wireshark. I have a query specific to RC4. With the given server private key, I am able to generate

About RC4 decryption.

2011-11-01 Thread nilesh
] - client MAC key_block[16..31] - server MAC key_block[32..48] - client Write key key_block[49..64] - server Write key Please see the test code attached (please pardon the code formatting). -- Thanks, Nilesh #include #include #include #include #include #include void sec_hash_48(unsigned char * out

Re: Query related to decryption of the DHE https packets.

2011-10-13 Thread nilesh
On Friday 14 October 2011 07:36 AM, Dave Thompson wrote: From: owner-openssl-us...@openssl.org On Behalf Of nilesh Sent: Thursday, 13 October, 2011 09:17 [...] But is there any chance for us to know these values (or atleast one of these values Xa or Xb)? If I host the apache server (for https

Query related to decryption of the DHE https packets.

2011-10-13 Thread nilesh
values (or atleast one of these values Xa or Xb)? If I host the apache server (for https) on my machine, is there a specific location where these values are stored or logged (at least till the time it completes the key calculation)? Appreciate any advice. -- Thanks, Nilesh

RE: Regarding cipher suites in SSLv3.

2011-10-12 Thread Tayade, Nilesh
> From: owner-openssl-us...@openssl.org [mailto:owner-openssl- > us...@openssl.org] On Behalf Of Richard Könning > Sent: Wednesday, October 12, 2011 7:20 PM > To: openssl-users@openssl.org > Subject: Re: Regarding cipher suites in SSLv3. > > Am 12.10.2011 15:29, schrieb nile

Regarding cipher suites in SSLv3.

2011-10-12 Thread nilesh
non_WITH_3DES_EDE_CBC_SHA TLS_KRB5_WITH_3DES_EDE_CBC_SHA TLS_KRB5_WITH_RC4_128_SHA TLS_KRB5_WITH_3DES_EDE_CBC_MD5 TLS_KRB5_WITH_RC4_128_MD5 TLS_KRB5_EXPORT_WITH_RC4_40_SHA TLS_KRB5_EXPORT_WITH_RC4_40_MD5 -- Thanks, Nilesh _

Re: SSL/TLS - Error while trying to decrypt the premaster secret.

2011-10-11 Thread nilesh
On Wednesday 12 October 2011 02:44 AM, Dave Thompson wrote: From: owner-openssl-us...@openssl.org On Behalf Of nilesh Sent: Monday, 10 October, 2011 07:35 I have an issue related to RSA decryption while using https. I have setup a dummy https server and captured packets on wireshark. If you

RE: Link error

2011-10-11 Thread Tayade, Nilesh
#x27;? Like: -L/home/human/Downloads/openssl-1.0.0e -lssl -lcrypto -ldl. [...] > > Best Regards, > > -G -- Thanks, Nilesh __ OpenSSL Project http://www.openssl.org User Support Ma

SSL/TLS - Error while trying to decrypt the premaster secret.

2011-10-10 Thread nilesh
his query belongs to this list. Please redirect me to correct list, if so. -- Thanks, Nilesh #include #include #include #include #include #include #include #include #include "digest.h" #include unsigned char to_decrypt_key[1024] = "\x00\x80\xb1\x75\xe4\xa5\x0d\xf0\xd6\

Query regarding OpenSSL 0.9.8

2011-07-17 Thread Kumar, Nilesh
Hi, I have few queries regarding OpenSSl 0.9.8 : 1. Does it have 64-bit support? If not, which version(s) support 64-bit arch? 2. RHEL version(s) supported 3. GCC version(s) supported Thanks and regards, Nilesh

Query regarding OpenSSL 1.0.0d

2011-07-14 Thread Kumar, Nilesh
Hi, I have a few queries regarding OpenSSL 1.0.0d 1. RHEL version(s) supported 2. GCC version(s) supported 3. Is there 64-bit support? Thanks and Regards, Nilesh -- This message w/attachments

Re: Call for testing - FIPS object module

2011-07-08 Thread Nilesh Vaghela
Hi, We are interested in testing FIPS + DTLS. Can we test DTLS + FIPS ? --Nilesh. Stratacache Inc.(Santa Clara Office) Systems Architect O: 408-844-9810(2110) M: 408-202-5401 - Original Message - From: "Steve Marquess" To: openssl-...@openssl.org, openssl-users@o

Re: US Export Compliance

2004-10-29 Thread OpenSSL Nilesh
Thank for the reply.   I did not mean to get legal advice from a maling list but wanted to know general idea as to normally US companies who export their products  "do they need to configure openssl specially so that it uses only EXPORT ciphers" ?   --Nilesh.Rich Salz <[EMAIL PROTECTED]> wrote: >

US Export Compliance

2004-10-29 Thread OpenSSL Nilesh
outside US we have to be compatible with encrytion key length requirement which I think is 56 bit maximum.   We do NOT modify OpenSSL library we just use API library call.   What are we supposed to do in order to make our product US Export compliant ?   --Nilesh. Do you Yahoo!? Yahoo! Mail Address

US Export Compliance

2004-10-29 Thread OpenSSL Nilesh
length requirement which I think is 56 bit maximum.   We do modify OpenSSL library we just use API library call.   What are we supposed to do in order to make our product US Export compliant ?   --Nilesh.__Do You Yahoo!?Tired of spam? Yahoo! Mail has the

Urgent help needed for installing openssl-0.9.6b on RHL 7.1

2002-04-18 Thread Nilesh Barot
Hello Gurus , I'm facing one typical problem while configuring openssl-0.9.6b on RedHat linux 7.1 , kernel 2.4.2-2. I have successfully configured and installed openssl-0.9.6b, mod_ssl-2.8.7-1.1.3.23 and Apache_1.3.23 on Redhat linux 7.2 , kernel 2.4.7-10. It is also working properly. This

Hi

2001-12-04 Thread Nilesh Malpekar
How are you ? When I saw this screen saver, I immediately thought about you I am in a harry, I promise you will love it! <>

CRT format certificate

2001-07-19 Thread Nilesh Vaghela
Hi, I went to VeriSign site to get a trial certificate. They gave me .crt certificate file. When I use that file as an input to the function SSL_CTX_use_certificate_file What type should I give as a third parameter. I gave SSL_FILETYPE_PEM. But it does not work. Any hints... -- nilesh

SSLv2 vs SSLv3

2001-07-16 Thread Nilesh Vaghela
t; NOw If I change the statement to ctx = SSL_CTX_new(SSLv2_server_method()); It only works for SSLv2 requests...... Could anybody tell me what am I missing -- Nilesh __ Do You Yahoo!? Get personalized ema