polyvecreduce function

void polyvecreduce(
  1. PolyVec v
)

Reduce all coefficients in each polynomial modulo q.

Implementation

void polyvecreduce(PolyVec v) {
  for (int i = 0; i < KYBER_K; i++) {
    polyreduce(v.vec[i]);
  }
}