Skip to content

Conversation

@lehugueni
Copy link
Contributor

@lehugueni lehugueni commented Nov 27, 2025

Fix #567 (original comment in #566).

The encryptZeroSk method in core/rlwe/encryptor.go was not returning a ciphertext in the Montgomery domain when the input ct was of type *Ciphertext and ct.IsMontgomery = true.

This PR also does a small refactor of relevant functions to avoid some code duplication.

@lehugueni lehugueni self-assigned this Nov 27, 2025
@lehugueni lehugueni added the bug Something isn't working label Nov 27, 2025
@lehugueni lehugueni requested a review from MGeorgie November 28, 2025 08:50
Copy link
Contributor

@MGeorgie MGeorgie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oki

@lehugueni lehugueni merged commit f3966f4 into main Dec 16, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect Output in rgsw_blind_rotations Example on V6.1.1

4 participants