pq-crystals/kyber

avx2 build question

MutexMakhano opened this issue · 0 comments

Hi,
Does the avx2 version test the running processor for the existence of each specific instruction? I ask because the risk of an 'invalid instruction' can be difficult to test for and is fatal, and I don't necessarily run on the machine I build.

Also, in randombytes.c:62, shouldn't the open() have a corresponding close() somewhere?