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

Add variable-base sign-scalar multiplication (upstream) #7

Closed
wants to merge 4 commits into from

Conversation

ConstanceBeguier
Copy link

@ConstanceBeguier ConstanceBeguier commented Apr 3, 2023

Added a variable-base sign-scalar multiplication called mul_sign.
This multiplication inputs a scalar and a base and returns [scalar]base.
The scalar must be in {-1, 1}.

To evaluate this multiplication, we re-use the q_mul_fixed_short gate.
This gate is used in the fixed-base short signed scalar multiplication to apply the sign of the scalar on the result of [magnitude]base.

@ConstanceBeguier ConstanceBeguier changed the title Add variable-base sign-scalar multiplication (main) Add variable-base sign-scalar multiplication (upstream) Apr 17, 2023
@ConstanceBeguier
Copy link
Author

Deprecated in favor of #14

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.

1 participant