a_bmp.c, p7_enc_c.c, other sources missing from openssl-0.9.7c.tar.gz?

2003-10-29 Thread Knowlton, TomQ








So, I unpacked(1) the tarball and followed the INSTALL.MacOS
instructions, and failed to build libCrypto. The error messages list a number
of files upon which that lib depends that are altogether absent from my source
tree. I therefore ask: can anyone confirm these files (those listed in the
subject, among others) to be missing from said archive?

 

Thanks,

--

Tommy Knowlton

 

(1) I recognize that it is not improbable for the unpacker
tool to be the cause of the problem, though I know of no easy way to test. My
tool used to unpack the tarball was Stuffit Expander version 7.0.3.








RSA decryption problem

2003-10-29 Thread murari
Hi,

I have implemented a simple TCP client and server processes such that..server
generates the RSA keys and send the public modulus and public exponent to the
client. The client process uses these values to encrypt a user entered string
and sends it back to server. The server then decrypts the string and outputs
the decrypted string. I have used the crypto API in openSSL for generating the
key, encryption and decryption.

But, when the encrypted string is sent to the server, not always the decryption
is successful. Some times I get an error "11768:error:04065072:rsa
routines:RSA_EAY_PRIVATE_DECRYPT:padding check failed:rsa_eay.c:481:". On some
further research I found out that I get the error only when the encrypted
string length is less than 128 bytes. When the length of the encypted string is
128, all is fine. I haven't seen a encrypted string greater than 128 till now
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


Re: RSA decryption problem

2003-10-29 Thread sowmya hn
Hi
The encrypted string length depends on the keysize(for
generating RSA Keys) and the RSA encryption scheme
used . This limits the length of the string that can
be successfuly encrypted and decrypted. So just chk
the length of input String.
Hope this helps
Sowmya
--- [EMAIL PROTECTED] wrote:
> Hi,
> 
> I have implemented a simple TCP client and server
> processes such that..server
> generates the RSA keys and send the public modulus
> and public exponent to the
> client. The client process uses these values to
> encrypt a user entered string
> and sends it back to server. The server then
> decrypts the string and outputs
> the decrypted string. I have used the crypto API in
> openSSL for generating the
> key, encryption and decryption.
> 
> But, when the encrypted string is sent to the
> server, not always the decryption
> is successful. Some times I get an error
> "11768:error:04065072:rsa
> routines:RSA_EAY_PRIVATE_DECRYPT:padding check
> failed:rsa_eay.c:481:". On some
> further research I found out that I get the error
> only when the encrypted
> string length is less than 128 bytes. When the
> length of the encypted string is
> 128, all is fine. I haven't seen a encrypted string
> greater than 128 till now
>
__
> OpenSSL Project
> http://www.openssl.org
> User Support Mailing List   
> [EMAIL PROTECTED]
> Automated List Manager  
[EMAIL PROTECTED]


__
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]