new module 'fenv'

2023-10-26 Thread Bruno Haible
When writing the lib/fpe-trapping.h file (needed to verify the quiet vs. signalling NaNs, which in turn was needed for testing the totalorder* functions), I was disappointed by the complexity of this file. Ideally it would contain just two statements: feclearexcept (FE_INVALID); feenableexcept

Re: [PATCH] base32, base64: disallow non-canonical encodings

2023-10-26 Thread Pádraig Brady
On 26/10/2023 16:38, Pádraig Brady wrote: Unconditionally disallow encodings that don't have appropriate zero bits before padding characters. This handles one class of encoding variations discussed at: https://eprint.iacr.org/2022/361.pdf Note the other variations discussed there, due to

[PATCH] base32, base64: disallow non-canonical encodings

2023-10-26 Thread Pádraig Brady
Unconditionally disallow encodings that don't have appropriate zero bits before padding characters. This handles one class of encoding variations discussed at: https://eprint.iacr.org/2022/361.pdf Note the other variations discussed there, due to optional padding characters are already disallowed.