Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

constant time for scalar operations #72

Open
omershlo opened this issue Nov 13, 2019 · 0 comments
Open

constant time for scalar operations #72

omershlo opened this issue Nov 13, 2019 · 0 comments
Labels
constant time changes to make the code immune as much as possible to side channel attacks cryptography

Comments

@omershlo
Copy link
Contributor

Operations on scalars were never optimized for constant time.
example:
https://github.com/KZen-networks/curv/blob/master/src/elliptic/curves/secp256_k1.rs#L131 will leak the size of Secp256k1Scalar.

Code can be found here:
https://github.com/KZen-networks/curv/tree/master/src/elliptic/curves

@omershlo omershlo added constant time changes to make the code immune as much as possible to side channel attacks cryptography labels Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
constant time changes to make the code immune as much as possible to side channel attacks cryptography
Projects
None yet
Development

No branches or pull requests

1 participant