-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
RNS variant multiplication operation for FV scheme. #3893
Conversation
I have completed the required code for the operation but the result is not correct yet😭. I have added some deepcopy's till debugging. so will remove the redundant deepcopy's after everything starts working properly... |
d2efbd6
to
8f00f6e
Compare
Codecov Report
@@ Coverage Diff @@
## master #3893 +/- ##
==========================================
- Coverage 95.07% 94.94% -0.14%
==========================================
Files 186 199 +13
Lines 18868 20247 +1379
==========================================
+ Hits 17939 19223 +1284
- Misses 929 1024 +95
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work Ravikant!
@@ -252,55 +250,100 @@ def _mul_cipher_cipher(self, ct1, ct2): | |||
A Ciphertext object with a value equivalent to the result of the product of two | |||
operands. | |||
""" | |||
ct1, ct2 = ct1.data, ct2.data | |||
ct1, ct2 = copy.deepcopy(ct1.data), copy.deepcopy(ct2.data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this deepcopy still needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed it 👍
881c960
to
96cb2f2
Compare
Description
Multiplication operation for FV scheme using RNS variant. The current implementation of a multiplication operation is not performing well during relinearization operation. So updating the operation with the RNS variant.
Affected Dependencies
None
How has this been tested?
Tests already present for multiplication operation but added tests for internal methods.
Checklist