Skip to content

Conversation

@dbenoit17
Copy link
Collaborator

@dbenoit17 dbenoit17 commented Jul 13, 2023

We missed a spot changing from math/big.Int to openssl.BigInt.

@dbenoit17 dbenoit17 requested review from derekparker and ueno July 13, 2023 16:52
panic("boringcrypto: not available")
}
func HashVerifyECDSA(pub *PublicKeyECDSA, msg []byte, r, s *big.Int, h crypto.Hash) bool {
func HashVerifyECDSA(pub *PublicKeyECDSA, msg []byte, r, s *BigInt, h crypto.Hash) bool {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm not sure if this alone is correct; in the current git master, ecdsa.go defines both HashSignECDSA and HashVerifyECDSA with *big.Int. Maybe they should also be using *BigInt?

@karianna
Copy link
Collaborator

@dbenoit17 Are you able to address the comments in this review?

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.

3 participants