Unfortunately, I have forgotten to include the inlining of the re-encryption in the kem.c when I updated to the NIST draft version in https://github.com/mupq/pqm4/pull/332.
I fixed it here. This reduces the stack usage of decaps by 1 ciphertext size.
There was also a bug in the inlined re-encryption that resulted in the re-encryption always failing (but that was dead code).
Unfortunately, I have forgotten to include the inlining of the re-encryption in the kem.c when I updated to the NIST draft version in https://github.com/mupq/pqm4/pull/332.
I fixed it here. This reduces the stack usage of decaps by 1 ciphertext size. There was also a bug in the inlined re-encryption that resulted in the re-encryption always failing (but that was dead code).