Documentation ¶
Index ¶
- Constants
- func DlnVerify(dp *DlnProof, h1, h2, N *big.Int) bool
- func NewPDLwSlackProve(wit *PDLwSlackWitness, st *PDLwSlackStatement) (*PDLwSlackProof, *StatementParams)
- func PDLwSlackVerify(pf *PDLwSlackProof, st *PDLwSlackStatement) bool
- func RangeVerify(rp *RangeProof, pk *paillier.PublicKey, NTilde, h1, h2, c *big.Int) bool
- type DlnProof
- type PDLwSlackProof
- type PDLwSlackStatement
- type PDLwSlackWitness
- type RangeProof
- type StatementParams
Constants ¶
View Source
const Iterations = 30
Variables ¶
This section is empty.
Functions ¶
func NewPDLwSlackProve ¶
func NewPDLwSlackProve(wit *PDLwSlackWitness, st *PDLwSlackStatement) (*PDLwSlackProof, *StatementParams)
NewPDLwSlackProof
func PDLwSlackVerify ¶
func PDLwSlackVerify(pf *PDLwSlackProof, st *PDLwSlackStatement) bool
PDLwSlackVerify
func RangeVerify ¶
RangeVerify
Types ¶
type PDLwSlackProof ¶
type PDLwSlackStatement ¶
type PDLwSlackWitness ¶
type RangeProof ¶
func RangeProve ¶
https://eprint.iacr.org/2019/114.pdf A.1 Range Proof RangeProve
type StatementParams ¶
Click to show internal directories.
Click to hide internal directories.