waLLLnutFHE16 Docs

Arithmetic operation

SMULL

Signed multiplication in scoring, ranking, and fixed-width arithmetic flows.

Signature

Raw symbolsFHE16_SMULL
Exampleint32_t* out = FHE16_SMULL(a, b);

Caller

Signed multiplication in scoring, ranking, and fixed-width arithmetic flows.

Circuit Path

Homomorphic pathDADDA partial-product multiplier. A 1-bit input delegates to FHE16_ANDVEC.

Input, Output, Ownership

Outputn-bit signed product ciphertext.
OwnershipReturned ciphertext is caller-owned.
Implementation baselineFHE16Ver6/include/soAPI/soAPI.hpp and FHE16Ver6/src/soAPI/soAPI.cpp

C Example

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