mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-04 20:03:39 +00:00
clippy: Allow too-many-arguments on F*::montgomery_reduce
We need to reduce from eight limbs to four, so we need eight arguments.
This commit is contained in:
parent
c13fc16ead
commit
a3921fd38c
3 changed files with 2 additions and 1 deletions
|
|
@ -307,6 +307,7 @@ impl Fp {
|
|||
Fp::montgomery_reduce(r0, r1, r2, r3, r4, r5, r6, r7)
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[inline(always)]
|
||||
const fn montgomery_reduce(
|
||||
r0: u64,
|
||||
|
|
|
|||
|
|
@ -307,6 +307,7 @@ impl Fq {
|
|||
Fq::montgomery_reduce(r0, r1, r2, r3, r4, r5, r6, r7)
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[inline(always)]
|
||||
const fn montgomery_reduce(
|
||||
r0: u64,
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
#![allow(unknown_lints)]
|
||||
#![allow(
|
||||
clippy::op_ref,
|
||||
clippy::too_many_arguments,
|
||||
clippy::suspicious_arithmetic_impl,
|
||||
clippy::same_item_push,
|
||||
clippy::upper_case_acronyms,
|
||||
|
|
|
|||
Loading…
Reference in a new issue