waLLLnutFHE16 Docs

Constant Compare operation

LT_CONSTANT

Browser worker constant compare, SDK threshold filters.

Signature

Raw symbolsFHE16_LT_CONSTANT_Arr, FHE16_LT_CONSTANT_I64, FHE16_LT_CONSTANT_I32
Exampleint32_t* out = FHE16_LT_CONSTANT_I32(a, 100);

Caller

Browser worker constant compare, SDK threshold filters.

Circuit Path

Homomorphic pathFHE16_COMPARE_CONSTANT with LT mode against plaintext bit array.

Input, Output, Ownership

Output1-bit boolean ciphertext.
OwnershipReturned ciphertext is caller-owned.
Implementation baselineFHE16Ver6/include/soAPI/soAPI.hpp and FHE16Ver6/src/soAPI/soAPI.cpp

C Example

int32_t* out = FHE16_LT_CONSTANT_I32(a, 100);
FHE16_Free(out);