-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…#969) Moves `u576_to_le_bytes` from the `util` module to inside of `from_uint_unchecked`. The old function in the `util` module was not general-purpose, but specialized to the case of decoding P-521 base field elements in the unsaturated format used by fiat-crypto's Solinas prime backend. Additionally `FieldElement::from_uint_unchecked` is the only caller, and it really is an implementation detail of that function.
- Loading branch information
Showing
2 changed files
with
35 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters