Inheritance: GeneralDigest
Example #1
0
		private void CopyIn(Sha224Digest t)
		{
			base.CopyIn(t);

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

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

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

            Array.Copy(t.X, 0, X, 0, t.X.Length);
            xOff = t.xOff;
        }
Example #3
0
        private void CopyIn(Sha224Digest t)
        {
            base.CopyIn(t);

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

            Array.Copy(t.X, 0, this.X, 0, t.X.Length);
            this.xOff = t.xOff;
        }
Example #4
0
		/**
         * Copy constructor.  This will copy the state of the provided
         * message digest.
         */
		public Sha224Digest(
			Sha224Digest t)
			: base(t)
		{
			CopyIn(t);
		}
Example #5
0
        /**
         * Copy constructor.  This will copy the state of the provided
         * message digest.
         */

        public Sha224Digest(
            Sha224Digest t)
            : base(t)
        {
            CopyIn(t);
        }
Example #6
0
        public override void Reset(IMemoable other)
        {
            Sha224Digest d = (Sha224Digest)other;

            CopyIn(d);
        }