Пример #1
0
 /**
  * @return the auxiliary values <code>s<sub>0</sub></code> and
  * <code>s<sub>1</sub></code> used for partial modular reduction for
  * Koblitz curves.
  */
 internal virtual BigInteger[] GetSi()
 {
     if (si == null)
     {
         lock (this) {
             if (si == null)
             {
                 si = Tnaf.GetSi(this);
             }
         }
     }
     return(si);
 }
Пример #2
0
 /**
  * @return the auxiliary values <code>s<sub>0</sub></code> and
  * <code>s<sub>1</sub></code> used for partial modular reduction for
  * Koblitz curves.
  */
 internal IBigInteger[] GetSi()
 {
     if (_si == null)
     {
         lock (this)
         {
             if (_si == null)
             {
                 _si = Tnaf.GetSi(this);
             }
         }
     }
     return(_si);
 }
Пример #3
0
 internal virtual BigInteger[] GetSi()
 {
     if (this.si == null)
     {
         object obj2 = this;
         lock (obj2)
         {
             if (this.si == null)
             {
                 this.si = Tnaf.GetSi(this);
             }
         }
     }
     return(this.si);
 }