On 1/12/2014 2:04 AM, Som M wrote:
[openssl.org <http://openssl.org> #3229]
Yes, I suspected the same. But even though it returns 129, I prepended
"00" to the hex string and sent it as argument to to RSA_verify.

authMsgLen = RSA_size(rsa_pb);
authMsgHexStr = "00" + authMsgHexStr;

This might work in some OO language where the + operator is overloaded.

In C, adding two pointers is far different from prepending.



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to