bls

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package bls includes tests to ensure conformity with the Ethereum BLS cryptography specification. See https://github.com/ethereum/consensus-spec-tests/tree/master/tests/general/phase0/bls for details.

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 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 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"`
}

Jump to

Keyboard shortcuts

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