[PATCH] D155690: [RISCV] Mask instructions in Zkt as constant-time

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 13:01:50 PDT 2023


craig.topper added a comment.

In D155690#4515774 <https://reviews.llvm.org/D155690#4515774>, @craig.topper wrote:

> Should we include c.mul, c.not, and c.zext.b from Zcb? Those map to mul, xor, and andi.

I guess as currently written they aren't constant time. So crypto writers have to disable the Zcb extension I guess.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155690/new/

https://reviews.llvm.org/D155690



More information about the llvm-commits mailing list