Example #1
0
        public void CbcCipherModeConstructorTest()
        {
            byte[]        iv     = null; // TODO: Initialize to an appropriate value
            CbcCipherMode target = new CbcCipherMode(iv);

            Assert.Inconclusive("TODO: Implement code to verify target");
        }
Example #2
0
        public void DecryptBlockTest()
        {
            byte[]        iv     = null;                  // TODO: Initialize to an appropriate value
            CbcCipherMode target = new CbcCipherMode(iv); // TODO: Initialize to an appropriate value

            byte[] inputBuffer = null;                    // TODO: Initialize to an appropriate value
            int    inputOffset = 0;                       // TODO: Initialize to an appropriate value
            int    inputCount  = 0;                       // TODO: Initialize to an appropriate value

            byte[] outputBuffer = null;                   // TODO: Initialize to an appropriate value
            int    outputOffset = 0;                      // TODO: Initialize to an appropriate value
            int    expected     = 0;                      // TODO: Initialize to an appropriate value
            int    actual;

            actual = target.DecryptBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }