34 references to CFB
System.Security.Cryptography (34)
src\runtime\src\libraries\Common\src\Interop\Windows\BCrypt\AesBCryptModes.cs (2)
24
(CipherMode.
CFB
, 16) => s_hAlgCfb128.Value,
25
(CipherMode.
CFB
, 1) => s_hAlgCfb8.Value,
src\runtime\src\libraries\Common\src\Interop\Windows\BCrypt\DESBCryptModes.cs (1)
23
(CipherMode.
CFB
, 1) => s_hAlgCfb8.Value,
src\runtime\src\libraries\Common\src\Interop\Windows\BCrypt\TripleDesBCryptModes.cs (2)
28
(CipherMode.
CFB
, 1) => s_hAlgCfb8.Value,
29
(CipherMode.
CFB
, 8) => s_hAlgCfb64.Value,
System\Security\Cryptography\AesCng.Windows.cs (2)
218
CipherMode.
CFB
,
238
CipherMode.
CFB
,
System\Security\Cryptography\AesImplementation.cs (4)
205
CipherMode.
CFB
,
233
CipherMode.
CFB
,
269
if (Mode == CipherMode.
CFB
)
290
throw new CryptographicException(SR.Format(SR.Cryptography_CipherModeFeedbackNotSupported, feedback, CipherMode.
CFB
));
System\Security\Cryptography\BasicSymmetricCipherCsp.cs (1)
25
if (cipherMode == CipherMode.
CFB
)
System\Security\Cryptography\BasicSymmetricCipherLiteNCrypt.cs (1)
47
CipherMode.
CFB
=> s_CFBMode,
System\Security\Cryptography\CngSymmetricAlgorithmCore.cs (5)
240
Debug.Assert(mode == CipherMode.
CFB
? feedbackSizeInBits == 8 : true);
257
Debug.Assert(mode == CipherMode.
CFB
? feedbackSizeInBits == 8 : true);
291
if (mode != CipherMode.
CFB
)
298
throw new CryptographicException(SR.Format(SR.Cryptography_CipherModeFeedbackNotSupported, feedbackSizeInBits, CipherMode.
CFB
));
305
throw new CryptographicException(SR.Format(SR.Cryptography_CipherModeFeedbackNotSupported, feedbackSizeInBits, CipherMode.
CFB
));
System\Security\Cryptography\DesImplementation.cs (4)
80
if (Mode == CipherMode.
CFB
)
193
CipherMode.
CFB
,
218
CipherMode.
CFB
,
237
throw new CryptographicException(SR.Format(SR.Cryptography_CipherModeFeedbackNotSupported, feedback, CipherMode.
CFB
));
System\Security\Cryptography\Helpers.cs (1)
332
return (mode == CipherMode.
CFB
? feedbackSizeInBits : algorithm.BlockSize) / 8;
System\Security\Cryptography\RC2Implementation.cs (4)
73
if (Mode == CipherMode.
CFB
)
188
throw new CryptographicException(SR.Format(SR.Cryptography_CipherModeNotSupported, CipherMode.
CFB
));
199
throw new CryptographicException(SR.Format(SR.Cryptography_CipherModeNotSupported, CipherMode.
CFB
));
205
throw new CryptographicException(SR.Format(SR.Cryptography_CipherModeFeedbackNotSupported, feedback, CipherMode.
CFB
));
System\Security\Cryptography\SymmetricAlgorithm.cs (1)
149
if (!(value == CipherMode.CBC || value == CipherMode.ECB || value == CipherMode.
CFB
))
System\Security\Cryptography\TripleDESCng.Windows.cs (2)
186
CipherMode.
CFB
,
206
CipherMode.
CFB
,
System\Security\Cryptography\TripleDesImplementation.cs (4)
77
if (Mode == CipherMode.
CFB
)
190
CipherMode.
CFB
,
215
CipherMode.
CFB
,
234
throw new CryptographicException(SR.Format(SR.Cryptography_CipherModeFeedbackNotSupported, feedback, CipherMode.
CFB
));