Skip to content

Conversation

@fjarri
Copy link
Collaborator

@fjarri fjarri commented Mar 20, 2025

Some differences are caused by crypto-primes (see entropyxyz/crypto-primes#80) and crypto-bigint (see RustCrypto/crypto-bigint#781)

@codecov
Copy link

codecov bot commented Mar 20, 2025

Codecov Report

Attention: Patch coverage is 96.90722% with 9 lines in your changes missing coverage. Please review.

Project coverage is 92.24%. Comparing base (1b9e459) to head (4ec64df).

Files with missing lines Patch % Lines
src/uint/traits.rs 89.65% 6 Missing ⚠️
src/uint/public_uint.rs 86.36% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #208      +/-   ##
==========================================
+ Coverage   92.14%   92.24%   +0.10%     
==========================================
  Files          45       46       +1     
  Lines       10667    10768     +101     
==========================================
+ Hits         9829     9933     +104     
+ Misses        838      835       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fjarri fjarri force-pushed the platform-dependency branch from 71ed8fc to 7d7c75b Compare March 23, 2025 19:00
@fjarri fjarri self-assigned this Mar 23, 2025
@fjarri fjarri force-pushed the platform-dependency branch from 7d7c75b to 4ec64df Compare March 23, 2025 19:45
Add some test vectors for `Uint::from_xof_reader()`

Fix yaml error

rustfmt

Fix CI

More platform independence tests

Fix an error in test
@fjarri fjarri force-pushed the platform-dependency branch from 4ec64df to 77d2413 Compare April 30, 2025 18:15
Copy link
Contributor

@dvdplm dvdplm left a comment

Choose a reason for hiding this comment

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

I think the tests in rsa.rs and traits.rs both need a comment explaining where the numbers come from and why the tests are there in the first place.

LGTM otherwise (although: should we bump MSRV?)

use super::FromXofReader;
use crate::tools::hashing::{Chain, Hasher};

#[test]
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
#[test]
// Test to ensure that random seeds work the same on 32 and 64 bit platforms
#[test]

…or something to that effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants