unbreak make it compile
This commit is contained in:
parent
64c52e327a
commit
892a7ea58b
@ -1,15 +0,0 @@
|
|||||||
package srnd
|
|
||||||
|
|
||||||
import "github.com/majestrate/nacl"
|
|
||||||
|
|
||||||
func naclCryptoVerifyFucky(hash, sig, pk []byte) bool {
|
|
||||||
return nacl.CryptoVerifyFucky(hash, sig, pk)
|
|
||||||
}
|
|
||||||
|
|
||||||
func naclCryptoSignFucky(hash, sk []byte) (sig []byte) {
|
|
||||||
return nacl.CryptoSignFucky(hash, sk)
|
|
||||||
}
|
|
||||||
|
|
||||||
func naclCryptoVerifyDetached(hash, sig, pk []byte) bool {
|
|
||||||
return nacl.CryptoVerifyDetached(hash, sig, pk)
|
|
||||||
}
|
|
21
contrib/backends/srndv2/src/srnd/nacl_crypto.go
Normal file
21
contrib/backends/srndv2/src/srnd/nacl_crypto.go
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
package srnd
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/majestrate/nacl"
|
||||||
|
)
|
||||||
|
|
||||||
|
func naclCryptoVerifyFucky(h, sig, pk []byte) bool {
|
||||||
|
return nacl.CryptoVerifyFucky(h, sig, pk)
|
||||||
|
}
|
||||||
|
|
||||||
|
func naclCryptoSignFucky(hash, sk []byte) []byte {
|
||||||
|
return nacl.CryptoSignFucky(hash, sk)
|
||||||
|
}
|
||||||
|
|
||||||
|
func naclCryptoVerifyDetached(hash, sig, pk []byte) bool {
|
||||||
|
return nacl.CryptoVerifyDetached(hash, sig, pk)
|
||||||
|
}
|
||||||
|
|
||||||
|
func naclCryptoSignDetached(hash, sk []byte) []byte {
|
||||||
|
return nacl.CryptoSignDetached(hash, sk)
|
||||||
|
}
|
Reference in New Issue
Block a user