cryptoapi

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CryptoImports

func CryptoImports(imports motherearthapimeta.EIFunctionReceiver) error

CryptoImports adds some crypto imports to the Wasmer Imports map

func ManagedCreateECWithHost

func ManagedCreateECWithHost(host andes.VMHost, dataHandle int32) int32

func ManagedEncodeSecp256k1DerSignatureWithHost

func ManagedEncodeSecp256k1DerSignatureWithHost(
	host andes.VMHost,
	rHandle, sHandle, sigHandle int32,
) int32

func ManagedGenerateKeyECWithHost

func ManagedGenerateKeyECWithHost(
	host andes.VMHost,
	xPubKeyHandle int32,
	yPubKeyHandle int32,
	ecHandle int32,
	resultHandle int32,
) int32

func ManagedMarshalCompressedECWithHost

func ManagedMarshalCompressedECWithHost(
	host andes.VMHost,
	xPairHandle int32,
	yPairHandle int32,
	ecHandle int32,
	resultHandle int32,
) int32

func ManagedMarshalECWithHost

func ManagedMarshalECWithHost(
	host andes.VMHost,
	xPairHandle int32,
	yPairHandle int32,
	ecHandle int32,
	resultHandle int32,
) int32

func ManagedRipemd160WithHost

func ManagedRipemd160WithHost(host andes.VMHost, inputHandle int32, outputHandle int32) int32

func ManagedScalarBaseMultECWithHost

func ManagedScalarBaseMultECWithHost(
	host andes.VMHost,
	xResultHandle int32,
	yResultHandle int32,
	ecHandle int32,
	dataHandle int32,
) int32

func ManagedScalarMultECWithHost

func ManagedScalarMultECWithHost(
	host andes.VMHost,
	xResultHandle int32,
	yResultHandle int32,
	ecHandle int32,
	pointXHandle int32,
	pointYHandle int32,
	dataHandle int32,
) int32

func ManagedUnmarshalCompressedECWithHost

func ManagedUnmarshalCompressedECWithHost(
	host andes.VMHost,
	xResultHandle int32,
	yResultHandle int32,
	ecHandle int32,
	dataHandle int32,
) int32

func ManagedUnmarshalECWithHost

func ManagedUnmarshalECWithHost(
	host andes.VMHost,
	xResultHandle int32,
	yResultHandle int32,
	ecHandle int32,
	dataHandle int32,
) int32

func ManagedVerifyBLSWithHost

func ManagedVerifyBLSWithHost(
	host andes.VMHost,
	keyHandle int32,
	messageHandle int32,
	sigHandle int32,
) int32

func ManagedVerifyCustomSecp256k1WithHost

func ManagedVerifyCustomSecp256k1WithHost(
	host andes.VMHost,
	keyHandle, messageHandle, sigHandle int32,
	hashType int32,
) int32

func ManagedVerifyEd25519WithHost

func ManagedVerifyEd25519WithHost(
	host andes.VMHost,
	keyHandle, messageHandle, sigHandle int32,
) int32

func ManagedVerifySecp256k1WithHost

func ManagedVerifySecp256k1WithHost(
	host andes.VMHost,
	keyHandle, messageHandle, sigHandle int32,
) int32

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL