Thank you four your answer. Indeed, I'm doing a client's interface for Radius Peap and I'm having problems with key_eccxhange. I know I have to define the protocol version (3.1) generate a random number of 46 bytes and public_key_encrypt all this stuff. The problem is as I send this packet to server, I get a "tls rsa encrypted value length is wrong".
Please help me and tell me how is the public_key_encrypted message's structure, so I will be able to see if the ssl functions work or not. Thank you, Juan Daniel MORENO On 10/7/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > If you are using the libtpm tools (that is wat I know as of now), what u > can do is use the loadkey feature to load the key.key file with the > parent handle ( if SRK it will be 40000000). This will return you with > the handle for key.key private key (say for example 0000000A) use this > handle as input for unbindfile utility and you must be able to decrypt > the file. ( here I am assuming that you have encrypted the plain text > with the public key corresponding to the key.key file, publickkey.pem). > > Cheers, > Dinesh > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Juan Daniel Moreno > Sent: 07 October 2005 10:55 > To: openssl-users@openssl.org > Subject: Re: TPM support !!! > > > Hi everyone, > > I have a very important question. I have a private key in a file named > key.key. How do I use this private key to decrypt a message sent to me? > Please send me any relevant information. > > Thank you, Juan Daniel MORENO > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager [EMAIL PROTECTED] > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager [EMAIL PROTECTED] > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]