waLLLnutFHE16 Docs

Shift operation

SHL

Fixed scaling and low-cost left shift workflows.

Signature

Raw symbolsFHE16_SHL, FHE16_LSHIFTL
Exampleint32_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

OutputShifted ciphertext, usually wider than input.
OwnershipReturned ciphertext is caller-owned.
Implementation baselineFHE16Ver6/include/soAPI/soAPI.hpp and FHE16Ver6/src/soAPI/soAPI.cpp

C Example

int32_t* out = FHE16_SHL(a, 2);
FHE16_Free(out);