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; }
/// <summary> /// Copy constructor. This will copy the state of the provided /// message digest. /// </summary> public SM3Digest(SM3Digest t) : base(t) { CopyIn(t); }
public SM3Digest(SM3Digest t) : base(t) { this.CopyIn(t); }
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; }