コード例 #1
0
 public SecP128R1Curve() : base(SecP128R1Curve.q)
 {
     this.m_infinity = new SecP128R1Point(this, null, null);
     this.m_a        = this.FromBigInteger(new BigInteger(1, Hex.Decode("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC")));
     this.m_b        = this.FromBigInteger(new BigInteger(1, Hex.Decode("E87579C11079F43DD824993C2CEE5ED3")));
     this.m_order    = new BigInteger(1, Hex.Decode("FFFFFFFE0000000075A30D1B9038A115"));
     this.m_cofactor = BigInteger.One;
     this.m_coord    = 2;
 }
コード例 #2
0
ファイル: SecP128R1Curve.cs プロジェクト: wizd/bc-csharp
        public SecP128R1Curve()
            : base(q)
        {
            this.m_infinity = new SecP128R1Point(this, null, null);

            this.m_a = FromBigInteger(new BigInteger(1,
                                                     Hex.DecodeStrict("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC")));
            this.m_b = FromBigInteger(new BigInteger(1,
                                                     Hex.DecodeStrict("E87579C11079F43DD824993C2CEE5ED3")));
            this.m_order    = new BigInteger(1, Hex.DecodeStrict("FFFFFFFE0000000075A30D1B9038A115"));
            this.m_cofactor = BigInteger.One;

            this.m_coord = SECP128R1_DEFAULT_COORDS;
        }
コード例 #3
0
        public SecP128R1Curve()
            : base(q)
        {
            this.m_infinity = new SecP128R1Point(this, null, null);

            this.m_a = FromBigInteger(new BigInteger(1,
                Hex.Decode("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC")));
            this.m_b = FromBigInteger(new BigInteger(1,
                Hex.Decode("E87579C11079F43DD824993C2CEE5ED3")));
            this.m_order = new BigInteger(1, Hex.Decode("FFFFFFFE0000000075A30D1B9038A115"));
            this.m_cofactor = BigInteger.One;

            this.m_coord = SecP128R1_DEFAULT_COORDS;
        }