waLLLnutFHE16 Docs

Arithmetic operation

ADD

SDK arithmetic calls, product compute flows, benchmarks that need same-width encrypted addition.

Signature

Raw symbolsFHE16_ADD
Exampleint32_t* out = FHE16_ADD(a, b);

Caller

SDK arithmetic calls, product compute flows, benchmarks that need same-width encrypted addition.

Circuit Path

Homomorphic pathParallel prefix adder through FHE16_PREFIX_Templete with subtract=false, executed by PrefixAdder_V2 worker threads.

Input, Output, Ownership

Outputn-bit integer ciphertext.
OwnershipReturned ciphertext is caller-owned and must be released with FHE16_Free.
Implementation baselineFHE16Ver6/include/soAPI/soAPI.hpp and FHE16Ver6/src/soAPI/soAPI.cpp

C Example

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