1 implementation of BlockSizeInBytes
System.Security.Cryptography (1)
System\Security\Cryptography\OpenSslCipherLite.cs (1)
21public int BlockSizeInBytes { get; }
9 references to BlockSizeInBytes
System.Security.Cryptography (9)
System\Security\Cryptography\UniversalCryptoOneShot.cs (9)
50bytesWritten = SymmetricPadding.GetPaddingLength(transformBuffer, paddingMode, cipher.BlockSizeInBytes); 69if (!depaddingRequired || input.Length - cipher.BlockSizeInBytes > output.Length) 90cipher.BlockSizeInBytes); 116Debug.Assert(input.Length > cipher.BlockSizeInBytes); 127ReadOnlySpan<byte> unpaddedBlocks = input[..^cipher.BlockSizeInBytes]; 128ReadOnlySpan<byte> paddedBlock = input[^cipher.BlockSizeInBytes..]; 129Debug.Assert(paddedBlock.Length % cipher.BlockSizeInBytes == 0); 141cipher.BlockSizeInBytes); 183int unpaddedLength = SymmetricPadding.GetPaddingLength(decryptedBuffer, paddingMode, cipher.BlockSizeInBytes); // validates padding