Skip to content

Restore missing Falcon AVX2 ifdef's#492

Merged
thomwiggers merged 2 commits intomasterfrom
ds-falcon-win32
Jul 19, 2023
Merged

Restore missing Falcon AVX2 ifdef's#492
thomwiggers merged 2 commits intomasterfrom
ds-falcon-win32

Conversation

@dstebila
Copy link
Copy Markdown
Member

@dstebila dstebila commented Jun 4, 2023

See https://github.com/orgs/open-quantum-safe/discussions/1487

Note that I accidentally pushed an earlier commit to master. So master is currently in a broken state while waiting for this PR to land.

This PR does break one of our requirements that we don't use preprocessor macros for feature detection. However I'm not really sure of a way around this. As far as I understand it, the code is necessary on AVX2 in 32-bit builds, but PQClean doesn't distinguish between AVX2 on 32-bit and 64-bit builds. So either we create another PQClean implementation for that scenario, or we allow this ifdef (which, incidentally, was in the original Falcon code, and we stripped it out).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants