-
Notifications
You must be signed in to change notification settings - Fork 170
Open
Labels
asymmetric researchaudit blockerClosing these issues is a blocking requirement to kicking off an audit of the Commonware Library.Closing these issues is a blocking requirement to kicking off an audit of the Commonware Library.bugSomething isn't workingSomething isn't working
Milestone
Description
monorepo/cryptography/src/bls12381/primitives/group.rs
Lines 698 to 702 in b5c3a11
| /// Filters out pairs where the point is the identity element (infinity). | |
| /// Returns an error if the lengths of the input slices mismatch. | |
| fn msm(points: &[Self], scalars: &[Scalar]) -> Self { | |
| // Assert input validity | |
| assert_eq!(points.len(), scalars.len(), "mismatched lengths"); |
Based on the comment it is unclear if the function is supposed to return an error instead of an assertion in case of input mismatch, most likely it seems that the assertion is correct and comment is wrong but we were curious about the intent here.
Metadata
Metadata
Assignees
Labels
asymmetric researchaudit blockerClosing these issues is a blocking requirement to kicking off an audit of the Commonware Library.Closing these issues is a blocking requirement to kicking off an audit of the Commonware Library.bugSomething isn't workingSomething isn't working
Type
Projects
Status
Backlog