Function lbcrypto::getRatioBSGSLT

Function Documentation

uint32_t lbcrypto::getRatioBSGSLT(uint32_t slots)

Gets inner loop dimension for baby step giant step algorithm for linear transform, taking into account the cost efficiency of hoisted automorphisms.

Parameters

slots – number of slots.

Returns

the value for the inner dimension in the baby-step giant-step strategy