RFC: branch-free modular primitives on the decrypt path (constant-time hardening)

Hi all,

I've prepared a constant-time hardening of the modular primitives. Data-dependent branches are replaced with bitmask-select plus a compiler barrier that survives `-O0..-Ofast` on GCC and Clang.


## Branch

https://github.com/BAder82t/openfhe-development/tree/fix/ct-mod-mul-fast-const


This RFC closes the orthogonal timing-side channel by removing data-dependent branches from the same code region.

Methodology follows the PermNet-RM constant-time Reed-Muller encoder (https://github.com/BAder82t/PermNet-RM): explicit bitmask + inline-asm opacifier so aggressive optimization can't reconstruct the branch via value-range propagation.

Thanks

Hi @bader Thank you for posting this. I’ve added your github account to the openfhe-development repository. Please create a branch there from dev and submit a PR so we could review it (and run CI against it).

Thanks @ypolyakov, all done.