Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Polynomial Commitment -- arkworks-rs
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
STEVAN Antoine
Polynomial Commitment -- arkworks-rs
Commits
54a094e7
Commit
54a094e7
authored
2 years ago
by
amtoine
Browse files
Options
Downloads
Patches
Plain Diff
add the problematic missing docs as TODOs
parent
7c9912c3
No related branches found
No related tags found
1 merge request
!1
CI: add same jobs as in original GitHub fork
Pipeline
#2600
failed with stage
in 7 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/kzg10/mod.rs
+4
-0
4 additions, 0 deletions
src/kzg10/mod.rs
with
4 additions
and
0 deletions
src/kzg10/mod.rs
+
4
−
0
View file @
54a094e7
...
...
@@ -260,6 +260,7 @@ where
Ok
((
witness_polynomial
,
random_witness_polynomial
))
}
/// TODO: missing documentation
pub
fn
open_with_witness_polynomial
<
'a
>
(
powers
:
&
Powers
<
E
>
,
point
:
P
::
Point
,
...
...
@@ -410,6 +411,7 @@ where
Ok
(
result
)
}
/// TODO: missing documentation
pub
fn
check_degree_is_too_large
(
degree
:
usize
,
num_powers
:
usize
)
->
Result
<
(),
Error
>
{
let
num_coefficients
=
degree
+
1
;
if
num_coefficients
>
num_powers
{
...
...
@@ -422,6 +424,7 @@ where
}
}
/// TODO: missing documentation
pub
fn
check_hiding_bound
(
hiding_poly_degree
:
usize
,
num_powers
:
usize
)
->
Result
<
(),
Error
>
{
if
hiding_poly_degree
==
0
{
Err
(
Error
::
HidingBoundIsZero
)
...
...
@@ -438,6 +441,7 @@ where
}
}
/// TODO: missing documentation
pub
fn
check_degrees_and_bounds
<
'a
>
(
supported_degree
:
usize
,
max_degree
:
usize
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment