Constant operation
SMULL_CONSTANT
Scoring weights, fixed coefficients, browser scalar multiply.
Signature
| Raw symbols | FHE16_SMULL_CONSTANT_Arr, FHE16_SMULL_CONSTANT_I64, FHE16_SMULL_CONSTANT_I32 |
|---|---|
| Example | int32_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
| Output | n-bit signed product ciphertext. |
|---|---|
| Ownership | Returned ciphertext is caller-owned. |
| Implementation baseline | FHE16Ver6/include/soAPI/soAPI.hpp and FHE16Ver6/src/soAPI/soAPI.cpp |
C Example
int32_t* out = FHE16_SMULL_CONSTANT_I32(a, 13);
FHE16_Free(out);