Org.BouncyCastle.Crypto.Engines.RijndaelEngine.UnPackBlock C# (CSharp) Method

UnPackBlock() private method

private UnPackBlock ( byte bytes, int off ) : void
bytes byte
off int
return void
		private  void UnPackBlock(
			byte[]      bytes,
			int         off)
		{
			int     index = off;

			A0 = (long)(bytes[index++] & 0xff);
			A1 = (long)(bytes[index++] & 0xff);
			A2 = (long)(bytes[index++] & 0xff);
			A3 = (long)(bytes[index++] & 0xff);

			for (int j = 8; j != BC; j += 8)
			{
				A0 |= (long)(bytes[index++] & 0xff) << j;
				A1 |= (long)(bytes[index++] & 0xff) << j;
				A2 |= (long)(bytes[index++] & 0xff) << j;
				A3 |= (long)(bytes[index++] & 0xff) << j;
			}
		}