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

PFC instructions #122

Open
0racle2 opened this issue Jun 29, 2023 · 4 comments
Open

PFC instructions #122

0racle2 opened this issue Jun 29, 2023 · 4 comments

Comments

@0racle2
Copy link

0racle2 commented Jun 29, 2023

Where are the PFC instructions and why is it not shown in the manual?For example, pfc.pairing(P,Q). Where is the similar function description?

@mcarrickscott
Copy link
Contributor

mcarrickscott commented Jun 29, 2023 via email

@0racle2
Copy link
Author

0racle2 commented Jun 29, 2023

Thank you for your answer. I mean, is there any detailed documentation for more related operations, such as how to obtain the horizontal coordinate of a point on an elliptic curve?

@mcarrickscott
Copy link
Contributor

mcarrickscott commented Jul 1, 2023 via email

@0racle2
Copy link
Author

0racle2 commented Jul 1, 2023

As can be seen the PFC class is lightly layered over the basic miracl functions. See pairing_3.h for example. Note that all class members (of G1, G2, GT) are public. Therefore it is perfectly possible to access lower level functionality if that is desired. For example to access the (x,y) coordinates of a point.

On Thu, Jun 29, 2023 at 10:03 AM 0racle2 @.> wrote: Thank you for your answer. I mean, is there any detailed documentation for more related operations, such as how to obtain the horizontal coordinate of a point on an elliptic curve? — Reply to this email directly, view it on GitHub <#122 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAU3ZDWNR55QBJDNI4V4QK3XNVAG5ANCNFSM6AAAAAAZYDPVKY . You are receiving this because you commented.Message ID: @.>

Thank you for your reply, it has been resolved. Thanks a lot.

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

No branches or pull requests

2 participants