bls

package
v3.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregateTest

type AggregateTest struct {
	Input  []string `json:"input"`
	Output string   `json:"output" ssz:"size=96"`
}

type AggregateVerifyTest

type AggregateVerifyTest struct {
	Input struct {
		Pubkeys   []string `json:"pubkeys"`
		Messages  []string `json:"messages"`
		Signature string   `json:"signature"`
	} `json:"input"`
	Output bool `json:"output"`
}

type BatchVerifyTest

type BatchVerifyTest struct {
	Input struct {
		Pubkeys    []string `json:"pubkeys"`
		Messages   []string `json:"messages"`
		Signatures []string `json:"signatures"`
	} `json:"input"`
	Output bool `json:"output"`
}

type DeserializationG1Test

type DeserializationG1Test struct {
	Input struct {
		Pubkey string `json:"pubkey"`
	} `json:"input"`
	Output bool `json:"output"`
}

type DeserializationG2Test

type DeserializationG2Test struct {
	Input struct {
		Signature string `json:"signature"`
	} `json:"input"`
	Output bool `json:"output"`
}

type FastAggregateVerifyTest

type FastAggregateVerifyTest struct {
	Input struct {
		Pubkeys []string `json:"pubkeys"`
		Message string   `json:"message"`
		// TODO(#7632): Remove when https://github.com/ethereum/consensus-spec-tests/issues/22 is resolved.
		Messages  string `json:"messages"`
		Signature string `json:"signature"`
	} `json:"input"`
	Output bool `json:"output"`
}

type HashToG2Test

type HashToG2Test struct {
	Input struct {
		Message string `json:"msg"`
	} `json:"input"`
	Output struct {
		X string `json:"x"`
		Y string `json:"y"`
	} `json:"output"`
}

type SignMsgTest

type SignMsgTest struct {
	Input struct {
		Privkey string `json:"privkey"`
		Message string `json:"message"`
	} `json:"input"`
	Output string `json:"output"`
}

type VerifyMsgTest

type VerifyMsgTest struct {
	Input struct {
		Pubkey    string `json:"pubkey"`
		Message   string `json:"message"`
		Signature string `json:"signature"`
	} `json:"input"`
	Output bool `json:"output"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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