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

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 05:48:41 PDT 2023


asb added a comment.

Interesting idea. Some initial thoughts:

- The HINT instructions are not included in the constant time guarantee, and this approach doesn't account for that
- A different name is probably need, as these instructions are only known to be constant time if zkt is enabled, and we'll need something similar for zvkt.

I'll put this on the agenda for the RISC-V LLVM sync-up call tomorrow.


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