Documentation ¶
Index ¶
- Variables
- func EstimateMultiRangeProofSize(nOutput int) uint64
- func VerifyBatchingAggregatedRangeProofs(proofs []*AggregatedRangeProof) (bool, error, int)
- func VerifyBatchingInnerProductProofs(proofs []*InnerProductProof, csList [][]byte) bool
- type AggregatedRangeProof
- func (proof AggregatedRangeProof) Bytes() []byte
- func (proof AggregatedRangeProof) GetCmValues() []*privacy.Point
- func (proof *AggregatedRangeProof) Init()
- func (proof AggregatedRangeProof) IsNil() bool
- func (proof *AggregatedRangeProof) SetBytes(bytes []byte) error
- func (proof AggregatedRangeProof) ValidateSanity() bool
- func (proof AggregatedRangeProof) Verify() (bool, error)
- type AggregatedRangeWitness
- type InnerProductProof
- type InnerProductWitness
Constants ¶
This section is empty.
Variables ¶
View Source
var AggParam = newBulletproofParams(numOutputParam)
Functions ¶
func EstimateMultiRangeProofSize ¶
estimateMultiRangeProofSize estimate multi range proof size
func VerifyBatchingAggregatedRangeProofs ¶
func VerifyBatchingAggregatedRangeProofs(proofs []*AggregatedRangeProof) (bool, error, int)
func VerifyBatchingInnerProductProofs ¶
func VerifyBatchingInnerProductProofs(proofs []*InnerProductProof, csList [][]byte) bool
Types ¶
type AggregatedRangeProof ¶
type AggregatedRangeProof struct {
// contains filtered or unexported fields
}
func (AggregatedRangeProof) Bytes ¶
func (proof AggregatedRangeProof) Bytes() []byte
func (AggregatedRangeProof) GetCmValues ¶
func (proof AggregatedRangeProof) GetCmValues() []*privacy.Point
func (*AggregatedRangeProof) Init ¶
func (proof *AggregatedRangeProof) Init()
func (AggregatedRangeProof) IsNil ¶
func (proof AggregatedRangeProof) IsNil() bool
func (*AggregatedRangeProof) SetBytes ¶
func (proof *AggregatedRangeProof) SetBytes(bytes []byte) error
func (AggregatedRangeProof) ValidateSanity ¶
func (proof AggregatedRangeProof) ValidateSanity() bool
func (AggregatedRangeProof) Verify ¶
func (proof AggregatedRangeProof) Verify() (bool, error)
type AggregatedRangeWitness ¶
type AggregatedRangeWitness struct {
// contains filtered or unexported fields
}
func (AggregatedRangeWitness) Prove ¶
func (wit AggregatedRangeWitness) Prove() (*AggregatedRangeProof, error)
type InnerProductProof ¶
type InnerProductProof struct {
// contains filtered or unexported fields
}
func (InnerProductProof) Bytes ¶
func (proof InnerProductProof) Bytes() []byte
func (*InnerProductProof) SetBytes ¶
func (proof *InnerProductProof) SetBytes(bytes []byte) error
func (InnerProductProof) ValidateSanity ¶
func (proof InnerProductProof) ValidateSanity() bool
func (InnerProductProof) Verify ¶
func (proof InnerProductProof) Verify(aggParam *bulletproofParams) bool
type InnerProductWitness ¶
type InnerProductWitness struct {
// contains filtered or unexported fields
}
func (InnerProductWitness) Prove ¶
func (wit InnerProductWitness) Prove(aggParam *bulletproofParams) (*InnerProductProof, error)
Click to show internal directories.
Click to hide internal directories.