Exemple #1
0
 private void CopyIn(SM3Digest t)
 {
     Array.Copy(t.V, 0, this.V, 0, this.V.Length);
     Array.Copy(t.inwords, 0, this.inwords, 0, this.inwords.Length);
     xOff = t.xOff;
 }
Exemple #2
0
 /// <summary>
 /// Copy constructor.  This will copy the state of the provided
 /// message digest.
 /// </summary>
 public SM3Digest(SM3Digest t)
     : base(t)
 {
     CopyIn(t);
 }