From 89772335b650b3fe6a0f733cce537d93aaba9b75 Mon Sep 17 00:00:00 2001 From: Sanjit Bhat Date: Fri, 15 Nov 2024 14:53:49 -0500 Subject: [PATCH] rm SigLen, unused. unlike HashLen --- cryptoffi/cryptoffi.go | 1 - cryptoffi/cryptoffi_test.go | 3 --- 2 files changed, 4 deletions(-) diff --git a/cryptoffi/cryptoffi.go b/cryptoffi/cryptoffi.go index dddca4c..d347e8f 100644 --- a/cryptoffi/cryptoffi.go +++ b/cryptoffi/cryptoffi.go @@ -12,7 +12,6 @@ import ( const ( HashLen uint64 = 32 - SigLen uint64 = 64 ) // # Hash diff --git a/cryptoffi/cryptoffi_test.go b/cryptoffi/cryptoffi_test.go index 936889b..29f9bfa 100644 --- a/cryptoffi/cryptoffi_test.go +++ b/cryptoffi/cryptoffi_test.go @@ -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) {