88 references to CipherMode
mscorlib (50)
system\security\cryptography\aes.cs (1)
33ModeValue = CipherMode.CBC;
system\security\cryptography\cryptoapitransform.cs (4)
33private CipherMode ModeValue; 47CipherMode cipherChainingMode, int blockSize, 78if (rgArgValues[j] is CipherMode) { 100ModeValue = (CipherMode) _rgArgValues[i];
system\security\cryptography\descryptoserviceprovider.cs (7)
71private ICryptoTransform _NewEncryptor (byte[] rgbKey, CipherMode mode, byte[] rgbIV, int feedbackSize, CryptoAPITransformMode encryptMode) { 78if (mode == CipherMode.OFB) 81if ((mode == CipherMode.CFB) && (feedbackSize != 8)) 91if (mode != CipherMode.CBC) { 98if (mode != CipherMode.ECB) { 119if ((mode == CipherMode.OFB) || (mode == CipherMode.CFB)) {
system\security\cryptography\rc2cryptoserviceprovider.cs (7)
105private ICryptoTransform _NewEncryptor (byte[] rgbKey, CipherMode mode, byte[] rgbIV, 113if (mode == CipherMode.OFB) 116if ((mode == CipherMode.CFB) && (feedbackSize != 8)) 139if (mode != CipherMode.CBC) { 146if (mode != CipherMode.ECB) { 167if ((mode == CipherMode.OFB) || (mode == CipherMode.CFB)) {
system\security\cryptography\rijndaelmanaged.cs (1)
68CipherMode mode,
system\security\cryptography\rijndaelmanagedtransform.cs (18)
24private CipherMode m_cipherMode; 49CipherMode mode, 104case CipherMode.ECB: 105case CipherMode.CBC: 110case CipherMode.CFB: 121if (mode == CipherMode.CBC || mode == CipherMode.CFB) { 144if (m_cipherMode == CipherMode.CBC) { 153if (m_cipherMode == CipherMode.CFB) { 370if (m_cipherMode == CipherMode.CBC) 374if (m_cipherMode == CipherMode.CFB) 476if (m_cipherMode == CipherMode.CFB) { 500if (m_cipherMode == CipherMode.CBC) { 513if (m_cipherMode == CipherMode.CFB) { 559if (m_cipherMode == CipherMode.CBC) { 619if (m_cipherMode == CipherMode.CFB) { 643if (m_cipherMode == CipherMode.CFB) { 670if (m_cipherMode == CipherMode.CBC) {
system\security\cryptography\symmetricalgorithm.cs (5)
24protected CipherMode ModeValue; 34ModeValue = CipherMode.CBC; 169public virtual CipherMode Mode { 172if ((value < CipherMode.CBC) || (CipherMode.CFB < value))
system\security\cryptography\tripledescryptoserviceprovider.cs (7)
66private ICryptoTransform _NewEncryptor (byte[] rgbKey, CipherMode mode, byte[] rgbIV, int feedbackSize, CryptoAPITransformMode encryptMode) { 74if (mode == CipherMode.OFB) 77if ((mode == CipherMode.CFB) && (feedbackSize != 8)) 87if (mode != CipherMode.CBC) { 94if (mode != CipherMode.ECB) { 115if ((mode == CipherMode.OFB) || (mode == CipherMode.CFB)) {
System.Core (21)
System\Security\Cryptography\AesCryptoServiceProvider.cs (1)
213if (Mode != CipherMode.ECB && IVValue == null) {
System\Security\Cryptography\AesManaged.cs (5)
63public override CipherMode Mode { 67Contract.Ensures(m_impl.Mode != CipherMode.CFB && m_impl.Mode != CipherMode.OFB); 72if (value == CipherMode.CFB || value == CipherMode.OFB) {
System\Security\Cryptography\BCryptNative.cs (6)
377internal static SafeBCryptAlgorithmHandle GetSharedHandle(CipherMode cipherMode) 383case CipherMode.CBC: 385case CipherMode.ECB: 411internal static SafeBCryptAlgorithmHandle GetSharedHandle(CipherMode cipherMode) 417case CipherMode.CBC: 419case CipherMode.ECB:
System\Security\Cryptography\CapiSymmetricAlgorithm.cs (9)
47CipherMode cipherMode, 363private static byte[] ProcessIV(byte[] iv, int blockSize, CipherMode cipherMode) { 365Contract.Ensures(cipherMode == CipherMode.ECB || 379else if (cipherMode != CipherMode.ECB) { 580private static SafeCapiKeyHandle SetupKey(SafeCapiKeyHandle key, byte[] iv, CipherMode cipherMode, int feedbackSize) { 582Contract.Requires(cipherMode == CipherMode.ECB || iv != null); 595if (cipherMode != CipherMode.ECB) { 600if (cipherMode == CipherMode.CFB || cipherMode == CipherMode.OFB) {
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlAeadAes256CbcHmac256Algorithm.cs (2)
54private const CipherMode _cipherMode = CipherMode.CBC;
System.IdentityModel (4)
System\IdentityModel\EncryptedDataElement.cs (2)
83algorithm.Mode = CipherMode.CBC; 111algorithm.Mode = CipherMode.CBC;
System\IdentityModel\RijndaelCryptoServiceProvider.cs (2)
24if (this.ModeValue != CipherMode.CBC) 36if (this.ModeValue != CipherMode.CBC)
System.Security (9)
system\security\cryptography\xml\encryptedxml.cs (7)
102private CipherMode m_mode; 122m_mode = CipherMode.CBC; 178public CipherMode Mode { 657CipherMode origMode = symmetricAlgorithm.Mode; 674if (m_mode == CipherMode.ECB) { 707CipherMode origMode = symmetricAlgorithm.Mode; 713if (m_mode != CipherMode.ECB)
system\security\cryptography\xml\symmetrickeywrap.cs (2)
108aes.Mode = CipherMode.ECB; 159aes.Mode = CipherMode.ECB;
System.ServiceModel (2)
System\ServiceModel\Security\CryptoHelper.cs (2)
154algorithm.Mode = CipherMode.CBC; 246algorithm.Mode = CipherMode.CBC;