diff options
-rw-r--r-- | internal/utils/utils.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/internal/utils/utils.go b/internal/utils/utils.go index 7f5b1bc..5b27868 100644 --- a/internal/utils/utils.go +++ b/internal/utils/utils.go @@ -5,7 +5,6 @@ import ( "fmt" "os" - "git.cs.kau.se/rasmoste/ct-sans/internal/merkle" "gitlab.torproject.org/rgdd/ct/pkg/metadata" ) @@ -46,11 +45,3 @@ func Proof(hashes [][]byte) (p [][sha256.Size]byte) { } return } - -// LeafHashes formats a list of data as leaf hashes -func LeafHashes(data [][]byte) (lh [][sha256.Size]byte) { - for _, d := range data { - lh = append(lh, merkle.HashLeafNode(d)) - } - return -} |