ecdsa_do_sign,
ecdsa_sign_setup_no_digest,
ecdsa_do_verify,
-#if 0
- NULL, /* init */
- NULL, /* finish */
-#endif
ECDSA_FLAG_FIPS_METHOD, /* flags */
NULL /* app_data */
};
BN_CTX_free(ctx);
if (order != NULL)
BN_free(order);
- if (tmp_point != NULL)
- EC_POINT_free(tmp_point);
+ EC_POINT_free(tmp_point);
if (X)
BN_clear_free(X);
return (ret);
err:
BN_CTX_end(ctx);
BN_CTX_free(ctx);
- if (point)
- EC_POINT_free(point);
+ EC_POINT_free(point);
return ret;
}