28 references to None
System.Security.Cryptography (24)
System\Security\Cryptography\SymmetricAlgorithm.cs (18)
165
if ((value < PaddingMode.
None
) || (value > PaddingMode.ISO10126))
262
/// The padding mode <see cref="PaddingMode.
None
" /> was used, but <paramref name="plaintextLength" />
306
/// The padding mode <see cref="PaddingMode.
None
" /> was used, but <paramref name="plaintextLength" />
327
case PaddingMode.
None
when remainder != 0:
329
case PaddingMode.
None
:
380
/// The padding mode <see cref="PaddingMode.
None
" /> was used, but <paramref name="plaintextLength" />
394
public int GetCiphertextLengthCfb(int plaintextLength, PaddingMode paddingMode = PaddingMode.
None
, int feedbackSizeInBits = 8)
406
case PaddingMode.
None
when remainder != 0:
408
case PaddingMode.
None
:
1012
public byte[] DecryptCfb(byte[] ciphertext, byte[] iv, PaddingMode paddingMode = PaddingMode.
None
, int feedbackSizeInBits = 8)
1065
PaddingMode paddingMode = PaddingMode.
None
,
1142
PaddingMode paddingMode = PaddingMode.
None
,
1202
PaddingMode paddingMode = PaddingMode.
None
,
1255
PaddingMode paddingMode = PaddingMode.
None
,
1305
PaddingMode paddingMode = PaddingMode.
None
,
1374
PaddingMode paddingMode = PaddingMode.
None
,
1434
PaddingMode paddingMode = PaddingMode.
None
,
1618
if (paddingMode < PaddingMode.
None
|| paddingMode > PaddingMode.ISO10126)
System\Security\Cryptography\SymmetricPadding.cs (6)
20
case PaddingMode.
None
when (remainder != 0):
22
case PaddingMode.
None
:
44
case PaddingMode.
None
when (paddingRemainder != 0):
47
case PaddingMode.
None
:
142
case PaddingMode.
None
:
205
case PaddingMode.
None
:
System.Security.Cryptography.Xml (4)
System\Security\Cryptography\Xml\SymmetricKeyWrap.cs (4)
47
tripleDES.Padding = PaddingMode.
None
;
86
tripleDES.Padding = PaddingMode.
None
;
137
aes.Padding = PaddingMode.
None
;
200
aes.Padding = PaddingMode.
None
;