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

Bug: Cubic extension conjugate #398

Open
mratsim opened this issue Jun 24, 2024 · 0 comments
Open

Bug: Cubic extension conjugate #398

mratsim opened this issue Jun 24, 2024 · 0 comments
Labels
bug 🪲 Something isn't working correctness 🛂

Comments

@mratsim
Copy link
Owner

mratsim commented Jun 24, 2024

From @yelhousni

func conj*(r: var CubicExt, a: CubicExt) =
## Computes the conjugate out-of-place
r.c0.conj(a.c0)
r.c1.conjneg(a.c1)
r.c2.conj(a.c2)

This is only valid if non-residue is sqrt(-1) and (p-1)/3 is odd which is the case for BLS12-381.

@mratsim mratsim added bug 🪲 Something isn't working correctness 🛂 labels Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working correctness 🛂
Projects
None yet
Development

No branches or pull requests

1 participant