// NewDamgardFujisakiReceiverFromParams returns an instance of a receiver with the
// parameters as given by input. Different instances are needed because
// each sets its own Commitment value.
NewDamgardFujisakiReceiverFromParams returns an instance of a receiver with the
parameters as given by input. Different instances are needed because
each sets its own Commitment value.
// NewDamgardFujisakiReceiverFromParams returns an instance of a receiver with the // parameters as given by input . Different instances are needed because // each sets its own Commitment value .
func NewDamgardFujisakiReceiverFromParams(qrSpecialRSA *groups.QRSpecialRSA, h, g *big.Int,
	k int) (
	*DamgardFujisakiReceiver, error) {
	return &DamgardFujisakiReceiver{damgardFujisaki: damgardFujisaki{
		QRSpecialRSA: qrSpecialRSA,
		H:            h,
		G:            g,
		K:            k},
	}, nil
}
func NewDamgardFujisakiReceiverFromParams ( qrSpecialRSA * groups . QRSpecialRSA , h , g * big . Int , k int ) ( * DamgardFujisakiReceiver , error ) { return & DamgardFujisakiReceiver { damgardFujisaki : damgardFujisaki { QRSpecialRSA : qrSpecialRSA , H : h , G : g , K : k } , } , nil }
NewDamgardFujisakiReceiverFromParams returns an instance of a receiver with the
parameters as given by input.
NewDamgardFujisakiReceiverFromParams returns an instance of a receiver with the parameters as given by input .