Re: Need help in loading private key for ECDSA

2012-12-16 Thread jeetendra gangele
Yes i am talking about signature. ECDSA_SIG this ouptput structure will have r and s componet of 28 bytes each. So if I merge both r and s I will get 56 bytes right? These will not have any padding information?. Thanks jeet On 17 December 2012 13:04, Dave Thompson wrote: >> From: owner-openssl-

RE: Openssl default_ca values while using HSM - LunaCA3

2012-12-16 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Dr. Stephen Henson > Sent: Saturday, 15 December, 2012 12:48 > On Fri, Dec 14, 2012, simon charles wrote: > > > Which works but when using openssl ca routine - it is not > able to find / load the keys > > > > I can't see why ca shouldn't wor

RE: subject field issue in openssl certificate

2012-12-16 Thread Dave Thompson
>From: owner-openssl-us...@openssl.org On Behalf Of Indtiny s >Sent: Sunday, 16 December, 2012 11:04 This is not a -dev question. > I am using root certiciate which is there in DER format at client , >to verify the peer . >When I execute my cCURL clinet code I get the below error . >223: SSL

RE: Which ECC curve is being used?

2012-12-16 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Salz, Rich > Sent: Monday, 17 December, 2012 00:01 > >Can you be a bit more specific about what you mean by "being > used"? By default OpenSSL can use any built in ECC curve > though it can be limited in range by those of the peer. > To be mo

RE: Need help in loading private key for ECDSA

2012-12-16 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of jeetendra gangele > Sent: Sunday, 16 December, 2012 22:57 > Actaully I was trying to generate the signature of lenght 56 bytes but > its failing. > When I check the code it said lenght of the sig should not > lessa than 56. > can anybody help m

Re: Need help in loading private key for ECDSA

2012-12-16 Thread jeetendra gangele
Its generating 64 bytes when I print with ECDSA_size(eckey) But i neeed 56 bytes signature. On 17 December 2012 12:26, jeetendra gangele wrote: > Can anybody guide me how can I generate the digital signature of 56 > bytes for ecdsa. > I am using the curve NID_secp224r1. > Thanks > jeetendra > > O

Re: Need help in loading private key for ECDSA

2012-12-16 Thread jeetendra gangele
Can anybody guide me how can I generate the digital signature of 56 bytes for ecdsa. I am using the curve NID_secp224r1. Thanks jeetendra On 17 December 2012 09:26, jeetendra gangele wrote: > Actaully I was trying to generate the signature of lenght 56 bytes but > its failing. > When I check the

RE: Which ECC curve is being used?

2012-12-16 Thread Salz, Rich
>Can you be a bit more specific about what you mean by "being used"? By default >OpenSSL can use any built in ECC curve though it can be limited in range by >those of the peer. >Support for retrieving the curves used is very limited in released versions of >OpenSSL. This has been addressed in H

Re: Need help in loading private key for ECDSA

2012-12-16 Thread jeetendra gangele
Actaully I was trying to generate the signature of lenght 56 bytes but its failing. When I check the code it said lenght of the sig should not lessa than 56. can anybody help me how can I generate the signature of lenght 56 bytes?. On 14 December 2012 19:11, Matt Caswell (fr...@baggins.org) wrot

Re: Which ECC curve is being used?

2012-12-16 Thread Dr. Stephen Henson
On Tue, Dec 11, 2012, Salz, Rich wrote: > Can I determine which of the built-in ECC curves are being used, just by > looking at the SSL structure? Tnx. > Can you be a bit more specific about what you mean by "being used"? By default OpenSSL can use any built in ECC curve though it can be limit