8 instantiations of HMACSHA512
Microsoft.AspNetCore.Cryptography.KeyDerivation (1)
PBKDF2\ManagedPbkdf2Provider.cs (1)
81return new HMACSHA512(passwordBytes);
Microsoft.AspNetCore.DataProtection (3)
AuthenticatedEncryption\ManagedAuthenticatedEncryptorFactory.cs (1)
74return () => new HMACSHA512();
Managed\AesGcmAuthenticatedEncryptor.cs (1)
38private static readonly Func<byte[], HashAlgorithm> _kdkPrfFactory = key => new HMACSHA512(key); // currently hardcoded to SHA512
Managed\ManagedAuthenticatedEncryptor.cs (1)
29private static readonly Func<byte[], HashAlgorithm> _kdkPrfFactory = key => new HMACSHA512(key); // currently hardcoded to SHA512
Microsoft.AspNetCore.DataProtection.Tests (4)
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptorTests.cs (3)
110{ EncryptionAlgorithm.AES_128_CBC, ValidationAlgorithm.HMACSHA512, () => new HMACSHA512() }, 111{ EncryptionAlgorithm.AES_192_CBC, ValidationAlgorithm.HMACSHA512, () => new HMACSHA512() }, 112{ EncryptionAlgorithm.AES_256_CBC, ValidationAlgorithm.HMACSHA512, () => new HMACSHA512() },
SP800_108\SP800_108Tests.cs (1)
167bytes => new HMACSHA512(bytes), derivedSubkeySegment);
12 references to HMACSHA512
Microsoft.AspNetCore.DataProtection (5)
AuthenticatedEncryption\AuthenticatedEncryptorFactory.cs (1)
193return typeof(HMACSHA512);
AuthenticatedEncryption\ConfigurationModel\ManagedAlgorithmHelpers.cs (1)
20typeof(HMACSHA512)
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorConfiguration.cs (2)
101else if (type == typeof(HMACSHA512)) 103return nameof(HMACSHA512);
AuthenticatedEncryption\ManagedAuthenticatedEncryptorFactory.cs (1)
72else if (configuration.ValidationAlgorithmType == typeof(HMACSHA512))
Microsoft.AspNetCore.DataProtection.Tests (2)
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptorDeserializerTests.cs (1)
18[InlineData(typeof(Aes), typeof(HMACSHA512))]
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptorTests.cs (1)
43[InlineData(typeof(Aes), typeof(HMACSHA512))]
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
889[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.HMACSHA512))]
netstandard (1)
netstandard.cs (1)
1886[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.HMACSHA512))]
System.Security.Cryptography (2)
System\Security\Cryptography\CryptoConfig.cs (1)
119Type HMACSHA512Type = typeof(System.Security.Cryptography.HMACSHA512);
System\Security\Cryptography\Helpers.cs (1)
367return HMACSHA512.HashSizeInBytes;
System.Security.Cryptography.Algorithms (1)
System.Security.Cryptography.Algorithms.cs (1)
32[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.HMACSHA512))]