We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44c64cd commit 14d20d5Copy full SHA for 14d20d5
internal/generator/edwards/eddsa/template/eddsa.test.go.tmpl
@@ -90,20 +90,6 @@ func TestNonMalleability(t *testing.T) {
90
}
91
92
func TestNoZeros(t *testing.T) {
93
- t.Run("R.X=0", func(t *testing.T) {
94
- // R points are 0
95
- var sig Signature
96
- sig.R.X.SetInt64(0)
97
- sig.R.Y.SetInt64(1)
98
- s := big.NewInt(1)
99
- s.FillBytes(sig.S[:])
100
- bts := sig.Bytes()
101
- var newSig Signature
102
- _, err := newSig.SetBytes(bts)
103
- if err != ErrZero {
104
- t.Fatal("expected error for zero R.X")
105
- }
106
- })
107
t.Run("R.Y=0", func(t *testing.T) {
108
// R points are 0
109
var sig Signature
0 commit comments