Shift operation
SHL
Fixed scaling and low-cost left shift workflows.
Signature
| Raw symbols | FHE16_SHL, FHE16_LSHIFTL |
|---|---|
| Example | int32_t* out = FHE16_SHL(a, 2); |
Caller
Fixed scaling and low-cost left shift workflows.
Circuit Path
Homomorphic pathData copy plus encrypted zero fill for introduced lower bits.
Input, Output, Ownership
| Output | Shifted ciphertext, usually wider than input. |
|---|---|
| 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_SHL(a, 2);
FHE16_Free(out);