Skip to content

Naming convention for secret function arguments #1191

Open
@real-or-random

Description

@real-or-random

We should have a naming convention for function arguments that are considered secret by the function (w.r.t to the side channels). This could for example be a prefix, a suffix, or uppercase.

This will be helpful as documentation for the API functions at least.

I'm not sure if it's worth the hassle for the internal functions. Clearer docs certainly won't hurt, but our constant-time tests should catch any violation of secrecy constraints (if nicely documented or not).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions