Skip to content

Commit db4e918

Browse files
committed
.
1 parent 094c568 commit db4e918

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

src/fffff.cpp renamed to src/Test_matmul.cpp

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,14 @@
1313
* with this program; if not, write to the Free Software Foundation, Inc.,
1414
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1515
*/
16+
1617
#include "FHE.h"
1718
#include "timing.h"
1819
#include "EncryptedArray.h"
1920
#include <NTL/lzz_pXFactoring.h>
2021

2122
#include <cassert>
2223

23-
/**************
24-
25-
1. c1.multiplyBy(c0)
26-
2. c0 += random constant
27-
3. c2 *= random constant
28-
4. tmp = c1
29-
5. ea.shift(tmp, random amount in [-nSlots/2, nSlots/2])
30-
6. c2 += tmp
31-
7. ea.rotate(c2, random amount in [1-nSlots, nSlots-1])
32-
8. c1.negate()
33-
9. c3.multiplyBy(c2)
34-
10. c0 -= c3
35-
36-
**************/
37-
3824

3925
ZZX makeIrredPoly(long p, long d)
4026
{

0 commit comments

Comments
 (0)