search for: ct_choose

Displaying 3 results from an estimated 3 matches for "ct_choose".

2019 Sep 12
2
Side-channel resistant values
...e kinds of optimizations? Or is there otherwise a "mostly recommended" way to prevent these optimizations? Thanks for your advice. All the best, Daan Sprenkels PS. Perhaps, would there be interest to add such a feature to LLVM? I found this repository on GitHub[2], adding a `__builtin_ct_choose` intrinsic to clang. But as far as I know, this has never been upstreamed. [1]: Chandler Carruth described this trick at CppCon15: <https://youtu.be/nXaxk27zwlk?t=2472>. See it in practice: <https://godbolt.org/z/UMPeku> [2]: <https://github.com/lmrs2/ct_choose>, <https://gith...
2019 Sep 12
2
Side-channel resistant values
...nches during lowering. -Hal On Sep 12, 2019, at 12:30 PM, Daan Sprenkels via llvm-dev <llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote: PS. Perhaps, would there be interest to add such a feature to LLVM? I found this repository on GitHub[2], adding a `__builtin_ct_choose` intrinsic to clang. But as far as I know, this has never been upstreamed. [1]: Chandler Carruth described this trick at CppCon15: <https://youtu.be/nXaxk27zwlk?t=2472>. See it in practice: <https://godbolt.org/z/UMPeku> [2]: <https://github.com/lmrs2/ct_choose>, <https://gith...
2019 Sep 13
2
Side-channel resistant values
...2, 2019, at 12:30 PM, Daan Sprenkels via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: >>> >>> PS. Perhaps, would there be interest to add such a feature to LLVM? >>> I found this repository on GitHub[2], adding a `__builtin_ct_choose` >>> intrinsic to clang. But as far as I know, this has never been upstreamed. >>> >>> [1]: Chandler Carruth described this trick at CppCon15: >>> <https://youtu.be/nXaxk27zwlk?t=2472 <https://youtu.be/nXaxk27zwlk?t=2472>>. See it in practice: >&g...