Skip to content
YUENIX-FHEContact
Preview documentation. The YUENIX-FHE 1.0 API is in development and names or signatures may change before release. Request an evaluation

Bootstrapping

Bootstrapping homomorphically re-encrypts a ciphertext at a higher level, so a circuit can keep multiplying past the depth of its modulus chain. YUENIX runs the whole procedure on the GPU: modulus raise, coefficient-to-slot transform, modular reduction, and slot-to-coefficient transform.

yuenix_bootstrap(ev, ct, &fresh); /* fresh is at caps.output_level */
fresh = ev.bootstrap(ct)

The input must be at the plan’s bootstrapping input level or lower. Calls are asynchronous on the context’s stream (see Execution model).

On one RTX 5090 at a 600 W power limit, a full bootstrap takes 6.52 ms (median of repeated runs). The run used N = 2^16, 32,768 slots, 15 levels left after bootstrapping and about 19-bit precision. See Performance.

Some profiles apply a function during the modular-reduction step. Comparison and threshold programs use this to evaluate a step function at the same time as refreshing (see Encrypted comparison). These programs use the CI_SLIM64 profile family.