Skip to content

ecdsa: bump rand_core from 0.6.4 to 0.9.0 - #901

Closed
baloo wants to merge 1 commit into
RustCrypto:masterfrom
baloo:baloo/ecdsa/bump-rand-core
Closed

ecdsa: bump rand_core from 0.6.4 to 0.9.0#901
baloo wants to merge 1 commit into
RustCrypto:masterfrom
baloo:baloo/ecdsa/bump-rand-core

Conversation

@baloo

@baloobaloo commented Feb 14, 2025

Copy link
Copy Markdown
Member

@baloo
baloo marked this pull request as draft February 14, 2025 23:53
@baloo
balooforce-pushed the baloo/ecdsa/bump-rand-core branch from 508b358 to 6a07484CompareFebruary 14, 2025 23:54
tarcieri pushed a commit to RustCrypto/traits that referenced this pull request Feb 15, 2025
This is so that a `RandomizedDigestSigner` can call into
`hazmat::RandomizedPrehashSigner` directly with the provided rng.
Example use: RustCrypto/signatures#901
@baloo
balooforce-pushed the baloo/ecdsa/bump-rand-core branch from c3f377d to 0633ed0CompareFebruary 15, 2025 05:12
Comment threadecdsa/src/signing.rs
let z = bits2field::<C>(prehash)?;
let mut ad = FieldBytes::<C>::default();
rng.fill_bytes(&mut ad);
rng.try_fill_bytes(&mut ad).map_err(|_| Error::new())?;

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

#905 (comment)

Same situation here, we're eating the error from the Rng

@baloo
balooforce-pushed the baloo/ecdsa/bump-rand-core branch 3 times, most recently from 6f10d63 to 2efd584CompareFebruary 23, 2025 15:19
@baloo
balooforce-pushed the baloo/ecdsa/bump-rand-core branch from 2efd584 to 032c465CompareFebruary 23, 2025 15:21
@baloo

Copy link
Copy Markdown
MemberAuthor

closed in favor of #913

@baloobaloo closed this Feb 23, 2025
Sign up for freeto 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.

1 participant

@baloo