ouughs
1
The results from
openfhe-development/benchmark/src/lib-benchmark.cpp at main · openfheorg/openfhe-development · GitHub show no parameters, specially no q (ciphertext modulus) or N (polynomial degree). The code is also very implicit on their initialization, and by printing I got 0 on those.
What are the default parameters, specially for q and N, for those benches?
Caesar
2
The parameters are created dynamically based on the benchmark configuration.
You can always print the crypto-context crypto parameters upon its initialization as follows:
std::cout << "crypto params: " << *cc->GetCryptoParameters() << std::endl;
This can be done in any of the GenerateXXXrnsContext
functions in your linked file.
Sample output:
crypto params: Element Parameters: ILDCRTParams [m=131072 n=65536 q=414731212919766204489234226729464708693080006888585740790682897248463024890576066396976420391219229281504811919758483050349807929242355605948908400658270400328031475253203298894651265772170750173485753091986863584350451849534193189909189691792088236402162601357549471855468592007438169017381766313115001499214295698444494176257 ru=0 bigq=0 bigru=0]