Skip to content

Question: Could rust compiler optimization possibly expose side channel attacks? #341

Open
@junderw

Description

@junderw

The title is self-explanatory, but I have read that constant time operations in Rust are difficult due to compiler optimizations removing things.

To combat this, I have seen some discussions on Rust RFC: rust-lang/rfcs#2859

(Also, for LLVM side of the issue, see here)

Does anyone know if the usage of FFI in the sys package somehow prevents this kind of optimization?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions