Skip to content

elliptic-curve: variable-time trait naming #2377

@tarcieri

Description

@tarcieri

In #2374 VartimeBasepointTable and the PointWithVartimeBasepointTable trait were added.

This was perhaps inspired by looking at curve25519-dalek which features a number of Vartime* prefixed traits. However in crypto-bigint we've already adopted a convention of putting *Vartime as a suffix, which matches nicely with *_vartime method names (e.g. #2286 added lincomb_vartime, and *_vartime is already the convention in crypto-bigint).

I would suggest we adopt a convention of *Vartime suffixes, e.g. MulVartime and MulByGeneratorVartime. I will change the existing names added in #2374 to suit.

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