Exemplo n.º 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;
		}
Exemplo n.º 2
0
		/// <summary>
		/// Copy constructor.  This will copy the state of the provided
		/// message digest.
		/// </summary>
		public SM3Digest(SM3Digest t)
			: base(t)
		{
			CopyIn(t);
		}
Exemplo n.º 3
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;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Copy constructor.  This will copy the state of the provided
 /// message digest.
 /// </summary>
 public SM3Digest(SM3Digest t)
     : base(t)
 {
     CopyIn(t);
 }
Exemplo n.º 5
0
 public SM3Digest(SM3Digest t) : base(t)
 {
     this.CopyIn(t);
 }
Exemplo n.º 6
0
 private void CopyIn(SM3Digest t)
 {
     global::System.Array.Copy((global::System.Array)t.V, 0, (global::System.Array)V, 0, V.Length);
     global::System.Array.Copy((global::System.Array)t.inwords, 0, (global::System.Array)inwords, 0, inwords.Length);
     xOff = t.xOff;
 }