47bee8a95b1d9446c27e667efbd8f82ac2733bef diff --git a/ref/indcpa.c b/ref/indcpa.c index 60f4059..96022ea 100644 --- a/ref/indcpa.c +++ b/ref/indcpa.c @@ -167,6 +167,7 @@ void gen_matrix(polyvec *a, const uint8_t seed[KYBER_SYMBYTES], int transposed) unsigned int buflen, off; uint8_t buf[GEN_MATRIX_NBLOCKS*XOF_BLOCKBYTES+2]; xof_state state; + xof_init(&state, seed); for(i=0;i