-
Notifications
You must be signed in to change notification settings - Fork 181
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
[doc] Aggregate - pairing_mul_n #8
Comments
@mratsim I bet this is exactly what you've described. I think will check this shortly. |
Yes, the subroutines in question facilitate multiple aggregated signature verifiction. Its usage pattern is not finalized, because straightforward/naive one is not optimal. In other words it will change. As for documentation in more general sense. Does reference to commentary mean that you'd view it as adequate? I mean outlining the usage pattern. Next question would be what would you think if usage pattern was expressed in form of python script? Would it be valuable? |
Sorry I missed your question. For me it's adequate but I know both the low-level details and what I want to achieve. For starters, a couple of Python scripts would likely be helpful indeed or maybe a tutorial folder with:
And each folder would have your support languages: C, Go, Rust, Python as demo. This would be similar to what Halide does with its lessons: |
Looking into aggregate.c it's clear what
blst_pairing_aggregate_pk_in_g1
is for butblst_pairing_mul_n_aggregate_pk_in_g1
is not documented.blst/src/aggregate.c
Lines 7 to 34 in 6d6dec3
It seems like it's computing
λ0 e(PK0, H(msg0)) λ1 e(PK1, H(msg1)) ...
with λi != 1The text was updated successfully, but these errors were encountered: