mldsa-native
mldsa-native copied to clipboard
RFC: Split `sign.c` into sign/verify/keygen logic
Some consumers may only be interested in a subset of sign / verify / key generation. While we can consider adding configuration options for disabling them at compile time, that is only half-satisfactory for those consumers because they would either need to a) take the whole sign.c and accept dead code in it, b) manually simplify sign.c, throwing out the code they don't need.
It would be more convenient if sign/key and verify would be in separate compilation units, so that a consumer merely interested in verification could just drop sign.* from the import.
Happy about thoughts @mkannwischer