From 57ffeb262c8e1df52e210fb1f13992f04726bab5 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bossuat Date: Sat, 26 Mar 2022 01:47:57 +0100 Subject: [PATCH] [ckks] fixed Trace --- ckks/linear_transform.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ckks/linear_transform.go b/ckks/linear_transform.go index ba6dd857..32d39848 100644 --- a/ckks/linear_transform.go +++ b/ckks/linear_transform.go @@ -52,6 +52,7 @@ func (eval *evaluator) Trace(ctIn *Ciphertext, logSlotsStart, logSlotsEnd int, c } for i := logSlotsStart; i < logSlotsEnd; i++ { +<<<<<<< dev_bfv_poly <<<<<<< dev_bfv_poly eval.permuteNTT(ctOut, eval.params.GaloisElementForColumnRotationBy(1<>>>>>> [ckks] fixed Trace ctPool := &Ciphertext{Ciphertext: eval.ctxpool.Ciphertext, Scale: ctOut.Scale} ctPool.Value = ctPool.Value[:2] + eval.Automorphism(ctOut.Ciphertext, eval.params.GaloisElementForColumnRotationBy(1<>>>>>> [rlwe]: complete refactoring }