答复: EVP_VerifyFinal fail use RSA public key, openssl-1.0.0d, win32, vc2008sp1

2011-05-24 Thread bs1
Sorry, I’ve made a mistake L if(!EVP_VerifyUpdate(&v_ctx, out, outlen)){ MUST CHANGE TO = > EVP_VerifyUpdate(&v_ctx, inbuf, inbuflen) 发件人: owner-openssl-us...@openssl.org [mailto:owner-openssl-users@openssl. org] 代表 bs1 发送时间: 2011年5月24

EVP_VerifyFinal fail use RSA public key, openssl-1.0.0d, win32, vc2008sp1

2011-05-24 Thread bs1
Hello, EVP_VerifyFinal fail when use RSA public key, can anyone help? I use openssl cmd line tool generate a key pair of RSA and store them to two pem files. And RSA_sign and RSA_verify work fine with the pem files. To support large buffer , I change the code to work with EVP_Sign and EVP_Ve