-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: bump k256 to 0.13.2 #76
Conversation
rust-k256/src/lib.rs
Outdated
@@ -106,7 +105,7 @@ impl PlumeSignature<'_> { | |||
// don't forget to check `c` is `Output<Sha256>` in the #API | |||
let c = Output::<Sha256>::from_slice(self.c); | |||
// TODO should we allow `c` input greater than BaseField::MODULUS? | |||
let c_scalar = &Scalar::from_uint_reduced(U256::from_be_byte_array(c.to_owned())); | |||
let c_scalar = &Scalar::reduce_nonzero(U256::from_be_byte_array(c.to_owned())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you need to run cargo fmt
and cargo clippy
.
@RajeshRk18 please rebase with current main branch so PR has only commits related to this issue. |
b2ad135
to
ac8969e
Compare
@Divide-By-0: "look i just want to merge something that works and move on for this, it sorta is an irrelevant thing since that value is almost never 0"
Resolves #70