5 references to GetPaddingLength
System.Security.Cryptography (5)
System\Security\Cryptography\UniversalCryptoDecryptor.cs (1)
116
unpaddedLength = SymmetricPadding.
GetPaddingLength
(decryptedBytes, PaddingMode, InputBlockSize);
System\Security\Cryptography\UniversalCryptoOneShot.cs (4)
50
bytesWritten = SymmetricPadding.
GetPaddingLength
(transformBuffer, paddingMode, cipher.BlockSizeInBytes);
87
int depaddedLength = SymmetricPadding.
GetPaddingLength
(
138
int depaddedLength = SymmetricPadding.
GetPaddingLength
(
183
int unpaddedLength = SymmetricPadding.
GetPaddingLength
(decryptedBuffer, paddingMode, cipher.BlockSizeInBytes); // validates padding