INNER CODE UNIT · C

ctr

pq-crystals/dilithium · avx2/poly.c:520

  ctr = rej_eta_avx(a->coeffs, buf.coeffs);

  while(ctr < N) {
    stream256_squeezeblocks(buf.coeffs, 1, state);
    ctr += rej_eta(a->coeffs + ctr, N - ctr, buf.coeffs, STREAM256_BLOCKBYTES);
  }
}

void poly_uniform_eta(poly *a, const uint8_t seed[CRHBYTES], uint16_t nonce)
{
  stream256_state state;
  stream256_init(&state, seed, nonce);
  poly_uniform_eta_preinit(a, &state);
}

void poly_uniform_eta_4x(poly *a0,
                         poly *a1,
                         poly *a2,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…