waLLLnutFHE16 Docs

Constant Compare operation

GT_CONSTANT

SDK threshold filters and greater-than constants.

Signature

Raw symbolsFHE16_GT_CONSTANT_Arr, FHE16_GT_CONSTANT_I64, FHE16_GT_CONSTANT_I32
Exampleint32_t* out = FHE16_GT_CONSTANT_I32(a, 100);

Caller

SDK threshold filters and greater-than constants.

Circuit Path

Homomorphic pathFHE16_COMPARE_CONSTANT with GT 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_GT_CONSTANT_I32(a, 100);
FHE16_Free(out);