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