Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

performance: Provide a fast subtle.ConstantTimeCopy alternative for more platforms #18

Open
1 of 3 tasks
Yawning opened this issue Feb 6, 2020 · 0 comments
Open
1 of 3 tasks
Labels
p:2 Priority: desired feature

Comments

@Yawning
Copy link
Contributor

Yawning commented Feb 6, 2020

As the scalar basepoint multiply implementation is based around using a table that stores pre-computed results, a fast constant time copy is required for optimal performance.

The amd64 target has an optimized implementation written in assembly language.
All other platforms will use unsafe (falling back to subtle.ConstantTimeCopy) once #19 is merged, but could be improved further.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
p:2 Priority: desired feature
Projects
None yet
Development

No branches or pull requests

1 participant