waLLLnutFHE16 Docs

Bitwise operation

OR

Boolean SDK methods and single-bit gate calls.

Signature

Raw symbolsFHE16_OR
Exampleint32_t* out = FHE16_OR(a_bit, b_bit);

Caller

Boolean SDK methods and single-bit gate calls.

Circuit Path

Homomorphic pathSingle-bit C_FHE16_OR gate.

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_OR(a_bit, b_bit);
FHE16_Free(out);