cryptoapi

package
v1.4.67 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 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 elrondapimeta.EIFunctionReceiver) error

CryptoImports adds some crypto imports to the Wasmer Imports map

func ManagedCreateECWithHost

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

func ManagedEncodeSecp256k1DerSignatureWithHost

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

func ManagedGenerateKeyECWithHost

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

func ManagedMarshalCompressedECWithHost

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

func ManagedMarshalECWithHost

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

func ManagedRipemd160WithHost

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

func ManagedScalarBaseMultECWithHost

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

func ManagedScalarMultECWithHost

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

func ManagedUnmarshalCompressedECWithHost

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

func ManagedUnmarshalECWithHost

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

func ManagedVerifyBLSWithHost

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

func ManagedVerifyCustomSecp256k1WithHost

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

func ManagedVerifyEd25519WithHost

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

func ManagedVerifySecp256k1WithHost

func ManagedVerifySecp256k1WithHost(
	host arwen.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