service: remove no longer used Sign/Verify methods and functions

This commit is contained in:
Leonard Lyubich 2020-05-12 10:40:48 +03:00
parent 18bd5011f1
commit 877db6be32
3 changed files with 85 additions and 346 deletions

View file

@ -2,6 +2,7 @@ package service
import (
"crypto/ecdsa"
"sync"
crypto "github.com/nspcc-dev/neofs-crypto"
)
@ -11,6 +12,12 @@ type keySign struct {
sign []byte
}
var bytesPool = sync.Pool{
New: func() interface{} {
return make([]byte, 5<<20)
},
}
// GetSignature is a sign field getter.
func (s keySign) GetSignature() []byte {
return s.sign