You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#1245 and its need for #1277 have shown that "abusing" autotools to generate prebuilt files is hard to understand, and remains hard to maintain.
With all this autotools mess, and since we don't even have these features in CMake, it would perhaps be cleaner to move (maintainer-)generation of the distributed files entirely out of the build system(s). This is currently hard since creating the files involves running a C program, which needs to be compiled, which needs some kind of build infrastructure. If we used Python to create the table files (see #919), this would simplify some things. In particular because we have a "maintainer dependency" on Python anyway now with the test vector scripts.... On the other hand, all of this is work and I doubt it's worth spending our time on this right now.
If there are no pitfalls here, two additional lines in the developers' section of the documentation can significantly simplify the build system and its usage.
UPD. Moreover, src/precompute_ecmult.c and src/precompute_ecmult_gen.c can be excluded from a release archive as build process "implementation details".
With a "source generation / auditing" dependency on Python now with the Wycheproof code, I'm in favor of just rewriting the precomputation part in Python too. It should be pretty trivial.
#1245 and its need for #1277 have shown that "abusing" autotools to generate prebuilt files is hard to understand, and remains hard to maintain.
Originally posted by @real-or-random in #1280 (comment)
The text was updated successfully, but these errors were encountered: