RE: Generating an ECDSA signature

2006-07-11 Thread Alfred Thomas
Nils Larsch Sent: 10 July 2006 07:51 PM To: openssl-users@openssl.org Subject: Re: Generating an ECDSA signature Alfred Thomas wrote: >>> did you try d2i_PUBKEY() ? In this functions doesn't work it would >>> be > interesting to know what format the public key has. >

Re: Generating an ECDSA signature

2006-07-10 Thread Nils Larsch
Alfred Thomas wrote: did you try d2i_PUBKEY() ? In this functions doesn't work it would be interesting to know what format the public key has. Not yet, I will have a look at it now. I actually need an EC_KEY and d2i_PUBKEY() returns an EVP_PKEY, how can I get the EC_KEY needed? EVP_PKEY_get1

RE: Generating an ECDSA signature

2006-07-10 Thread Alfred Thomas
>>did you try d2i_PUBKEY() ? In this functions doesn't work it would be interesting to know what format the public key has. Not yet, I will have a look at it now. I actually need an EC_KEY and d2i_PUBKEY() returns an EVP_PKEY, how can I get the EC_KEY needed? Thanks Alfred ___

Re: Generating an ECDSA signature

2006-07-10 Thread Nils Larsch
Alfred Thomas wrote: Hi Nils Sorry, I am still very new to OpenSSL, thanks for your quick response. I found the definition in obj_mac.h thanks, and I got the application to sign and verify the data. I am using low-level ECDSA_sign. We receive the public key as a binary file (not in a PKCS12 or P

RE: Generating an ECDSA signature

2006-07-10 Thread Alfred Thomas
Hi Nils Sorry, I am still very new to OpenSSL, thanks for your quick response. I found the definition in obj_mac.h thanks, and I got the application to sign and verify the data. I am using low-level ECDSA_sign. We receive the public key as a binary file (not in a PKCS12 or PEM file), just the actu

Re: Generating an ECDSA signature

2006-07-10 Thread Nils Larsch
Alfred Thomas wrote: Can anyone please help me to generate a ECDSA signature and verify it. I am using openssl 0.9.8b which I compiled for Windows CE and I am using embedded Visual C++. The problem is that I cannot find the definitions of NID_sect163r2 (Which is used in all the demos) anywhere.

Generating an ECDSA signature

2006-07-09 Thread Alfred Thomas
Can anyone please help me to generate a ECDSA signature and verify it. I am using openssl 0.9.8b which I compiled for Windows CE and I am using embedded Visual C++. The problem is that I cannot find the definitions of NID_sect163r2 (Which is used in all the demos) anywhere. Also the example code of