Skip to content

ff::Field::pow_vartime and no_std support#192

Merged
ebfull merged 2 commits into
zcash:developfrom
str4d:ff-pow_vartime-and-no_std
Dec 19, 2019
Merged

ff::Field::pow_vartime and no_std support#192
ebfull merged 2 commits into
zcash:developfrom
str4d:ff-pow_vartime-and-no_std

Conversation

@str4d
Copy link
Copy Markdown
Contributor

@str4d str4d commented Dec 14, 2019

Part of #159.

Renamed to Field::pow_vartime to indicate it is still variable time with
respect to the exponent.
@str4d str4d requested a review from ebfull December 14, 2019 12:47
@str4d str4d changed the base branch from master to develop December 14, 2019 12:47
Comment thread ff/src/lib.rs Outdated
Copy link
Copy Markdown
Contributor Author

@str4d str4d Dec 14, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This enum will be deleted when we remove PrimeFieldRepr.

Comment thread ff/src/lib.rs Outdated
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This API will be replaced with no_std-compatible Field::to_bytes (matching the bls12_381 and jubjub APIs) when we remove PrimeFieldRepr.

Comment thread ff/src/lib.rs Outdated
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This API will be replaced with no_std-compatible Field::from_bytes (matching the bls12_381 and jubjub APIs) when we remove PrimeFieldRepr.

@str4d str4d force-pushed the ff-pow_vartime-and-no_std branch from 1c14247 to ec2c304 Compare December 14, 2019 12:55
@str4d str4d added the S-scratching-an-itch Status: Something we haven't planned for a sprint but are doing anyway label Dec 14, 2019
@str4d str4d modified the milestone: Core Sprint 2019-49 Dec 14, 2019
@ebfull ebfull merged commit f5914fe into zcash:develop Dec 19, 2019
@str4d str4d deleted the ff-pow_vartime-and-no_std branch March 25, 2020 20:09
greg0x pushed a commit to valargroup/librustzcash that referenced this pull request Mar 12, 2026
…ization

Reduce PIR server memory by ~5 GB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-scratching-an-itch Status: Something we haven't planned for a sprint but are doing anyway

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants