Hi, I have a couple of questions related to packing functions and scheme-switching, and I would appreciate your insights and assistance.
First, I am curious about the compatibility of the CoefPackedPlaintext method with the CKKS scheme. Specifically, I am interested in using CoefPackedPlaintext to encode an integer vector into coefficients and perform switching using CKKS-FHEW. If I directly uses that packing in CKKS, it outputs sizeQl error like:
“terminating due to uncaught exception of type lbcrypto::math_error: …/openfhe-development/src/pke/lib/scheme/ckksrns/ckksrns-pke.cpp:63 sizeQl 3!= 1. If sizeQl = 0, consider increasing the depth. If sizeQl > 1, check parameters (this is unsupported for NativePoly).”
Second, I have encountered a “file not found” error while attempting to run the scheme-switching branch. When I try to run my won code calling openfhe, the error occurs like:
In file included from /usr/local/include/openfhe/pke/openfhe.h:54:
/usr/local/include/openfhe/pke/cryptocontext.h:54:10: fatal error: '../../binfhe/include/binfhecontext.h' file not found
#include "../../binfhe/include/binfhecontext.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Currently I believe there is some changed directory in the branch since it works well if I reinstall the library with main branch.
I’m looking forward to hearing your answers. Thank you for your time in advance!