parent
4fafed8411
commit
063a7f683c
2 changed files with 16 additions and 2 deletions
|
@ -8,6 +8,8 @@ var syscalls = map[string]map[string]string{
|
||||||
"crypto": {
|
"crypto": {
|
||||||
"ECDsaSecp256r1Verify": "Neo.Crypto.VerifyWithECDsaSecp256r1",
|
"ECDsaSecp256r1Verify": "Neo.Crypto.VerifyWithECDsaSecp256r1",
|
||||||
"ECDsaSecp256k1Verify": "Neo.Crypto.VerifyWithECDsaSecp256k1",
|
"ECDsaSecp256k1Verify": "Neo.Crypto.VerifyWithECDsaSecp256k1",
|
||||||
|
"ECDSASecp256r1CheckMultisig": "Neo.Crypto.CheckMultisigWithECDsaSecp256r1",
|
||||||
|
"ECDSASecp256k1CheckMultisig": "Neo.Crypto.CheckMultisigWithECDsaSecp256k1",
|
||||||
},
|
},
|
||||||
"enumerator": {
|
"enumerator": {
|
||||||
"Concat": "System.Enumerator.Concat",
|
"Concat": "System.Enumerator.Concat",
|
||||||
|
|
|
@ -19,3 +19,15 @@ func ECDsaSecp256r1Verify(msg []byte, pub []byte, sig []byte) bool {
|
||||||
func ECDsaSecp256k1Verify(msg []byte, pub []byte, sig []byte) bool {
|
func ECDsaSecp256k1Verify(msg []byte, pub []byte, sig []byte) bool {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ECDSASecp256r1CheckMultisig checks multiple ECDSA signatures at once. It uses
|
||||||
|
// `Neo.Crypto.CheckMultisigWithECDsaSecp256r1` syscall.
|
||||||
|
func ECDSASecp256r1CheckMultisig(msg []byte, pubs [][]byte, sigs [][]byte) bool {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
// ECDSASecp256k1CheckMultisig checks multiple ECDSA signatures at once. It uses
|
||||||
|
// `Neo.Crypto.CheckMultisigWithECDsaSecp256k1` syscall.
|
||||||
|
func ECDSASecp256k1CheckMultisig(msg []byte, pubs [][]byte, sigs [][]byte) bool {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue