Whitespace fixes.

This commit is contained in:
Isis Lovecruft 2017-03-17 21:42:40 +00:00
parent a89177f80e
commit d549fdc8f9
Failed to extract signature
3 changed files with 29 additions and 28 deletions

View file

@ -454,6 +454,7 @@ impl FieldElement {
FieldElement(limbs)
}
#[cfg(not(feature="radix_51"))]
fn reduce(input: &[i64; 10]) -> FieldElement { //FeCombine
let mut c = [0i64;10];
@ -964,6 +965,7 @@ impl FieldElement {
h
}
#[cfg(feature="radix_51")]
#[inline(always)]
fn square_inner(&self) -> [u64; 5] {
@ -1170,8 +1172,7 @@ impl FieldElement {
/// - `(0u8, zero)` if `v` is zero;
/// - `(0u8, garbage)` if `u/v` is nonsquare.
///
pub fn sqrt_ratio(u: &FieldElement, v: &FieldElement)
-> (u8, FieldElement) {
pub fn sqrt_ratio(u: &FieldElement, v: &FieldElement) -> (u8, FieldElement) {
// Using the same trick as in ed25519 decoding, we merge the
// inversion, the square root, and the square test as follows.
//