Re: RSA_public_encrypt max message length

2004-06-03 Thread Patrick Coleman
Thanks to everyone for the help. I'll try what you suggested. -Patrick David Schwartz wrote: In that case, is there some function in openssl to chain several encrypts/decrypts together, so I can use the RSA functions to encrypt a DH key exchange? Otherwise I'm just going to have to write some sort

RE: RSA_public_encrypt max message length

2004-06-03 Thread David Schwartz
> In that case, is there some function in openssl to chain several > encrypts/decrypts together, so I can use the RSA functions to encrypt a > DH key exchange? > > Otherwise I'm just going to have to write some sort of splitting and > chaining operation, that splits the message up into chunks of u

Re: RSA_public_encrypt max message length

2004-06-03 Thread Patrick Coleman
In that case, is there some function in openssl to chain several encrypts/decrypts together, so I can use the RSA functions to encrypt a DH key exchange? Otherwise I'm just going to have to write some sort of splitting and chaining operation, that splits the message up into chunks of under RSA

Re: RSA_public_encrypt max message length

2004-06-03 Thread Patrick Coleman
phers operate on a digest (which is little) rather than the data itself. - Original Message - From: "Patrick Coleman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 04, 2004 11:17 AM Subject: Re: RSA_public_encrypt max message length Bulk encrypti

Re: RSA_public_encrypt max message length

2004-06-03 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Fri, 04 Jun 2004 11:17:49 +0800, Patrick Coleman <[EMAIL PROTECTED]> said: pcoleman> Bulk encryption, I think. I just want to encrypt/decrypt > pcoleman> RSA_size(key) bytes in one operation. You can't encrypt/decrypt messages larger than the key with the RSA al

Re: RSA_public_encrypt max message length

2004-06-03 Thread ET Tan
leman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 04, 2004 11:17 AM Subject: Re: RSA_public_encrypt max message length > Bulk encryption, I think. I just want to encrypt/decrypt > RSA_size(key) > bytes in one operation. > > Thanks, > Patrick &g

Re: RSA_public_encrypt max message length

2004-06-03 Thread Patrick Coleman
Bulk encryption, I think. I just want to encrypt/decrypt > RSA_size(key) bytes in one operation. Thanks, Patrick ET Tan wrote: What were you trying to do? Key exchange or bulk encryption? - Original Message - From: "Patrick Coleman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Frid

Re: RSA_public_encrypt max message length

2004-06-03 Thread ET Tan
What were you trying to do? Key exchange or bulk encryption? - Original Message - From: "Patrick Coleman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 04, 2004 10:53 AM Subject: RSA_public_encrypt max message length > Hi, > When encrypting strings with RSA_public_enc