5 references to IsAllowableSymmetricAlgorithmKeySize
Microsoft.AspNetCore.DataProtection (5)
AuthenticatedEncryption\CngCbcAuthenticatedEncryptorFactory.cs (1)
132
AlgorithmAssert.
IsAllowableSymmetricAlgorithmKeySize
(checked((uint)configuration.EncryptionAlgorithmKeySize));
AuthenticatedEncryption\CngGcmAuthenticatedEncryptorFactory.cs (1)
98
AlgorithmAssert.
IsAllowableSymmetricAlgorithmKeySize
(checked((uint)configuration.EncryptionAlgorithmKeySize));
Cng\CbcAuthenticatedEncryptor.cs (1)
53
AlgorithmAssert.
IsAllowableSymmetricAlgorithmKeySize
(checked(_symmetricAlgorithmSubkeyLengthInBytes * 8));
Cng\CngGcmAuthenticatedEncryptor.cs (1)
43
AlgorithmAssert.
IsAllowableSymmetricAlgorithmKeySize
(checked(symmetricAlgorithmKeySizeInBytes * 8));
Managed\ManagedAuthenticatedEncryptor.cs (1)
64
AlgorithmAssert.
IsAllowableSymmetricAlgorithmKeySize
(checked((uint)_symmetricAlgorithmSubkeyLengthInBytes * 8));