Skip to content

Create an overload for IntMPBootRandomElementGen() taking Ciphertext instead of PublicKey#1114

Merged
yspolyakov merged 2 commits intodevfrom
1111-create-overload
Feb 6, 2026
Merged

Create an overload for IntMPBootRandomElementGen() taking Ciphertext instead of PublicKey#1114
yspolyakov merged 2 commits intodevfrom
1111-create-overload

Conversation

@dsuponitskiy
Copy link
Collaborator

No description provided.


Ciphertext<DCRTPoly> MultipartyCKKSRNS::IntMPBootRandomElementGen(std::shared_ptr<CryptoParametersCKKSRNS> params,
ConstCiphertext<DCRTPoly>& ciphertext) const {
auto ildcrtparams = params->GetElementParams();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be created using the element parameters of the first element in the ciphertext, which will be faster than using the cryptocontext element parameters)

@yspolyakov yspolyakov merged commit bbb3b7c into dev Feb 6, 2026
19 checks passed
@dsuponitskiy dsuponitskiy deleted the 1111-create-overload branch February 6, 2026 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create an overload for IntMPBootRandomElementGen() taking Ciphertext instead of PublicKey and add it to openfhe-python

3 participants