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