Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding tests to the primitive operations of HEAggGame (#2254)
Summary: Pull Request resolved: #2254 Adding two tests for the primitive operations of Homomorphic encryption. The main operations we use in the HE Aggregation Game are: add_with_ciphertext(c1, c2): It adds two ciphertexts c1 & c2 add_with_plaintext(c1, p1): It adds a ciphertext c1 to a plaintext p1 and the results goes to a ciphertext In this diff we test that these two operations return the expected sum after decryption. These tests is also intended to act as small example of how homomorphic encryption works which can be used in talks/tutorials. Reviewed By: xyguo, zhangpuhan Differential Revision: D44549251 fbshipit-source-id: 8b281da75ee54254c55a504b06c37f3c475453dd
- Loading branch information