Function lbcrypto::FindLTRotationIndicesSwitch

Function Documentation

std::vector<int32_t> lbcrypto::FindLTRotationIndicesSwitch(uint32_t dim1, uint32_t m, uint32_t blockDimension)

Assembles a list of rotation indices necessary to perform the linear transform in scheme switching (needs to be ran once to each LT).

Parameters
  • dim1 – baby-step dimension

  • m – cyclotomic order

  • blockdimension – dimension related to the linear transform computation matrix

Returns

vector of rotation indices necessary