Exemplo n.º 1
0
        /// <summary>
        ///     Reset the chaining vector back to the IV and reset the underlying cipher.
        /// </summary>
        public override void Reset()
        {
            Array.Copy(IV, 0, _cfbV, 0, IV.Length);
            _cfbOutV.SecureWipe();

            BlockCipher.Reset();
        }
Exemplo n.º 2
0
        /// <summary>
        /// Reset the cipher to the same state as it was after the last init (if there was one).
        /// </summary>
        public override void Reset()
        {
            if (IV != null)
            {
                Array.Copy(IV, 0, _cbcV, 0, IV.Length);
            }
            _cbcNextV.SecureWipe();

            BlockCipher.Reset();
        }
Exemplo n.º 3
0
 /// <summary>
 ///     Reset the chaining vector back to the IV and reset the underlying cipher.
 /// </summary>
 public override void Reset()
 {
     Array.Copy(IV, 0, _ofbV, 0, IV.Length);
     BlockCipher.Reset();
 }
Exemplo n.º 4
0
 /// <inheritdoc />
 public override void Reset()
 {
     IV.DeepCopy_NoChecks(0, _counter, 0, CipherBlockSize);
     BlockCipher.Reset();
 }