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)
41bytesWritten = SymmetricPadding.GetPaddingLength(transformBuffer, paddingMode, cipher.BlockSizeInBytes); 61input.Length - cipher.BlockSizeInBytes > output.Length) 82cipher.BlockSizeInBytes); 108Debug.Assert(input.Length > cipher.BlockSizeInBytes); 119ReadOnlySpan<byte> unpaddedBlocks = input[..^cipher.BlockSizeInBytes]; 120ReadOnlySpan<byte> paddedBlock = input[^cipher.BlockSizeInBytes..]; 121Debug.Assert(paddedBlock.Length % cipher.BlockSizeInBytes == 0); 133cipher.BlockSizeInBytes); 175int unpaddedLength = SymmetricPadding.GetPaddingLength(decryptedBuffer, paddingMode, cipher.BlockSizeInBytes); // validates padding