3 references to IsAllowableSymmetricAlgorithmBlockSize
Microsoft.AspNetCore.DataProtection (3)
AuthenticatedEncryption\CngCbcAuthenticatedEncryptorFactory.cs (1)
131
AlgorithmAssert.
IsAllowableSymmetricAlgorithmBlockSize
(checked(algorithmHandle.GetCipherBlockLength() * 8));
Cng\CbcAuthenticatedEncryptor.cs (1)
52
AlgorithmAssert.
IsAllowableSymmetricAlgorithmBlockSize
(checked(_symmetricAlgorithmBlockSizeInBytes * 8));
Managed\ManagedAuthenticatedEncryptor.cs (1)
65
AlgorithmAssert.
IsAllowableSymmetricAlgorithmBlockSize
(checked((uint)_symmetricAlgorithmBlockSizeInBytes * 8));