-
Notifications
You must be signed in to change notification settings - Fork 26
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
Decrypt statements #348
Decrypt statements #348
Commits on Feb 14, 2024
-
Add decryption statements to logproof
Add these as a separate variant from private key encryptions, since they are created and bounded differently. Since we bound the error term by half the ciphertext modulus, this commit also changes the bounds to be specified by number of bits.
Configuration menu - View commit details
-
Copy full SHA for f255a43 - Browse repository at this point
Copy the full SHA f255a43View commit details -
Fix bug in matrix serialization
For polynomials with zero coefficients exceeding degree bound
Configuration menu - View commit details
-
Copy full SHA for 180cc49 - Browse repository at this point
Copy the full SHA 180cc49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 647343f - Browse repository at this point
Copy the full SHA 647343fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e2cb55 - Browse repository at this point
Copy the full SHA 5e2cb55View commit details
Commits on Feb 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bf5ce9b - Browse repository at this point
Copy the full SHA bf5ce9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 562ceb7 - Browse repository at this point
Copy the full SHA 562ceb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2c34cb - Browse repository at this point
Copy the full SHA b2c34cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1efca11 - Browse repository at this point
Copy the full SHA 1efca11View commit details -
Taking Self was weird. Call sites don't need to be updated as calling associated `Log2::method(x)` is still valid, just a weird thing to enforce.
Configuration menu - View commit details
-
Copy full SHA for 43508ed - Browse repository at this point
Copy the full SHA 43508edView commit details
Commits on Feb 16, 2024
-
This would previously give very large norms values for small negative values close to the negative cutoff
Configuration menu - View commit details
-
Copy full SHA for 559bcbd - Browse repository at this point
Copy the full SHA 559bcbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f888ab - Browse repository at this point
Copy the full SHA 9f888abView commit details
Commits on Feb 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9591038 - Browse repository at this point
Copy the full SHA 9591038View commit details
Commits on Feb 20, 2024
-
Fix repeated messages after decryption bug
Silly mistake but easy to miss: we were storing the message to repeat as a _freshly encoded_ plaintext. The values match, but not the underlying messages! Fix to use the actual plaintext coming out of the decryption, which is not a fresh encoding.
Configuration menu - View commit details
-
Copy full SHA for 3c81995 - Browse repository at this point
Copy the full SHA 3c81995View commit details -
Remove the ability to decrypt existing messages
As implemented, this would have almost never been used correctly. The user would have had to ensure that the existing plaintext message had the same plaintext polynomial encoding as the provided ciphertext. This would generally only be true if both were fresh encryptions, in which case this method is not even necessary.
Configuration menu - View commit details
-
Copy full SHA for cd9f36a - Browse repository at this point
Copy the full SHA cd9f36aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d1dbcc - Browse repository at this point
Copy the full SHA 4d1dbccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a4c6fd - Browse repository at this point
Copy the full SHA 3a4c6fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d2c5b6 - Browse repository at this point
Copy the full SHA 1d2c5b6View commit details -
Update TFHE logproof bounds to use bits
Also use u32 over u64, as std::lib does for various "bit length" operations like Shl, log2, et.
Configuration menu - View commit details
-
Copy full SHA for fd70d9b - Browse repository at this point
Copy the full SHA fd70d9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a49b091 - Browse repository at this point
Copy the full SHA a49b091View commit details -
Configuration menu - View commit details
-
Copy full SHA for e385b2c - Browse repository at this point
Copy the full SHA e385b2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 621a41b - Browse repository at this point
Copy the full SHA 621a41bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d898ad2 - Browse repository at this point
Copy the full SHA d898ad2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53abd43 - Browse repository at this point
Copy the full SHA 53abd43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3470df3 - Browse repository at this point
Copy the full SHA 3470df3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7a4ca0 - Browse repository at this point
Copy the full SHA f7a4ca0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 029ee49 - Browse repository at this point
Copy the full SHA 029ee49View commit details -
Dont calculate modulus within ZqRistretto
And fail fast if calculating the modulus overflows
Configuration menu - View commit details
-
Copy full SHA for 76138c2 - Browse repository at this point
Copy the full SHA 76138c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10e74e1 - Browse repository at this point
Copy the full SHA 10e74e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for cadb800 - Browse repository at this point
Copy the full SHA cadb800View commit details