示例#1
0
		private void CopyIn(RipeMD320Digest t)
		{
			base.CopyIn(t);

            H0 = t.H0;
            H1 = t.H1;
            H2 = t.H2;
            H3 = t.H3;
            H4 = t.H4;
            H5 = t.H5;
            H6 = t.H6;
            H7 = t.H7;
            H8 = t.H8;
            H9 = t.H9;

            Array.Copy(t.X, 0, X, 0, t.X.Length);
            xOff = t.xOff;
        }
示例#2
0
        private void CopyIn(RipeMD320Digest t)
        {
            base.CopyIn(t);

            H0 = t.H0;
            H1 = t.H1;
            H2 = t.H2;
            H3 = t.H3;
            H4 = t.H4;
            H5 = t.H5;
            H6 = t.H6;
            H7 = t.H7;
            H8 = t.H8;
            H9 = t.H9;

            Array.Copy(t.X, 0, X, 0, t.X.Length);
            xOff = t.xOff;
        }
示例#3
0
        /// <summary> Copy constructor.  This will copy the state of the provided
        /// message digest.
        /// </summary>
        public RipeMD320Digest(RipeMD320Digest t)
			: base(t)
        {
			CopyIn(t);
		}
示例#4
0
        public override void Reset(IMemoable other)
        {
            RipeMD320Digest d = (RipeMD320Digest)other;

            CopyIn(d);
        }
示例#5
0
 /// <summary> Copy constructor.  This will copy the state of the provided
 /// message digest.
 /// </summary>
 public RipeMD320Digest(RipeMD320Digest t)
     : base(t)
 {
     CopyIn(t);
 }