ecc_free should be called only upon ecc_import_x963 success.