waLLLnutFHE16 Docs

Constant operation

SMULL_CONSTANT

Scoring weights, fixed coefficients, browser scalar multiply.

Signature

Raw symbolsFHE16_SMULL_CONSTANT_Arr, FHE16_SMULL_CONSTANT_I64, FHE16_SMULL_CONSTANT_I32
Exampleint32_t* out = FHE16_SMULL_CONSTANT_I32(a, 13);

Caller

Scoring weights, fixed coefficients, browser scalar multiply.

Circuit Path

Homomorphic pathNAF-aware shifted partial products plus DADDA reduction; zero and power-of-two constants use fast paths.

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_CONSTANT_I32(a, 13);
FHE16_Free(out);