mirror of
https://github.com/zama-ai/concrete.git
synced 2026-04-17 03:00:54 -04:00
refactor: separate runtime context from public arguments
This commit is contained in:
@@ -25,11 +25,8 @@ size_t bitWidthAsWord(size_t exactBitWidth) {
|
||||
outcome::checked<std::unique_ptr<PublicArguments>, StringError>
|
||||
EncryptedArguments::exportPublicArguments(ClientParameters clientParameters,
|
||||
RuntimeContext runtimeContext) {
|
||||
// On client side the runtimeContext is hold by the KeySet
|
||||
bool clearContext = false;
|
||||
return std::make_unique<PublicArguments>(
|
||||
clientParameters, runtimeContext, clearContext, std::move(preparedArgs),
|
||||
std::move(ciphertextBuffers));
|
||||
clientParameters, std::move(preparedArgs), std::move(ciphertextBuffers));
|
||||
}
|
||||
|
||||
outcome::checked<void, StringError>
|
||||
|
||||
Reference in New Issue
Block a user