mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
enhance(client/server): Don't decrypt directly from istream use a intermediate container to represent public result
This commit is contained in:
@@ -230,7 +230,6 @@ KeySet::encrypt_lwe(size_t argPos, uint64_t *ciphertext, uint64_t input) {
|
||||
|
||||
outcome::checked<void, StringError>
|
||||
KeySet::decrypt_lwe(size_t argPos, uint64_t *ciphertext, uint64_t &output) {
|
||||
|
||||
if (argPos >= outputs.size()) {
|
||||
return StringError("decrypt_lwe: position of argument is too high");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user