コード例 #1
0
        public GlvTypeBEndomorphism(ECCurve curve, GlvTypeBParameters parameters)
        {
            /*
             * NOTE: 'curve' MUST only be used to create a suitable ECFieldElement. Due to the way
             * ECCurve configuration works, 'curve' will not be the actual instance of ECCurve that the
             * endomorphism is being used with.
             */

            this.m_parameters = parameters;
            this.m_pointMap   = new ScaleXPointMap(curve.FromBigInteger(parameters.Beta));
        }
コード例 #2
0
 public GlvTypeBEndomorphism(ECCurve curve, GlvTypeBParameters parameters)
 {
     this.m_curve      = curve;
     this.m_parameters = parameters;
     this.m_pointMap   = new ScaleXPointMap(curve.FromBigInteger(parameters.Beta));
 }