Skip to content

Commit

Permalink
Merge pull request #48 from mit-pdos/rm-siglen
Browse files Browse the repository at this point in the history
rm SigLen, unused. unlike HashLen
  • Loading branch information
sanjit-bhat authored Nov 15, 2024
2 parents 559efc3 + 8977233 commit 47a046d
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 47a046d

Please sign in to comment.