Skip to content

Commit

Permalink
rm SigLen, unused. unlike HashLen
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjit-bhat committed Nov 15, 2024
1 parent 559efc3 commit 8977233
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion cryptoffi/cryptoffi.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (

const (
HashLen uint64 = 32
SigLen uint64 = 64
)

// # Hash
Expand Down
3 changes: 0 additions & 3 deletions cryptoffi/cryptoffi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ func TestVerifyTrue(t *testing.T) {
if !pk.Verify(d, sig) {
t.Fatal()
}
if uint64(len(sig)) != SigLen {
t.Fatal()
}
}

func TestVerifyFalse(t *testing.T) {
Expand Down

0 comments on commit 8977233

Please sign in to comment.