1 implementation of BlockSizeInBytes
System.Security.Cryptography (1)
System\Security\Cryptography\OpenSslCipherLite.cs (1)
21
public int
BlockSizeInBytes
{ get; }
9 references to BlockSizeInBytes
System.Security.Cryptography (9)
System\Security\Cryptography\UniversalCryptoOneShot.cs (9)
41
bytesWritten = SymmetricPadding.GetPaddingLength(transformBuffer, paddingMode, cipher.
BlockSizeInBytes
);
61
input.Length - cipher.
BlockSizeInBytes
> output.Length)
82
cipher.
BlockSizeInBytes
);
108
Debug.Assert(input.Length > cipher.
BlockSizeInBytes
);
119
ReadOnlySpan<byte> unpaddedBlocks = input[..^cipher.
BlockSizeInBytes
];
120
ReadOnlySpan<byte> paddedBlock = input[^cipher.
BlockSizeInBytes
..];
121
Debug.Assert(paddedBlock.Length % cipher.
BlockSizeInBytes
== 0);
133
cipher.
BlockSizeInBytes
);
175
int unpaddedLength = SymmetricPadding.GetPaddingLength(decryptedBuffer, paddingMode, cipher.
BlockSizeInBytes
); // validates padding