github.com/koko1123/flow-go-1@v0.29.6/engine/execution/computation/computer/spock_relic.go (about) 1 //go:build relic 2 // +build relic 3 4 package computer 5 6 import ( 7 "github.com/onflow/flow-go/crypto" 8 "github.com/onflow/flow-go/crypto/hash" 9 ) 10 11 // This is a temporary wrapper that around the crypto library. 12 // 13 // TODO(tarak): remove once the crypto module properly implements a non-relic 14 // version of SPOCKProve. 15 func SPOCKProve( 16 sk crypto.PrivateKey, 17 data []byte, 18 kmac hash.Hasher, 19 ) ( 20 crypto.Signature, 21 error, 22 ) { 23 return crypto.SPOCKProve(sk, data, kmac) 24 }