ECDSA验证签名失败
if (ECDSA_do_verify(digest.data, digest.len, sig, ec_key)) {
printf("successful");
} else {
printf("Error in signing");
while ((l=ERR_get_error_line_data(&file,&line,&data,&flags)) != 0) {
syslog(LOG_ERR, "ECDSA_do_verify Error %x : %s : %s : %d",
l, ERR_error_string(l,buf), file,line);
}
}
错误: -
ECDSA_do_verify错误3208408d: 错误:3208408D:lib(50):func(132):reason(141):fec_crypto_api.c:249
ECDSA_do_verify错误320c308d: 错误:320C308D:lib(50):func(195):reason(141):fec_key.c:111
ECDSA_do_verify错误320af066: 错误:320AF066:lib(50):func(175):reason(102):fec_crypto.c:2090
ECDSA_do_verify错误3206807b: 错误:3206807B:lib(50):func(104):reason(123):fec_crypto_api.c:587
如何解决这个问题?