Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bulk add functional #68

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft

Bulk add functional #68

wants to merge 9 commits into from

Conversation

andreistefanescu
Copy link
Contributor

No description provided.

// NOTE: we assume that the code has been patched to set stride to 32 (SAW can't handle 2048)
// we consider n=3 (<16), n=16, n=17, n=32, n=33, n=48, n=49

// here we assume that the first pointer points to an array and the second is
// null.
let blst_p1s_add_spec_1 n = do {
(sum, sum_ptr) <- ptr_to_fresh "sum" POINTonE1_type;

This comment was marked as abuse.

Copy link

@KarmaHaze KarmaHaze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#74

Copy link

@KarmaHaze KarmaHaze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#74

@@ -81,7 +81,6 @@ let POINTonE1_from_Jacobian_alias_spec = do {

// commute mul once -- use with caution!
mul_commutes_fp_thm <- prove_cryptol {{ \x y -> Fp.mul (x, y) == apply Fp.mul (y,x) }} [];
reciprocal_div_fp_thm <- admit_cryptol {{ \x -> inverse_fp x == Fp.div (Fp.field_unit, x) }};

This comment was marked as abuse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants