Skip to contents

The Mutable* family exists so that operations that can safely mutate their inputs during evaluation (e.g. a temporary intermediate in a longer circuit) can do so without forcing a defensive copy. Semantically equivalent to the non-Mutable counterpart from the user's perspective; the difference is performance under specific workloads.

Usage

eval_add_mutable(x, ...)

Arguments

x

A Ciphertext (may be modified internally).

...

Method-specific arguments: y — a Ciphertext (may be modified internally).

Value

A new Ciphertext holding x + y.