Can RSA_public_encrypt() encrypt only 20-bytes long "from"?

When I pass less than 20bytes string to it, it works well,
But, if I pass more than 20bytes string, it returns -1.

And one more thing,
for less than 20byte-long input, it returns 32 always.
Is it right?

I am working on Linux box.

TIA,
Foombar.
==================================================
��� ���� ���� E-mail �ּ� �Ѹ��ϳ�
http://www.hanmail.net
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to