Skip to content

feat: Big Integer Implementation for Cryptographic Applications #1516

feat: Big Integer Implementation for Cryptographic Applications

feat: Big Integer Implementation for Cryptographic Applications #1516

Triggered via pull request January 29, 2025 10:09
Status Cancelled
Total duration 1m 53s
Artifacts

gas-bench.yml

on: pull_request
Gas usage report
1m 42s
Gas usage report
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 18 warnings
Gas usage report
Canceling since a higher priority waiting request for 'gas-bench-benchmark-experiments/biginteger' exists
Gas usage report
The operation was canceled.
[clippy] lib/crypto/src/arithmetic/uint.rs#L863: lib/crypto/src/arithmetic/uint.rs#L863
warning: binding's name is too similar to existing binding --> lib/crypto/src/arithmetic/uint.rs:863:18 | 863 | let (res, carry) = remainder.ct_checked_mul2(); | ^^^ | note: existing binding defined here --> lib/crypto/src/arithmetic/uint.rs:854:32 | 854 | pub const fn ct_rem(&self, rhs: &Uint<N>) -> Uint<N> { | ^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#similar_names = note: `-W clippy::similar-names` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::similar_names)]`
[clippy] lib/crypto/src/arithmetic/mod.rs#L4: lib/crypto/src/arithmetic/mod.rs#L4
warning: missing documentation for a module --> lib/crypto/src/arithmetic/mod.rs:4:1 | 4 | pub mod limb; | ^^^^^^^^^^^^ | = note: requested on the command line with `-W missing-docs`
[clippy] lib/crypto/src/arithmetic/mod.rs#L5: lib/crypto/src/arithmetic/mod.rs#L5
warning: missing documentation for a module --> lib/crypto/src/arithmetic/mod.rs:5:1 | 5 | pub mod uint; | ^^^^^^^^^^^^
[clippy] lib/crypto/src/arithmetic/uint.rs#L26: lib/crypto/src/arithmetic/uint.rs#L26
warning: missing documentation for a struct --> lib/crypto/src/arithmetic/uint.rs:26:1 | 26 | pub struct Uint<const N: usize> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[clippy] lib/crypto/src/arithmetic/uint.rs#L63: lib/crypto/src/arithmetic/uint.rs#L63
warning: missing documentation for an associated function --> lib/crypto/src/arithmetic/uint.rs:63:5 | 63 | pub const fn new(value: [Limb; N]) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[clippy] lib/crypto/src/arithmetic/uint.rs#L68: lib/crypto/src/arithmetic/uint.rs#L68
warning: missing documentation for a method --> lib/crypto/src/arithmetic/uint.rs:68:5 | 68 | pub const fn as_limbs(&self) -> &[Limb; N] { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[clippy] lib/crypto/src/arithmetic/uint.rs#L100: lib/crypto/src/arithmetic/uint.rs#L100
warning: missing documentation for a method --> lib/crypto/src/arithmetic/uint.rs:100:5 | 100 | pub const fn ct_ge(&self, rhs: &Self) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[clippy] lib/crypto/src/arithmetic/uint.rs#L112: lib/crypto/src/arithmetic/uint.rs#L112
warning: missing documentation for a method --> lib/crypto/src/arithmetic/uint.rs:112:5 | 112 | pub const fn ct_is_zero(&self) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[clippy] lib/crypto/src/arithmetic/uint.rs#L117: lib/crypto/src/arithmetic/uint.rs#L117
warning: missing documentation for a method --> lib/crypto/src/arithmetic/uint.rs:117:5 | 117 | pub const fn ct_eq(&self, rhs: &Self) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[clippy] lib/crypto/src/arithmetic/uint.rs#L863: lib/crypto/src/arithmetic/uint.rs#L863
warning: binding's name is too similar to existing binding --> lib/crypto/src/arithmetic/uint.rs:863:18 | 863 | let (res, carry) = remainder.ct_checked_mul2(); | ^^^ | note: existing binding defined here --> lib/crypto/src/arithmetic/uint.rs:854:32 | 854 | pub const fn ct_rem(&self, rhs: &Uint<N>) -> Uint<N> { | ^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#similar_names = note: `-W clippy::similar-names` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::similar_names)]`
[clippy] lib/crypto/src/arithmetic/mod.rs#L4: lib/crypto/src/arithmetic/mod.rs#L4
warning: missing documentation for a module --> lib/crypto/src/arithmetic/mod.rs:4:1 | 4 | pub mod limb; | ^^^^^^^^^^^^ | = note: requested on the command line with `-W missing-docs`
[clippy] lib/crypto/src/arithmetic/mod.rs#L5: lib/crypto/src/arithmetic/mod.rs#L5
warning: missing documentation for a module --> lib/crypto/src/arithmetic/mod.rs:5:1 | 5 | pub mod uint; | ^^^^^^^^^^^^
[clippy] lib/crypto/src/arithmetic/uint.rs#L26: lib/crypto/src/arithmetic/uint.rs#L26
warning: missing documentation for a struct --> lib/crypto/src/arithmetic/uint.rs:26:1 | 26 | pub struct Uint<const N: usize> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[clippy] lib/crypto/src/arithmetic/uint.rs#L63: lib/crypto/src/arithmetic/uint.rs#L63
warning: missing documentation for an associated function --> lib/crypto/src/arithmetic/uint.rs:63:5 | 63 | pub const fn new(value: [Limb; N]) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[clippy] lib/crypto/src/arithmetic/uint.rs#L68: lib/crypto/src/arithmetic/uint.rs#L68
warning: missing documentation for a method --> lib/crypto/src/arithmetic/uint.rs:68:5 | 68 | pub const fn as_limbs(&self) -> &[Limb; N] { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[clippy] lib/crypto/src/arithmetic/uint.rs#L100: lib/crypto/src/arithmetic/uint.rs#L100
warning: missing documentation for a method --> lib/crypto/src/arithmetic/uint.rs:100:5 | 100 | pub const fn ct_ge(&self, rhs: &Self) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[clippy] lib/crypto/src/arithmetic/uint.rs#L112: lib/crypto/src/arithmetic/uint.rs#L112
warning: missing documentation for a method --> lib/crypto/src/arithmetic/uint.rs:112:5 | 112 | pub const fn ct_is_zero(&self) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[clippy] lib/crypto/src/arithmetic/uint.rs#L117: lib/crypto/src/arithmetic/uint.rs#L117
warning: missing documentation for a method --> lib/crypto/src/arithmetic/uint.rs:117:5 | 117 | pub const fn ct_eq(&self, rhs: &Self) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^