Skip to content

Conversation

@Dustin-Ray
Copy link
Contributor

The front of the repo explicitly states under Goals:

"Constant-time by default. Variable-time functions are explicitly marked as such."

Some constant-time functions in the repo are documented that they run in constant-time, while other constant-time functions do not. This inconsistency may lead a newcomer to question if a function is constant-time despite being explicitly chosen as such. This simple PR updates the docs on the functions in question to avoid confusion and remain consistent with the stated goals of the repo.

@tarcieri
Copy link
Member

I think there may be remaining places, but this is a start

@tarcieri tarcieri merged commit 6247618 into RustCrypto:master Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants