Skip to content
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

Fix/malleability sig #449

Merged
merged 24 commits into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
4fe3a38
feat: ErrShortBuffer -> ErrWrongSizeBuffer
ThomasPiellard Sep 15, 2023
1b8e599
fix: fixed ambiguous unmarshalling eddsa
ThomasPiellard Sep 15, 2023
e73fdd8
fix: fixed malleability issue ecdsa/eddsa
ThomasPiellard Sep 15, 2023
4b9bcaf
fix: remove swifft files, removed const error
ThomasPiellard Sep 15, 2023
93e634e
fix: removed const error ecdsa
ThomasPiellard Sep 15, 2023
adff357
feat: added tests for non malleability (eddsa)
ThomasPiellard Sep 15, 2023
533da5d
feat: added tests for non malleability of ecdsa
ThomasPiellard Sep 15, 2023
e8adfee
feat: delete playground
ThomasPiellard Sep 15, 2023
8b3ebf0
chore: remove extra file
ivokub Sep 27, 2023
9c6f990
chore: remove extra method description
ivokub Sep 27, 2023
6e78ccf
test: implement malleability tests as subtests
ivokub Sep 27, 2023
c70ad01
test: add tests for zero values
ivokub Sep 27, 2023
417daa6
chore: generate tests
ivokub Sep 27, 2023
148b3e1
fix: compare ecdsa signature values against zero
ivokub Sep 27, 2023
2a0b47d
chore: generate ecdsa
ivokub Sep 27, 2023
44c64cd
fix: check EdDSA signature values not zero
ivokub Sep 27, 2023
14d20d5
fix: remove test that signature value R.X == 0
ivokub Sep 27, 2023
045e256
chore: generate
ivokub Sep 27, 2023
f6e00f8
chore: use *big.Int (convention)
ivokub Sep 27, 2023
666b963
chore: generate
ivokub Sep 27, 2023
4c8d1aa
refactor: make marshal errors private
ivokub Sep 27, 2023
64de55e
chore: generate
ivokub Sep 27, 2023
015c708
test: ensure the test path is taken
ivokub Sep 27, 2023
4719f0a
chore: generate
ivokub Sep 27, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 76 additions & 0 deletions ecc/bls12-377/ecdsa/ecdsa_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 30 additions & 2 deletions ecc/bls12-377/ecdsa/marshal.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

82 changes: 82 additions & 0 deletions ecc/bls12-377/twistededwards/eddsa/eddsa_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 45 additions & 2 deletions ecc/bls12-377/twistededwards/eddsa/marshal.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

76 changes: 76 additions & 0 deletions ecc/bls12-378/ecdsa/ecdsa_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading