Division operation
UMOD
Advanced unsigned modulo with encrypted divisor.
Signature
| Raw symbols | FHE16_UMOD |
|---|---|
| Example | int32_t* out = FHE16_UMOD(a, b); |
Caller
Advanced unsigned modulo with encrypted divisor.
Circuit Path
Homomorphic pathVariable unsigned division path returning remainder.
Input, Output, Ownership
| Output | Unsigned remainder ciphertext. |
|---|---|
| Ownership | Returned ciphertext is caller-owned. |
| Implementation baseline | FHE16Ver6/include/soAPI/soAPI.hpp and FHE16Ver6/src/soAPI/soAPI.cpp |
C Example
int32_t* out = FHE16_UMOD(a, b);
FHE16_Free(out);