INNER CODE UNIT · C
f
pq-crystals/dilithium · avx2/poly.c:421
f = _mm256_loadu_si256((__m256i *)seed);
_mm256_store_si256(buf[0].vec,f);
_mm256_store_si256(buf[1].vec,f);
_mm256_store_si256(buf[2].vec,f);
_mm256_store_si256(buf[3].vec,f);
buf[0].coeffs[SEEDBYTES+0] = nonce0;
buf[0].coeffs[SEEDBYTES+1] = nonce0 >> 8;
buf[1].coeffs[SEEDBYTES+0] = nonce1;
buf[1].coeffs[SEEDBYTES+1] = nonce1 >> 8;
buf[2].coeffs[SEEDBYTES+0] = nonce2;
buf[2].coeffs[SEEDBYTES+1] = nonce2 >> 8;
buf[3].coeffs[SEEDBYTES+0] = nonce3;
buf[3].coeffs[SEEDBYTES+1] = nonce3 >> 8;
shake128x4_absorb_once(&state, buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, SEEDBYTES + 2);
shake128x4_squeezeblocks(buf[0].coeffs, buf[1].coeffs, buf[2].coeffs, buf[3].coeffs, REJ_UNIFORM_NBLOCKS, &state);