Documentation
¶
Index ¶
Constants ¶
View Source
const BN254_FIELD_ELEMENT_SIZE = 32
in bytes
View Source
const GROTH_16_PROTOCOL_ID = uint32(1)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HeaderGroth ¶
type HeaderGroth struct {
// contains filtered or unexported fields
}
type NotGroth16 ¶
type NotGroth16 struct {
Err error
}
func (*NotGroth16) Error ¶
func (r *NotGroth16) Error() string
type Phase1 ¶
type Phase1 struct {
// contains filtered or unexported fields
}
func ConvertPtauToPhase1 ¶
type Ptau ¶
type Ptau struct { Header PtauHeader PTauPubKey PtauPubKey }
type PtauPubKey ¶
type SectionSegment ¶
type SectionSegment struct {
// contains filtered or unexported fields
}
type Zkey ¶
type Zkey struct { ZkeyHeader ZkeyHeader // contains filtered or unexported fields }
Incomplete (only extracts necessary fields for conversion to .ph1 format)
type ZkeyHeader ¶
type ZkeyHeader struct { ProtocolID uint32 // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.