Threshold CKKS for ciphertext plaintext multiplication

Hello,
I am working on a project that hopes to use ciphertext plaintext multiplication, I check the example file and the unit test file but couldn’t find an example. If it is implemented(I guess so), could you kindly provide a usage case? Otherwise, will it be released in a future version or I need to implement it if I hope to use it in my project.
Thanks so much!

Hi iquah,
Thanks so much for your help!
But I actually wonder if the plaintext ciphertext multiplication is available in the threshold CKKS setting. More specifically, I want to do x1 = {0.25, 0.5, 0.75, 1.0, 2.0, 3.0, 4.0, 5.0};
x2 = {0,1,0,1,0,1,0,1}
denote by c1 the ciphertext of x1 and p2 the plaintext of x2.

if it is possible to do evalmult(c1,p2).
Thanks again for your help!

Hi @Cyptic6796,

Yes, evalmult(c1,p2) is supported in OpenFHE (it is supported for both single-key and threshold FHE setting). Here is an example in unit tests: openfhe-development/UnitTestCKKSrns.cpp at main · openfheorg/openfhe-development · GitHub

The full API for CryptoContext is available at Template Class CryptoContextImpl — OpenFHE documentation

1 Like