-
Notifications
You must be signed in to change notification settings - Fork 3
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
base: main
Are you sure you want to change the base?
Conversation
bbb2038
to
715041c
Compare
// 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.
This comment was marked as abuse.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -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.
This comment was marked as abuse.
Sorry, something went wrong.
No description provided.