waLLLnutFHE16 Docs

Bitwise operation

XORVEC

Integer bitwise API and browser worker bitwise compute.

Signature

Raw symbolsFHE16_XORVEC
Exampleint32_t* out = FHE16_XORVEC(a, b);

Caller

Integer bitwise API and browser worker bitwise compute.

Circuit Path

Homomorphic pathFHE16_GATE_TEMPLETE with type=2 and GATE_VEC across encrypted bits.

Input, Output, Ownership

OutputVector/integer ciphertext.
OwnershipReturned ciphertext is caller-owned.
Implementation baselineFHE16Ver6/include/soAPI/soAPI.hpp and FHE16Ver6/src/soAPI/soAPI.cpp

C Example

int32_t* out = FHE16_XORVEC(a, b);
FHE16_Free(out);