From 16d803ba1d6739b7f933f12744e506f4dbcfb3d0 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Tue, 14 Feb 2017 22:37:59 +0100 Subject: [PATCH] remove unused function --- common/crypto/auth.go | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/common/crypto/auth.go b/common/crypto/auth.go index 5287ed0c..9c89450d 100644 --- a/common/crypto/auth.go +++ b/common/crypto/auth.go @@ -78,23 +78,6 @@ func (g StaticUint16Generator) Next() uint16 { return uint16(g) } -type MultiplyUint16Generator struct { - base uint16 - value uint16 -} - -func NewMultiplyUint16Generator(base uint16) *MultiplyUint16Generator { - return &MultiplyUint16Generator{ - base: base, - value: 1, - } -} - -func (g *MultiplyUint16Generator) Next() uint16 { - g.value *= g.base - return g.value -} - type ShakeUint16Generator struct { shake sha3.ShakeHash buffer [2]byte