Test project file ./src/Microsoft.Win32.Registry.AccessControl/tests/Microsoft.Win32.Registry.AccessControl.Tests.csproj indicates this test is not supported on NetBSD, skipping
Test project file ./src/Microsoft.Win32.Registry/tests/Microsoft.Win32.Registry.Tests.csproj indicates this test is not supported on NetBSD, skipping
error: Did not find corresponding test dll for ./src/Microsoft.VisualBasic/tests/Microsoft.VisualBasic.Tests.csproj at /public/bin/tests/NetBSD.AnyCPU.Debug//Microsoft.VisualBasic.Tests/dnxcore50/Microsoft.VisualBasic.Tests.dll
error: Did not find corresponding test dll for ./src/Scenarios/tests/InterProcessCommunication/InterProcessCommunication.Tests.csproj at /public/bin/tests/NetBSD.AnyCPU.Debug//InterProcessCommunication.Tests/dnxcore50/InterProcessCommunication.Tests.dll
error: One or more tests failed while running tests from 'System.Collections.Concurrent.Tests'. Exit code 134.
Finished: System.Collections.NonGeneric.Tests
=== TEST EXECUTION SUMMARY ===
System.Collections.NonGeneric.Tests Total: 737, Errors: 0, Failed: 0, Skipped: 0, Time: 67,259s
Discovered: System.Collections.Tests
Starting: System.Collections.Tests
/run-test.sh: linia 135: 21957 Killed timeout -s SIGKILL 15m ./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing $OuterLoop -notrait category=$xunitOSCategory -notrait Benchmark=true
error: One or more tests failed while running tests from 'System.Collections.Immutable.Tests'. Exit code 137.
/run-test.sh: linia 135: 13406 Killed timeout -s SIGKILL 15m ./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing $OuterLoop -notrait category=$xunitOSCategory -notrait Benchmark=true
error: One or more tests failed while running tests from 'System.Collections.Tests'. Exit code 137.
/run-test.sh: linia 135: 1079 Killed timeout -s SIGKILL 15m ./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing $OuterLoop -notrait category=$xunitOSCategory -notrait Benchmark=true
error: One or more tests failed while running tests from 'System.Collections.Specialized.Tests'. Exit code 137.
=== TEST EXECUTION SUMMARY ===
System.Composition.Tests Total: 143, Errors: 0, Failed: 0, Skipped: 0, Time: 43,543s
error: Did not find corresponding test dll for ./src/System.Diagnostics.Process/tests/System.Diagnostics.Process.Tests.csproj at /public/bin/tests/NetBSD.AnyCPU.Debug//System.Diagnostics.Process.Tests/dnxcore50/System.Diagnostics.Process.Tests.dll
error: One or more tests failed while running tests from 'System.Diagnostics.DiagnosticSource.Tests'. Exit code 134.
Starting: System.Diagnostics.Tools.Tests
Finished: System.Diagnostics.TraceSource.Tests
error: One or more tests failed while running tests from 'System.Diagnostics.Tracing.Tests'. Exit code 134.
Discovered: System.Dynamic.Runtime.Tests
Starting: System.Dynamic.Runtime.Tests
/run-test.sh: linia 135: 16612 Killed timeout -s SIGKILL 15m ./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing $OuterLoop -notrait category=$xunitOSCategory -notrait Benchmark=true
error: One or more tests failed while running tests from 'System.Dynamic.Runtime.Tests'. Exit code 137.
Test project file ./src/System.IO.FileSystem.AccessControl/tests/System.IO.FileSystem.AccessControl.Tests.csproj indicates this test is not supported on NetBSD, skipping
error: Did not find corresponding test dll for ./src/System.IO.FileSystem.Watcher/tests/System.IO.FileSystem.Watcher.Tests.csproj at /public/bin/tests/NetBSD.AnyCPU.Debug//System.IO.FileSystem.Watcher.Tests/dnxcore50/System.IO.FileSystem.Watcher.Tests.dll
error: One or more tests failed while running tests from 'System.Net.NameResolution.Functional.Tests'. Exit code 134.
assertion "false && "Unknown gethostbyname/gethostbyaddr error code"" failed: file "/tmp/pkgsrc-tmp/wip/corefx-git/work/corefx/src/Native/System.Native/pal_networking.cpp", line 419, function "int ConvertGetHostErrorPlatformToPal(int)"
error: One or more tests failed while running tests from 'System.Net.NameResolution.Pal.Tests'. Exit code 134.
Discovered: System.Net.Http.Functional.Tests
Discovered: System.Net.Http.Unit.Tests
Starting: System.Net.Http.Functional.Tests
Starting: System.Net.Http.Unit.Tests
error: One or more tests failed while running tests from 'System.Net.Http.Functional.Tests'. Exit code 134.
Discovered: System.Linq.Tests
Finished: System.Net.Http.Unit.Tests
=== TEST EXECUTION SUMMARY ===
System.Net.Http.Unit.Tests Total: 993, Errors: 0, Failed: 0, Skipped: 0, Time: 23,607s
Starting: System.Linq.Tests
/run-test.sh: linia 135: 29277 Killed timeout -s SIGKILL 15m ./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing $OuterLoop -notrait category=$xunitOSCategory -notrait Benchmark=true
error: One or more tests failed while running tests from 'System.Linq.Tests'. Exit code 137.
error: One or more tests failed while running tests from 'System.Net.Security.Tests'. Exit code 134.
System.Net.Primitives.PalTests.IPAddressPalTests.IPv6StringToAddress_Valid_Port_2 [FAIL]
Assert.Equal() Failure
Expected: 0
Actual: 5
Stack Trace:
at System.Net.Primitives.PalTests.IPAddressPalTests.IPv6StringToAddress_Valid_Port_2()
Finished: System.Net.Primitives.Pal.Tests
=== TEST EXECUTION SUMMARY ===
System.Net.Primitives.Pal.Tests Total: 104, Errors: 0, Failed: 1, Skipped: 0, Time: 19,651s
error: One or more tests failed while running tests from 'System.Net.Requests.Tests'. Exit code 134.
error: One or more tests failed while running tests from 'System.Net.Primitives.Pal.Tests'. Exit code 1.
error: One or more tests failed while running tests from 'System.Net.Primitives.Functional.Tests'. Exit code 134.
Starting: System.Net.Sockets.AsyncServer.Tests
Starting: System.Net.Sockets.APMServer.Tests
Discovering: System.Net.WebHeaderCollection.Tests
Discovered: System.Net.Sockets.APM.Performance.Tests
Discovering: System.Net.Sockets.Async.Performance.Tests
Info: System.Net.Sockets.APM.Performance.Tests has no tests to run
Discovered: System.Reflection.Context.Tests
Discovered: System.Net.WebSockets.Client.Tests
Info: System.Net.WebSockets.Client.Tests has no tests to run
Starting: System.Reflection.Context.Tests
Discovering: System.Net.Sockets.Tests
Discovered: System.Net.WebHeaderCollection.Tests
Discovering: System.Numerics.Vectors.Tests
Starting: System.Net.WebHeaderCollection.Tests
Discovered: System.Net.Sockets.Async.Performance.Tests
Info: System.Net.Sockets.Async.Performance.Tests has no tests to run
Finished: System.Net.WebSockets.Tests
error: One or more tests failed while running tests from 'System.Net.Sockets.Tests'. Exit code 134.
Starting: System.Numerics.Vectors.Tests
Starting: System.ObjectModel.Tests
Finished: System.ObjectModel.Tests
=== TEST EXECUTION SUMMARY ===
System.ObjectModel.Tests Total: 1828, Errors: 0, Failed: 0, Skipped: 0, Time: 74,033s
/run-test.sh: linia 135: 10197 Killed timeout -s SIGKILL 15m ./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing $OuterLoop -notrait category=$xunitOSCategory -notrait Benchmark=true
error: One or more tests failed while running tests from 'System.Numerics.Vectors.Tests'. Exit code 137.
=== TEST EXECUTION SUMMARY ===
System.Runtime.Loader.DefaultContext.Tests Total: 2, Errors: 0, Failed: 0, Skipped: 0, Time: 11,897s
Starting: System.Security.Cryptography.Algorithms.Tests
System.Runtime.Loader.Tests.AssemblyLoadContextTest.LoadAssemblyByPath_ValidUserAssembly [FAIL]
System.IO.FileNotFoundException : Could not load the specified file.
Stack Trace:
at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyName(AssemblyName assemblyName)
at System.Runtime.Loader.Tests.AssemblyLoadContextTest.LoadAssemblyByPath_ValidUserAssembly()
System.Runtime.Loader.Tests.AssemblyLoadContextTest.GetLoadContextTest_ValidUserAssembly [FAIL]
System.IO.FileNotFoundException : Could not load the specified file.
Stack Trace:
at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyName(AssemblyName assemblyName)
at System.Runtime.Loader.Tests.AssemblyLoadContextTest.GetLoadContextTest_ValidUserAssembly()
System.Runtime.Loader.Tests.AssemblyLoadContextTest.LoadAssemblyByStream_ValidUserAssembly [FAIL]
System.IO.FileNotFoundException : Could not load the specified file.
Stack Trace:
at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyName(AssemblyName assemblyName)
at System.Runtime.Loader.Tests.AssemblyLoadContextTest.LoadAssemblyByStream_ValidUserAssembly()
Finished: System.Runtime.Loader.Tests
=== TEST EXECUTION SUMMARY ===
Discovered: System.Runtime.Serialization.Json.Tests
System.Runtime.Loader.Tests Total: 10, Errors: 0, Failed: 3, Skipped: 0, Time: 15,450s
Starting: System.Runtime.Numerics.Tests
error: One or more tests failed while running tests from 'System.Runtime.Loader.Tests'. Exit code 3.
Starting: System.Runtime.Serialization.Json.Tests
Discovered: System.Runtime.Serialization.Xml.Tests
Starting: System.Runtime.Serialization.Xml.Tests
Finished: System.Security.Cryptography.Algorithms.Tests
=== TEST EXECUTION SUMMARY ===
System.Runtime.Serialization.Xml.Tests Total: 141, Errors: 0, Failed: 0, Skipped: 0, Time: 118,842s
Assertion failed.Description: Assertion failed.Assertion failed.Description: Assertion failed.Assertion failed.Description: Assertion failed.Assertion failed.Description: Assertion failed../run-test.sh: linia 135: 13018 Killed timeout -s SIGKILL 15m ./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing $OuterLoop -notrait category=$xunitOSCategory -notrait Benchmark=true
error: One or more tests failed while running tests from 'System.Runtime.Tests'. Exit code 137.
/run-test.sh: linia 135: 6435 Killed timeout -s SIGKILL 15m ./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing $OuterLoop -notrait category=$xunitOSCategory -notrait Benchmark=true
error: One or more tests failed while running tests from 'System.Runtime.Numerics.Tests'. Exit code 137.
Test project file ./src/System.Security.Principal.Windows/tests/System.Security.Principal.Windows.Tests.csproj indicates this test is not supported on NetBSD, skipping
Test project file ./src/System.Security.Principal/tests/System.Security.Principal.Tests.csproj indicates this test is not supported on NetBSD, skipping
Test project file ./src/System.ServiceProcess.ServiceController/tests/System.ServiceProcess.ServiceController.Tests/System.ServiceProcess.ServiceController.Tests.csproj indicates this test is not supported on NetBSD, skipping
Discovering: System.Security.Cryptography.X509Certificates.Tests
Discovering: System.Security.Cryptography.Primitives.Tests
Discovering: System.Security.Cryptography.Csp.Tests
Discovered: System.Security.Cryptography.Encoding.Tests
Discovering: System.Security.Cryptography.Cng.Tests
Discovered: System.Security.Cryptography.Primitives.Tests
Starting: System.Security.Cryptography.Encoding.Tests
Discovered: System.Security.Cryptography.OpenSsl.Tests
Starting: System.Security.Cryptography.Primitives.Tests
Discovered: System.Security.Cryptography.Csp.Tests
Discovered: System.Security.Cryptography.X509Certificates.Tests
Starting: System.Security.Cryptography.OpenSsl.Tests
Starting: System.Security.Cryptography.Csp.Tests
Discovered: System.Security.Cryptography.Cng.Tests
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.NamedKey_DefaultProvider [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
Starting: System.Security.Cryptography.Cng.Tests
Finished: System.Security.Cryptography.Encoding.Tests
=== TEST EXECUTION SUMMARY ===
Starting: System.Security.Cryptography.X509Certificates.Tests
System.Security.Cryptography.Encoding.Tests Total: 143, Errors: 0, Failed: 0, Skipped: 0, Time: 18,799s
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeKeyHandle()
at System.Security.Cryptography.RSACryptoServiceProvider..ctor(Int32 keySize, CspParameters parameters, Boolean useDefaultKeySize)
at System.Security.Cryptography.RSACryptoServiceProvider..ctor(CspParameters parameters)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.RsaKeyLifetime.Dispose()
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.NamedKey_DefaultProvider()
System.Security.Cryptography.Rsa.Tests.ImportExportCspBlob.ExportImportPublicPrivate [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.ImportExportCspBlob.ExportImportPublicPrivate()
System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedHashSignature_SHA1_2048 [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectHashSignature(Byte[] expectedSignature, Byte[] dataHash, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedHashSignature_SHA1_2048()
System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateKey_4096 [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeKeyHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_KeySize()
at System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateKey(Func`2 getSize)
at System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateKey(Int32 size)
at System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateKey_4096()
System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.DecryptSavedAnswer [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.DecryptSavedAnswer()
System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.LargeKeyCryptRoundtrip [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.LargeKeyCryptRoundtrip()
System.Security.Cryptography.Rsa.Tests.ImportExportCspBlob.RSAParametersToBlob_PublicPrivate [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.ImportExportCspBlob.RSAParametersToBlob_PublicPrivate()
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.PublicOnly_WithNoPrivate [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.AcquireCsp(CspParameters cspParameters, SafeProvHandle& safeProvHandle)
at System.Security.Cryptography.RSACryptoServiceProvider.AcquireSafeProviderHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.PublicOnly_WithNoPrivate()
System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateSecondMinKey [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeKeyHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_KeySize()
at System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateKey(Func`2 getSize)
at System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateSecondMinKey()
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.SignHash_BadAlgorithm [FAIL]
Assert.Throws() Failure
Expected: typeof(System.Security.Cryptography.CryptographicException)
Actual: typeof(System.DllNotFoundException): Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeKeyHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_PublicOnly()
at System.Security.Cryptography.RSACryptoServiceProvider.SignHash(Byte[] rgbHash, String str)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.<>c__DisplayClass7_0.<SignHash_BadAlgorithm>b__0()
System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedHashSignature_SHA256_1024 [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectHashSignature(Byte[] expectedSignature, Byte[] dataHash, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedHashSignature_SHA256_1024()
System.Security.Cryptography.Rsa.Tests.ImportExport.UnusualExponentImportExport [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.ImportExport.UnusualExponentImportExport()
System.Security.Cryptography.Rsa.Tests.SignVerify.NegativeVerify_BadKeysize [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.NegativeVerify_BadKeysize()
System.Security.Cryptography.Rsa.Tests.ImportExport.PublicOnlyPrivateExport [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.AcquireCsp(CspParameters cspParameters, SafeProvHandle& safeProvHandle)
at System.Security.Cryptography.RSACryptoServiceProvider.AcquireSafeProviderHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.ImportExport.PublicOnlyPrivateExport()
System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.RsaDecryptAfterExport [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeKeyHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.Encrypt(Byte[] rgb, Boolean fOAEP)
at System.Security.Cryptography.RSACryptoServiceProvider.Encrypt(Byte[] data, RSAEncryptionPadding padding)
at System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.RsaDecryptAfterExport()
System.Security.Cryptography.Rsa.Tests.ImportExportCspBlob.ExportImportPublicOnly [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.ImportExportCspBlob.ExportImportPublicOnly()
System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateKey_2048 [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeKeyHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_KeySize()
at System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateKey(Func`2 getSize)
at System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateKey(Int32 size)
at System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateKey_2048()
System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedSignature_SHA256_2048 [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectSignature(Byte[] expectedSignature, Byte[] data, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedSignature_SHA256_2048()
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.DefaultKeySize [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeKeyHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_KeySize()
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.DefaultKeySize()
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.DefaultKey_NotPersisted [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_PersistKeyInCsp()
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.DefaultKey_NotPersisted()
System.Security.Cryptography.Rsa.Tests.ImportExport.ImportNoExponent [FAIL]
Assert.Throws() Failure
Expected: typeof(System.Security.Cryptography.CryptographicException)
Actual: typeof(System.DllNotFoundException): Unable to load DLL 'api-ms-win-core-localization-l1-2-0.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.mincore.FormatMessage(Int32 dwFlags, IntPtr lpSource, UInt32 dwMessageId, Int32 dwLanguageId, StringBuilder lpBuffer, Int32 nSize, IntPtr[] arguments)
at Interop.mincore.TryGetErrorMessage(IntPtr moduleHandle, Int32 errorCode, StringBuilder sb, String& errorMsg)
at Interop.mincore.GetMessage(IntPtr moduleHandle, Int32 errorCode)
at Interop.mincore.GetMessage(Int32 errorCode)
at Internal.Cryptography.CryptoThrowHelper.ToCryptographicException(Int32 hr)
at Internal.NativeCrypto.CapiHelper.ToKeyBlob(RSAParameters rsaParameters, Int32 algId)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.ImportExport.<>c__DisplayClass7_0.<ImportNoExponent>b__0()
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.CreateKey_LegacyProvider_RoundtripBlob [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeKeyHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_CspKeyContainerInfo()
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.CreateKey_LegacyProvider_RoundtripBlob()
System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateMinKey [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeKeyHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_KeySize()
at System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateKey(Func`2 getSize)
at System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateMinKey()
System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.DecryptSavedAnswerUnusualExponent [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.DecryptSavedAnswerUnusualExponent()
System.Security.Cryptography.Rsa.Tests.ImportExportCspBlob.RSAParametersToBlob_PublicOnly [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.ImportExportCspBlob.RSAParametersToBlob_PublicOnly()
System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectSignature_SHA256_1024_Stream [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectSignature_SHA256_1024_Stream()
System.Security.Cryptography.Rsa.Tests.SignVerify.NegativeVerify_TamperedData [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.NegativeVerify_TamperedData()
System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.RsaCryptRoundtrip [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeKeyHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.Encrypt(Byte[] rgb, Boolean fOAEP)
at System.Security.Cryptography.RSACryptoServiceProvider.Encrypt(Byte[] data, RSAEncryptionPadding padding)
at System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.RsaCryptRoundtrip()
System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedHashSignature_SHA256_2048 [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectHashSignature(Byte[] expectedSignature, Byte[] dataHash, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedHashSignature_SHA256_2048()
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.NonExportable_Ephemeral [FAIL]
Assert.Throws() Failure
Expected: typeof(System.Security.Cryptography.CryptographicException)
Actual: typeof(System.DllNotFoundException): Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeKeyHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_CspKeyContainerInfo()
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.<>c__DisplayClass12_0.<NonExportable_Ephemeral>b__0()
System.Security.Cryptography.Rsa.Tests.SignVerify.NegativeVerify_WrongSignature [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.NegativeVerify_WrongSignature()
System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.UnusualExponentCryptRoundtrip [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.UnusualExponentCryptRoundtrip()
System.Security.Cryptography.Rsa.Tests.ImportExport.LargeKeyImportExport [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.ImportExport.LargeKeyImportExport()
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.NamedKey_AlternateProvider [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeKeyHandle()
at System.Security.Cryptography.RSACryptoServiceProvider..ctor(Int32 keySize, CspParameters parameters, Boolean useDefaultKeySize)
at System.Security.Cryptography.RSACryptoServiceProvider..ctor(CspParameters parameters)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.RsaKeyLifetime.Dispose()
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.NamedKey_AlternateProvider()
System.Security.Cryptography.Rsa.Tests.SignVerify.SignAndVerify_SHA256_1024 [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.SignAndVerify(Byte[] data, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.SignAndVerify_SHA256_1024()
System.Security.Cryptography.Rsa.Tests.ImportExport.ImportNoModulus [FAIL]
Assert.Throws() Failure
Expected: typeof(System.Security.Cryptography.CryptographicException)
Actual: typeof(System.DllNotFoundException): Unable to load DLL 'api-ms-win-core-localization-l1-2-0.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.mincore.FormatMessage(Int32 dwFlags, IntPtr lpSource, UInt32 dwMessageId, Int32 dwLanguageId, StringBuilder lpBuffer, Int32 nSize, IntPtr[] arguments)
at Interop.mincore.TryGetErrorMessage(IntPtr moduleHandle, Int32 errorCode, StringBuilder sb, String& errorMsg)
at Interop.mincore.GetMessage(IntPtr moduleHandle, Int32 errorCode)
at Interop.mincore.GetMessage(Int32 errorCode)
at Internal.Cryptography.CryptoThrowHelper.ToCryptographicException(Int32 hr)
at Internal.NativeCrypto.CapiHelper.ToKeyBlob(RSAParameters rsaParameters, Int32 algId)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.ImportExport.<>c__DisplayClass8_0.<ImportNoModulus>b__0()
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.PublicOnly_WithPrivateKey [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.PublicOnly_WithPrivateKey()
System.Security.Cryptography.Rsa.Tests.ImportExport.PaddedExport [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.ImportExport.PaddedExport()
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.PublicOnly_DefaultKey [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeKeyHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_PublicOnly()
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.PublicOnly_DefaultKey()
System.Security.Cryptography.Rsa.Tests.SignVerify.NegativeVerify_WrongAlgorithm [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.NegativeVerify_WrongAlgorithm()
System.Security.Cryptography.Rsa.Tests.ImportExport.ImportReset [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeKeyHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ExportCspBlob(Boolean includePrivateParameters)
at System.Security.Cryptography.RSACryptoServiceProvider.ExportParameters(Boolean includePrivateParameters)
at System.Security.Cryptography.Rsa.Tests.ImportExport.ImportReset()
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.ApiInterop_OldToNew [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.SignHash(Byte[] rgbHash, Int32 calgHash)
at System.Security.Cryptography.RSACryptoServiceProvider.SignData(Byte[] buffer, Object halg)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.ApiInterop_OldToNew()
System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedSignature_SHA256_1024 [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectSignature(Byte[] expectedSignature, Byte[] data, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedSignature_SHA256_1024()
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.ApiInterop_OldToNew_Positional [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.SignHash(Byte[] rgbHash, Int32 calgHash)
at System.Security.Cryptography.RSACryptoServiceProvider.SignData(Byte[] buffer, Int32 offset, Int32 count, Object halg)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.ApiInterop_OldToNew_Positional()
System.Security.Cryptography.Rsa.Tests.SignVerify.SignAndVerify_SHA1_2048 [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.SignAndVerify(Byte[] data, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.SignAndVerify_SHA1_2048()
System.Security.Cryptography.Rsa.Tests.ImportExport.MultiExport [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.ImportExport.MultiExport()
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.DefaultKey_Parameters [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeKeyHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_CspKeyContainerInfo()
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.DefaultKey_Parameters()
System.Security.Cryptography.Rsa.Tests.SignVerify.SignAndVerify_SHA1_1024 [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.SignAndVerify(Byte[] data, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.SignAndVerify_SHA1_1024()
System.Security.Cryptography.Rsa.Tests.ImportExport.ImportNoDP [FAIL]
Assert.Throws() Failure
Expected: typeof(System.Security.Cryptography.CryptographicException)
Actual: typeof(System.DllNotFoundException): Unable to load DLL 'api-ms-win-core-localization-l1-2-0.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.mincore.FormatMessage(Int32 dwFlags, IntPtr lpSource, UInt32 dwMessageId, Int32 dwLanguageId, StringBuilder lpBuffer, Int32 nSize, IntPtr[] arguments)
at Interop.mincore.TryGetErrorMessage(IntPtr moduleHandle, Int32 errorCode, StringBuilder sb, String& errorMsg)
at Interop.mincore.GetMessage(IntPtr moduleHandle, Int32 errorCode)
at Interop.mincore.GetMessage(Int32 errorCode)
at Internal.Cryptography.CryptoThrowHelper.ToCryptographicException(Int32 hr)
at Internal.NativeCrypto.CapiHelper.ToKeyBlob(RSAParameters rsaParameters, Int32 algId)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.ImportExport.<>c__DisplayClass9_0.<ImportNoDP>b__0()
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.NonExportable_Persisted [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeKeyHandle()
at System.Security.Cryptography.RSACryptoServiceProvider..ctor(Int32 keySize, CspParameters parameters, Boolean useDefaultKeySize)
at System.Security.Cryptography.RSACryptoServiceProvider..ctor(CspParameters parameters)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.RsaKeyLifetime.Dispose()
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.NonExportable_Persisted()
System.Security.Cryptography.Rsa.Tests.SignVerify.VerifySignature_SHA1_2048 [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.AcquireCsp(CspParameters cspParameters, SafeProvHandle& safeProvHandle)
at System.Security.Cryptography.RSACryptoServiceProvider.AcquireSafeProviderHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifySignature(Byte[] signature, Byte[] data, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifySignature_SHA1_2048()
System.Security.Cryptography.Rsa.Tests.ImportExport.ExportAutoKey [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeKeyHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_KeySize()
at System.Security.Cryptography.Rsa.Tests.ImportExport.ExportAutoKey()
System.Security.Cryptography.Rsa.Tests.SignVerify.VerifyHashSignature_SHA256_2048 [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.AcquireCsp(CspParameters cspParameters, SafeProvHandle& safeProvHandle)
at System.Security.Cryptography.RSACryptoServiceProvider.AcquireSafeProviderHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifyHashSignature(Byte[] signature, Byte[] dataHash, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifyHashSignature_SHA256_2048()
System.Security.Cryptography.Rsa.Tests.SignVerify.VerifySignature_SHA256_1024 [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.AcquireCsp(CspParameters cspParameters, SafeProvHandle& safeProvHandle)
at System.Security.Cryptography.RSACryptoServiceProvider.AcquireSafeProviderHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifySignature(Byte[] signature, Byte[] data, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifySignature_SHA256_1024()
System.Security.Cryptography.Rsa.Tests.SignVerify.VerifySignature_SHA256_2048 [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.AcquireCsp(CspParameters cspParameters, SafeProvHandle& safeProvHandle)
at System.Security.Cryptography.RSACryptoServiceProvider.AcquireSafeProviderHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifySignature(Byte[] signature, Byte[] data, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifySignature_SHA256_2048()
System.Security.Cryptography.Rsa.Tests.SignVerify.VerifyHashSignature_SHA1_2048 [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.AcquireCsp(CspParameters cspParameters, SafeProvHandle& safeProvHandle)
at System.Security.Cryptography.RSACryptoServiceProvider.AcquireSafeProviderHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifyHashSignature(Byte[] signature, Byte[] dataHash, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifyHashSignature_SHA1_2048()
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.CreateKey_LegacyProvider [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeKeyHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_CspKeyContainerInfo()
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderTests.CreateKey_LegacyProvider()
System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedSignature_SHA1_2048 [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectSignature(Byte[] expectedSignature, Byte[] data, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedSignature_SHA1_2048()
System.Security.Cryptography.Rsa.Tests.SignVerify.VerifyHashSignature_SHA256_1024 [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.AcquireCsp(CspParameters cspParameters, SafeProvHandle& safeProvHandle)
at System.Security.Cryptography.RSACryptoServiceProvider.AcquireSafeProviderHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifyHashSignature(Byte[] signature, Byte[] dataHash, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifyHashSignature_SHA256_1024()
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(primaryId: "MD5", halg: Implementation { HashSize = 128 }) [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(String primaryId, Object halg)
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(primaryId: "MD5", halg: typeof(System.Security.Cryptography.MD5)) [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(String primaryId, Object halg)
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(primaryId: "MD5", halg: "1.2.840.113549.2.5") [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(String primaryId, Object halg)
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(primaryId: "SHA1", halg: Implementation { HashSize = 160 }) [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(String primaryId, Object halg)
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(primaryId: "SHA1", halg: typeof(System.Security.Cryptography.SHA1)) [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(String primaryId, Object halg)
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(primaryId: "SHA1", halg: "1.3.14.3.2.26") [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(String primaryId, Object halg)
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(primaryId: "SHA256", halg: Implementation { HashSize = 256 }) [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(String primaryId, Object halg)
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(primaryId: "SHA256", halg: typeof(System.Security.Cryptography.SHA256)) [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(String primaryId, Object halg)
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(primaryId: "SHA256", halg: "2.16.840.1.101.3.4.2.1") [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(String primaryId, Object halg)
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(primaryId: "SHA384", halg: Implementation { HashSize = 384 }) [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(String primaryId, Object halg)
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(primaryId: "SHA384", halg: typeof(System.Security.Cryptography.SHA384)) [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(String primaryId, Object halg)
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(primaryId: "SHA384", halg: "2.16.840.1.101.3.4.2.2") [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(String primaryId, Object halg)
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(primaryId: "SHA512", halg: Implementation { HashSize = 512 }) [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(String primaryId, Object halg)
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(primaryId: "SHA512", halg: typeof(System.Security.Cryptography.SHA512)) [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(String primaryId, Object halg)
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(primaryId: "SHA512", halg: "2.16.840.1.101.3.4.2.3") [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.AlgorithmLookups(String primaryId, Object halg)
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.ApiInterop_NewToOld [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.SignHash(Byte[] rgbHash, Int32 calgHash)
at System.Security.Cryptography.RSACryptoServiceProvider.SignHash(Byte[] hash, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
at System.Security.Cryptography.RSA.SignData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
at System.Security.Cryptography.RSA.SignData(Byte[] data, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.ApiInterop_NewToOld()
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.SignHash_PublicKey [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.AcquireCsp(CspParameters cspParameters, SafeProvHandle& safeProvHandle)
at System.Security.Cryptography.RSACryptoServiceProvider.AcquireSafeProviderHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.SignHash_PublicKey()
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.ApiInterop_OldToNew_Stream [FAIL]
System.DllNotFoundException : Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.SignHash(Byte[] rgbHash, Int32 calgHash)
at System.Security.Cryptography.RSACryptoServiceProvider.SignData(Stream inputStream, Object halg)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.ApiInterop_OldToNew_Stream()
System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.SignHash_WrongSizeHash [FAIL]
Assert.Throws() Failure
Expected: typeof(System.Security.Cryptography.CryptographicException)
Actual: typeof(System.DllNotFoundException): Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeKeyHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_PublicOnly()
at System.Security.Cryptography.RSACryptoServiceProvider.SignHash(Byte[] rgbHash, String str)
at System.Security.Cryptography.Csp.Tests.RSACryptoServiceProviderBackCompat.<>c__DisplayClass8_0.<SignHash_WrongSizeHash>b__0()
Finished: System.Security.Cryptography.Csp.Tests
=== TEST EXECUTION SUMMARY ===
System.Security.Cryptography.Csp.Tests Total: 81, Errors: 0, Failed: 78, Skipped: 0, Time: 18,569s
error: One or more tests failed while running tests from 'System.Security.Cryptography.Csp.Tests'. Exit code 78.
Finished: System.Security.Cryptography.OpenSsl.Tests
=== TEST EXECUTION SUMMARY ===
System.Security.Cryptography.OpenSsl.Tests Total: 131, Errors: 0, Failed: 0, Skipped: 0, Time: 21,799s
System.Security.Cryptography.Cng.Tests.CreateTests.CreateEphemeral_WithParameters [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
at System.Security.Cryptography.Cng.Tests.CreateTests.CreateEphemeral_WithParameters()
System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedSignature_SHA1_2048 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectSignature(Byte[] expectedSignature, Byte[] data, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedSignature_SHA1_2048()
System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.StableEncryptDecrypt [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor()
at System.Security.Cryptography.AesCng.CreateEncryptor()
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.StableEncryptDecrypt()
System.Security.Cryptography.Cng.Tests.EcDSACngTests.CreateEcdsaFromRsaKey_Fails [FAIL]
Assert.Throws() Failure
Expected: typeof(System.ArgumentException)
Actual: typeof(System.DllNotFoundException): Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
at Internal.Cryptography.CngAlgorithmCore.GetOrGenerateKey(Int32 keySize, CngAlgorithm algorithm)
at System.Security.Cryptography.RSACng.get_Key()
at System.Security.Cryptography.Cng.Tests.EcDSACngTests.<>c__DisplayClass7_0.<CreateEcdsaFromRsaKey_Fails>b__0()
System.Security.Cryptography.Encryption.Aes.Tests.DecryptorReusabilty.TestDecryptorReusability [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateDecryptor()
at System.Security.Cryptography.AesCng.CreateDecryptor()
at System.Security.Cryptography.Encryption.Aes.Tests.DecryptorReusabilty.TestDecryptorReusability()
System.Security.Cryptography.Cng.Tests.ImportExportTests.TestImportExportRoundTrip [FAIL]
System.TypeInitializationException : The type initializer for 'System.Security.Cryptography.Cng.Tests.TestData' threw an exception.
---- System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at System.Security.Cryptography.Cng.Tests.ImportExportTests.TestImportExportRoundTrip()
----- Inner Stack Trace -----
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.Cng.Tests.TestData..cctor()
System.Security.Cryptography.Cng.Tests.EcDSACngTests.TestVerify521_EcdhKey [FAIL]
System.TypeInitializationException : The type initializer for 'System.Security.Cryptography.Cng.Tests.TestData' threw an exception.
---- System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at System.Security.Cryptography.Cng.Tests.EcDSACngTests.TestVerify521_EcdhKey()
----- Inner Stack Trace -----
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.Cng.Tests.TestData..cctor()
System.Security.Cryptography.Encryption.TripleDes.Tests.TripleDESCipherTests.TripleDESRoundTrip192BitsPKCS7CBC [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor()
at System.Security.Cryptography.TripleDESCng.CreateEncryptor()
at Test.Cryptography.CryptoUtils.Encrypt(SymmetricAlgorithm alg, Byte[] plainText, Int32 blockSizeMultipler)
at System.Security.Cryptography.Encryption.TripleDes.Tests.TripleDESCipherTests.TripleDESRoundTrip192BitsPKCS7CBC()
System.Security.Cryptography.Cng.Tests.CreateTests.CreateEmphemeral_Default [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
at System.Security.Cryptography.Cng.Tests.CreateTests.CreateEmphemeral_Default()
System.Security.Cryptography.Rsa.Tests.SignVerify.NegativeVerify_TamperedData [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.NegativeVerify_TamperedData()
System.Security.Cryptography.Cng.Tests.EcDSACngTests.TestNegativeVerify256 [FAIL]
System.TypeInitializationException : The type initializer for 'System.Security.Cryptography.Cng.Tests.TestData' threw an exception.
---- System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at System.Security.Cryptography.Cng.Tests.EcDSACngTests.TestNegativeVerify256()
----- Inner Stack Trace -----
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.Cng.Tests.TestData..cctor()
System.Security.Cryptography.Cng.Tests.ImportExportTests.TestImport [FAIL]
System.TypeInitializationException : The type initializer for 'System.Security.Cryptography.Cng.Tests.TestData' threw an exception.
---- System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at System.Security.Cryptography.Cng.Tests.EcDSACngTests.TestNegativeVerify256()
----- Inner Stack Trace -----
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.Cng.Tests.TestData..cctor()
System.Security.Cryptography.Encryption.TripleDes.Tests.TripleDESCipherTests.TripleDESRoundTrip192BitsNoneCBC [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor()
at System.Security.Cryptography.TripleDESCng.CreateEncryptor()
at Test.Cryptography.CryptoUtils.Encrypt(SymmetricAlgorithm alg, Byte[] plainText, Int32 blockSizeMultipler)
at System.Security.Cryptography.Encryption.TripleDes.Tests.TripleDESCipherTests.TripleDESRoundTrip192BitsNoneCBC()
System.Security.Cryptography.Cng.Tests.EcDSACngTests.TestNegativeVerify384 [FAIL]
System.TypeInitializationException : The type initializer for 'System.Security.Cryptography.Cng.Tests.TestData' threw an exception.
---- System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at System.Security.Cryptography.Cng.Tests.EcDSACngTests.TestNegativeVerify384()
----- Inner Stack Trace -----
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.Cng.Tests.TestData..cctor()
System.Security.Cryptography.Cng.Tests.EcDSACngTests.TestPositiveVerify384 [FAIL]
System.TypeInitializationException : The type initializer for 'System.Security.Cryptography.Cng.Tests.TestData' threw an exception.
---- System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at System.Security.Cryptography.Cng.Tests.EcDSACngTests.TestPositiveVerify384()
----- Inner Stack Trace -----
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.Cng.Tests.TestData..cctor()
System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedHashSignature_SHA256_2048 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectHashSignature(Byte[] expectedSignature, Byte[] dataHash, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedHashSignature_SHA256_2048()
System.Security.Cryptography.Cng.Tests.EcDSACngTests.TestPositiveVerify521 [FAIL]
System.TypeInitializationException : The type initializer for 'System.Security.Cryptography.Cng.Tests.TestData' threw an exception.
---- System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at System.Security.Cryptography.Cng.Tests.EcDSACngTests.TestPositiveVerify521()
----- Inner Stack Trace -----
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.Cng.Tests.TestData..cctor()
System.Security.Cryptography.Rsa.Tests.SignVerify.NegativeVerify_WrongSignature [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.NegativeVerify_WrongSignature()
System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.RandomKeyRoundtrip_128 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor()
at System.Security.Cryptography.AesCng.CreateEncryptor()
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.RandomKeyRoundtrip(Aes aes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.RandomKeyRoundtrip_128()
System.Security.Cryptography.Cng.Tests.EcDSACngTests.TestNegativeVerify521 [FAIL]
System.TypeInitializationException : The type initializer for 'System.Security.Cryptography.Cng.Tests.TestData' threw an exception.
---- System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at System.Security.Cryptography.Cng.Tests.EcDSACngTests.TestNegativeVerify521()
----- Inner Stack Trace -----
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.Cng.Tests.TestData..cctor()
System.Security.Cryptography.Rsa.Tests.SignVerify.VerifyHashSignature_SHA1_2048 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifyHashSignature(Byte[] signature, Byte[] dataHash, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifyHashSignature_SHA1_2048()
System.Security.Cryptography.Cng.Tests.EcDSACngTests.TestPositiveVerify256 [FAIL]
System.TypeInitializationException : The type initializer for 'System.Security.Cryptography.Cng.Tests.TestData' threw an exception.
---- System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at System.Security.Cryptography.Cng.Tests.EcDSACngTests.TestPositiveVerify256()
----- Inner Stack Trace -----
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.Cng.Tests.TestData..cctor()
System.Security.Cryptography.Encryption.TripleDes.Tests.TripleDESCipherTests.TripleDESRoundTrip192BitsZerosCBC [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor()
at System.Security.Cryptography.TripleDESCng.CreateEncryptor()
at Test.Cryptography.CryptoUtils.Encrypt(SymmetricAlgorithm alg, Byte[] plainText, Int32 blockSizeMultipler)
at System.Security.Cryptography.Encryption.TripleDes.Tests.TripleDESCipherTests.TripleDESRoundTrip192BitsZerosCBC()
System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_CBC128_NoPadding_3 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.<>c__DisplayClass12_0.<CreateCryptoTransform>b__0()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Byte[] rgbKey, Byte[] rgbIV, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.AesCng.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.AesEncryptDirectKey(Aes aes, Byte[] key, Byte[] iv, Byte[] plainBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.TestAesTransformDirectKey(CipherMode cipherMode, PaddingMode paddingMode, Byte[] key, Byte[] iv, Byte[] plainBytes, Byte[] cipherBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_CBC128_NoPadding_3()
System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedHashSignature_SHA1_2048 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectHashSignature(Byte[] expectedSignature, Byte[] dataHash, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedHashSignature_SHA1_2048()
System.Security.Cryptography.Cng.Tests.HandleTests.HandleDuplication [FAIL]
System.TypeInitializationException : The type initializer for 'System.Security.Cryptography.Cng.Tests.TestData' threw an exception.
---- System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at System.Security.Cryptography.Cng.Tests.HandleTests.HandleDuplication()
----- Inner Stack Trace -----
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.Cng.Tests.TestData..cctor()
System.Security.Cryptography.Encryption.TripleDes.Tests.TripleDESCipherTests.TripleDESRoundTrip192BitsPKCS7ECB [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor()
at System.Security.Cryptography.TripleDESCng.CreateEncryptor()
at Test.Cryptography.CryptoUtils.Encrypt(SymmetricAlgorithm alg, Byte[] plainText, Int32 blockSizeMultipler)
at System.Security.Cryptography.Encryption.TripleDes.Tests.TripleDESCipherTests.TripleDESRoundTrip192BitsPKCS7ECB()
System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.UnusualExponentCryptRoundtrip [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.UnusualExponentCryptRoundtrip()
System.Security.Cryptography.Encryption.TripleDes.Tests.TripleDESReusabilityTests.TripleDESReuseEncryptorDecryptor [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor()
at System.Security.Cryptography.TripleDESCng.CreateEncryptor()
at System.Security.Cryptography.Encryption.TripleDes.Tests.TripleDESReusabilityTests.TripleDESReuseEncryptorDecryptor()
System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedSignature_SHA256_1024 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectSignature(Byte[] expectedSignature, Byte[] data, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedSignature_SHA256_1024()
System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.DecryptSavedAnswerUnusualExponent [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.DecryptSavedAnswerUnusualExponent()
System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_ECB192_NoPadding [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.<>c__DisplayClass12_0.<CreateCryptoTransform>b__0()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Byte[] rgbKey, Byte[] rgbIV, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.AesCng.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.AesEncryptDirectKey(Aes aes, Byte[] key, Byte[] iv, Byte[] plainBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.TestAesTransformDirectKey(CipherMode cipherMode, PaddingMode paddingMode, Byte[] key, Byte[] iv, Byte[] plainBytes, Byte[] cipherBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_ECB192_NoPadding()
System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_CBC128_NoPadding_2 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.<>c__DisplayClass12_0.<CreateCryptoTransform>b__0()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Byte[] rgbKey, Byte[] rgbIV, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.AesCng.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.AesEncryptDirectKey(Aes aes, Byte[] key, Byte[] iv, Byte[] plainBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.TestAesTransformDirectKey(CipherMode cipherMode, PaddingMode paddingMode, Byte[] key, Byte[] iv, Byte[] plainBytes, Byte[] cipherBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_CBC128_NoPadding_2()
System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedSignature_SHA256_2048 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectSignature(Byte[] expectedSignature, Byte[] data, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedSignature_SHA256_2048()
System.Security.Cryptography.Encryption.TripleDes.Tests.TripleDESCipherTests.TripleDESRoundTrip192BitsZerosECB [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor()
at System.Security.Cryptography.TripleDESCng.CreateEncryptor()
at Test.Cryptography.CryptoUtils.Encrypt(SymmetricAlgorithm alg, Byte[] plainText, Int32 blockSizeMultipler)
at System.Security.Cryptography.Encryption.TripleDes.Tests.TripleDESCipherTests.TripleDESRoundTrip192BitsZerosECB()
System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.DecryptKnownCBC256 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateDecryptor()
at System.Security.Cryptography.AesCng.CreateDecryptor()
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.TestAesDecrypt(CipherMode mode, Byte[] key, Byte[] iv, Byte[] encryptedBytes, Byte[] expectedAnswer)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.DecryptKnownCBC256()
System.Security.Cryptography.Cng.Tests.RsaCngTests.SignVerifyHashRoundTrip [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
at Internal.Cryptography.CngAlgorithmCore.GetOrGenerateKey(Int32 keySize, CngAlgorithm algorithm)
at System.Security.Cryptography.RSACng.get_Key()
at System.Security.Cryptography.RSACng.GetKeyHandle()
at System.Security.Cryptography.RSACng.<>c__DisplayClass29_0.<SignHash>b__0(AsymmetricPaddingMode paddingMode, Void* pPaddingInfo)
at System.Security.Cryptography.RSACng.SignOrVerify(RSASignaturePadding padding, HashAlgorithmName hashAlgorithm, Byte[] hash, SignOrVerifyAction signOrVerify)
at System.Security.Cryptography.RSACng.SignHash(Byte[] hash, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
at System.Security.Cryptography.Cng.Tests.RsaCngTests.TestSignVerifyHashRoundTrip(Byte[] hash, HashAlgorithmName hashAlgorithm, RSASignaturePadding paddingMode, Int32 expectedSignatureLength)
at System.Security.Cryptography.Cng.Tests.RsaCngTests.SignVerifyHashRoundTrip()
System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.RsaDecryptAfterExport [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
at Internal.Cryptography.CngAlgorithmCore.GetOrGenerateKey(Int32 keySize, CngAlgorithm algorithm)
at System.Security.Cryptography.RSACng.get_Key()
at System.Security.Cryptography.RSACng.GetKeyHandle()
at System.Security.Cryptography.RSACng.EncryptOrDecrypt(Byte[] data, RSAEncryptionPadding padding, EncryptOrDecryptAction encryptOrDecrypt)
at System.Security.Cryptography.RSACng.Encrypt(Byte[] data, RSAEncryptionPadding padding)
at System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.RsaDecryptAfterExport()
System.Security.Cryptography.Rsa.Tests.SignVerify.NegativeVerify_WrongAlgorithm [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.NegativeVerify_WrongAlgorithm()
System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.DecryptSavedAnswer [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.DecryptSavedAnswer()
System.Security.Cryptography.Cng.Tests.RsaCngTests.VerifyHashPss [FAIL]
System.TypeInitializationException : The type initializer for 'System.Security.Cryptography.Cng.Tests.TestData' threw an exception.
---- System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at System.Security.Cryptography.Cng.Tests.RsaCngTests.VerifyHashPss()
----- Inner Stack Trace -----
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.Cng.Tests.TestData..cctor()
System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.AesZeroPad [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor()
at System.Security.Cryptography.AesCng.CreateEncryptor()
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.AesZeroPad()
System.Security.Cryptography.Rsa.Tests.SignVerify.SignAndVerify_SHA1_1024 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.SignAndVerify(Byte[] data, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.SignAndVerify_SHA1_1024()
System.Security.Cryptography.Encryption.Aes.Tests.AesContractTests.ValidateEncryptorProperties [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor()
at System.Security.Cryptography.AesCng.CreateEncryptor()
at System.Security.Cryptography.Encryption.Aes.Tests.AesContractTests.ValidateEncryptorProperties()
System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_ECB128_NoPadding [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.<>c__DisplayClass12_0.<CreateCryptoTransform>b__0()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Byte[] rgbKey, Byte[] rgbIV, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.AesCng.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.AesEncryptDirectKey(Aes aes, Byte[] key, Byte[] iv, Byte[] plainBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.TestAesTransformDirectKey(CipherMode cipherMode, PaddingMode paddingMode, Byte[] key, Byte[] iv, Byte[] plainBytes, Byte[] cipherBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_ECB128_NoPadding()
System.Security.Cryptography.Encryption.TripleDes.Tests.TripleDESCipherTests.TripleDESRoundTrip192BitsNoneECB [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor()
at System.Security.Cryptography.TripleDESCng.CreateEncryptor()
at Test.Cryptography.CryptoUtils.Encrypt(SymmetricAlgorithm alg, Byte[] plainText, Int32 blockSizeMultipler)
at System.Security.Cryptography.Encryption.TripleDes.Tests.TripleDESCipherTests.TripleDESRoundTrip192BitsNoneECB()
System.Security.Cryptography.Rsa.Tests.SignVerify.VerifySignature_SHA1_2048 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifySignature(Byte[] signature, Byte[] data, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifySignature_SHA1_2048()
System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.RsaCryptRoundtrip [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
at Internal.Cryptography.CngAlgorithmCore.GetOrGenerateKey(Int32 keySize, CngAlgorithm algorithm)
at System.Security.Cryptography.RSACng.get_Key()
at System.Security.Cryptography.RSACng.GetKeyHandle()
at System.Security.Cryptography.RSACng.EncryptOrDecrypt(Byte[] data, RSAEncryptionPadding padding, EncryptOrDecryptAction encryptOrDecrypt)
at System.Security.Cryptography.RSACng.Encrypt(Byte[] data, RSAEncryptionPadding padding)
at System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.RsaCryptRoundtrip()
System.Security.Cryptography.Rsa.Tests.SignVerify.VerifySignature_SHA256_1024 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifySignature(Byte[] signature, Byte[] data, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifySignature_SHA256_1024()
System.Security.Cryptography.Rsa.Tests.SignVerify.VerifySignature_SHA256_2048 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifySignature(Byte[] signature, Byte[] data, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifySignature_SHA256_2048()
System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.LargeKeyCryptRoundtrip [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.LargeKeyCryptRoundtrip()
System.Security.Cryptography.Cng.Tests.RsaCngTests.SignVerifyDataRoundTrip [FAIL]
System.DllNotFoundException : Unable to load DLL 'BCrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.BCrypt.BCryptOpenAlgorithmProvider(SafeBCryptAlgorithmHandle& phAlgorithm, String pszAlgId, String pszImplementation, BCryptOpenAlgorithmProviderFlags dwFlags)
at Interop.BCrypt.BCryptAlgorithmCache.GetCachedBCryptAlgorithmHandle(String hashAlgorithmId, BCryptOpenAlgorithmProviderFlags flags)
at Internal.Cryptography.HashProviderCng..ctor(String hashAlgId, Byte[] key)
at Internal.Cryptography.CngCommon.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.RSACng.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.RSA.SignData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
at System.Security.Cryptography.RSA.SignData(Byte[] data, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
at System.Security.Cryptography.Cng.Tests.RsaCngTests.TestSignVerifyDataRoundTrip(Byte[] message, HashAlgorithmName hashAlgorithm, RSASignaturePadding paddingMode, Int32 expectedSignatureLength)
at System.Security.Cryptography.Cng.Tests.RsaCngTests.SignVerifyDataRoundTrip()
System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedHashSignature_SHA256_1024 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectHashSignature(Byte[] expectedSignature, Byte[] dataHash, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectedHashSignature_SHA256_1024()
System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateKey_4096 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
at Internal.Cryptography.CngAlgorithmCore.GetOrGenerateKey(Int32 keySize, CngAlgorithm algorithm)
at System.Security.Cryptography.RSACng.get_Key()
at System.Security.Cryptography.RSACng.ExportKeyBlob(Boolean includePrivateParameters)
at System.Security.Cryptography.RSACng.ExportParameters(Boolean includePrivateParameters)
at System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateKey(Func`2 getSize)
at System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateKey(Int32 size)
at System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateKey_4096()
System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_ECB192_NoPadding_2 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.<>c__DisplayClass12_0.<CreateCryptoTransform>b__0()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Byte[] rgbKey, Byte[] rgbIV, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.AesCng.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.AesEncryptDirectKey(Aes aes, Byte[] key, Byte[] iv, Byte[] plainBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.TestAesTransformDirectKey(CipherMode cipherMode, PaddingMode paddingMode, Byte[] key, Byte[] iv, Byte[] plainBytes, Byte[] cipherBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_ECB192_NoPadding_2()
System.Security.Cryptography.Rsa.Tests.SignVerify.SignAndVerify_SHA1_2048 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.SignAndVerify(Byte[] data, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.SignAndVerify_SHA1_2048()
System.Security.Cryptography.Encryption.Aes.Tests.AesModeTests.SupportsECB [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor()
at System.Security.Cryptography.AesCng.CreateEncryptor()
at System.Security.Cryptography.Encryption.Aes.Tests.AesModeTests.SupportsMode(CipherMode mode)
at System.Security.Cryptography.Encryption.Aes.Tests.AesModeTests.SupportsECB()
System.Security.Cryptography.Cng.Tests.PropertyTests.SetPropertyNullCornerCase [FAIL]
System.TypeInitializationException : The type initializer for 'System.Security.Cryptography.Cng.Tests.TestData' threw an exception.
---- System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at System.Security.Cryptography.Cng.Tests.PropertyTests.SetPropertyNullCornerCase()
----- Inner Stack Trace -----
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.Cng.Tests.TestData..cctor()
System.Security.Cryptography.Rsa.Tests.ImportExport.ExportAutoKey [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
at Internal.Cryptography.CngAlgorithmCore.GetOrGenerateKey(Int32 keySize, CngAlgorithm algorithm)
at System.Security.Cryptography.RSACng.get_Key()
at System.Security.Cryptography.RSACng.ExportKeyBlob(Boolean includePrivateParameters)
at System.Security.Cryptography.RSACng.ExportParameters(Boolean includePrivateParameters)
at System.Security.Cryptography.Rsa.Tests.ImportExport.ExportAutoKey()
System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateKey_2048 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
at Internal.Cryptography.CngAlgorithmCore.GetOrGenerateKey(Int32 keySize, CngAlgorithm algorithm)
at System.Security.Cryptography.RSACng.get_Key()
at System.Security.Cryptography.RSACng.ExportKeyBlob(Boolean includePrivateParameters)
at System.Security.Cryptography.RSACng.ExportParameters(Boolean includePrivateParameters)
at System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateKey(Func`2 getSize)
at System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateKey(Int32 size)
at System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateKey_2048()
System.Security.Cryptography.Cng.Tests.PropertyTests.GetProperty_NoSuchProperty [FAIL]
System.TypeInitializationException : The type initializer for 'System.Security.Cryptography.Cng.Tests.TestData' threw an exception.
---- System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at System.Security.Cryptography.Cng.Tests.PropertyTests.GetProperty_NoSuchProperty()
----- Inner Stack Trace -----
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.Cng.Tests.TestData..cctor()
System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyInPlaceEncryption [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor()
at System.Security.Cryptography.AesCng.CreateEncryptor()
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyInPlaceEncryption()
System.Security.Cryptography.Encryption.Aes.Tests.AesModeTests.SupportsCBC [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor()
at System.Security.Cryptography.AesCng.CreateEncryptor()
at System.Security.Cryptography.Encryption.Aes.Tests.AesModeTests.SupportsMode(CipherMode mode)
at System.Security.Cryptography.Encryption.Aes.Tests.AesModeTests.SupportsCBC()
System.Security.Cryptography.Rsa.Tests.SignVerify.VerifyHashSignature_SHA256_1024 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifyHashSignature(Byte[] signature, Byte[] dataHash, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifyHashSignature_SHA256_1024()
System.Security.Cryptography.Cng.Tests.PropertyTests.GetAndSetProperties [FAIL]
System.TypeInitializationException : The type initializer for 'System.Security.Cryptography.Cng.Tests.TestData' threw an exception.
---- System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at System.Security.Cryptography.Cng.Tests.PropertyTests.GetAndSetProperties()
----- Inner Stack Trace -----
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.Cng.Tests.TestData..cctor()
System.Security.Cryptography.Rsa.Tests.ImportExport.ImportReset [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
at Internal.Cryptography.CngAlgorithmCore.GetOrGenerateKey(Int32 keySize, CngAlgorithm algorithm)
at System.Security.Cryptography.RSACng.get_Key()
at System.Security.Cryptography.RSACng.ExportKeyBlob(Boolean includePrivateParameters)
at System.Security.Cryptography.RSACng.ExportParameters(Boolean includePrivateParameters)
at System.Security.Cryptography.Rsa.Tests.ImportExport.ImportReset()
System.Security.Cryptography.Rsa.Tests.ImportExport.PaddedExport [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.ImportExport.PaddedExport()
System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectSignature_SHA256_1024_Stream [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.ExpectSignature_SHA256_1024_Stream()
System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateSecondMinKey [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
at Internal.Cryptography.CngAlgorithmCore.GetOrGenerateKey(Int32 keySize, CngAlgorithm algorithm)
at System.Security.Cryptography.RSACng.get_Key()
at System.Security.Cryptography.RSACng.ExportKeyBlob(Boolean includePrivateParameters)
at System.Security.Cryptography.RSACng.ExportParameters(Boolean includePrivateParameters)
at System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateKey(Func`2 getSize)
at System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateSecondMinKey()
System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.RandomKeyRoundtrip_192 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor()
at System.Security.Cryptography.AesCng.CreateEncryptor()
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.RandomKeyRoundtrip(Aes aes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.RandomKeyRoundtrip_192()
System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_CBC256_NoPadding [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.<>c__DisplayClass12_0.<CreateCryptoTransform>b__0()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Byte[] rgbKey, Byte[] rgbIV, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.AesCng.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.AesEncryptDirectKey(Aes aes, Byte[] key, Byte[] iv, Byte[] plainBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.TestAesTransformDirectKey(CipherMode cipherMode, PaddingMode paddingMode, Byte[] key, Byte[] iv, Byte[] plainBytes, Byte[] cipherBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_CBC256_NoPadding()
System.Security.Cryptography.Encryption.Aes.Tests.AesContractTests.CreateTransformExceptions [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.<>c__DisplayClass12_0.<CreateCryptoTransform>b__0()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Byte[] rgbKey, Byte[] rgbIV, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.AesCng.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.Encryption.Aes.Tests.AesContractTests.CreateTransformExceptions()
System.Security.Cryptography.Rsa.Tests.ImportExport.MultiExport [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.ImportExport.MultiExport()
System.Security.Cryptography.Cng.Tests.PropertyTests.OverwriteProperties [FAIL]
System.TypeInitializationException : The type initializer for 'System.Security.Cryptography.Cng.Tests.TestData' threw an exception.
---- System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at System.Security.Cryptography.Cng.Tests.PropertyTests.OverwriteProperties()
----- Inner Stack Trace -----
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.Cng.Tests.TestData..cctor()
System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateMinKey [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
at Internal.Cryptography.CngAlgorithmCore.GetOrGenerateKey(Int32 keySize, CngAlgorithm algorithm)
at System.Security.Cryptography.RSACng.get_Key()
at System.Security.Cryptography.RSACng.ExportKeyBlob(Boolean includePrivateParameters)
at System.Security.Cryptography.RSACng.ExportParameters(Boolean includePrivateParameters)
at System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateKey(Func`2 getSize)
at System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateMinKey()
System.Security.Cryptography.Cng.Tests.PropertyTests.SetPropertyZeroLengthCornerCase [FAIL]
System.TypeInitializationException : The type initializer for 'System.Security.Cryptography.Cng.Tests.TestData' threw an exception.
---- System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
----- Inner Stack Trace -----
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.Cng.Tests.TestData..cctor()
System.Security.Cryptography.Rsa.Tests.SignVerify.SignAndVerify_SHA256_1024 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.SignAndVerify(Byte[] data, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.SignAndVerify_SHA256_1024()
System.Security.Cryptography.Cng.Tests.OpenTests.OpenFromHandle [FAIL]
System.TypeInitializationException : The type initializer for 'System.Security.Cryptography.Cng.Tests.TestData' threw an exception.
---- System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at System.Security.Cryptography.Cng.Tests.OpenTests.OpenFromHandle()
----- Inner Stack Trace -----
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.Cng.Tests.TestData..cctor()
System.Security.Cryptography.Rsa.Tests.ImportExport.LargeKeyImportExport [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.ImportExport.LargeKeyImportExport()
System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.WrongKeyFailDecrypt_2 [FAIL]
Assert.Throws() Failure
Expected: typeof(System.Security.Cryptography.CryptographicException)
Actual: typeof(System.DllNotFoundException): Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateDecryptor()
at System.Security.Cryptography.AesCng.CreateDecryptor()
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.<>c__DisplayClass28_1.<WrongKeyFailDecrypt_2>b__0()
System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_ECB128_NoPadding_2 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.<>c__DisplayClass12_0.<CreateCryptoTransform>b__0()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Byte[] rgbKey, Byte[] rgbIV, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.AesCng.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.AesEncryptDirectKey(Aes aes, Byte[] key, Byte[] iv, Byte[] plainBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.TestAesTransformDirectKey(CipherMode cipherMode, PaddingMode paddingMode, Byte[] key, Byte[] iv, Byte[] plainBytes, Byte[] cipherBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_ECB128_NoPadding_2()
System.Security.Cryptography.Cng.Tests.PropertyTests.HasProperty [FAIL]
System.TypeInitializationException : The type initializer for 'System.Security.Cryptography.Cng.Tests.TestData' threw an exception.
---- System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at System.Security.Cryptography.Cng.Tests.PropertyTests.HasProperty()
----- Inner Stack Trace -----
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.Cng.Tests.TestData..cctor()
System.Security.Cryptography.Rsa.Tests.SignVerify.NegativeVerify_BadKeysize [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.NegativeVerify_BadKeysize()
System.Security.Cryptography.Rsa.Tests.ImportExport.PublicOnlyPrivateExport [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.ImportExport.PublicOnlyPrivateExport()
System.Security.Cryptography.Rsa.Tests.SignVerify.VerifyHashSignature_SHA256_2048 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifyHashSignature(Byte[] signature, Byte[] dataHash, String hashAlgorithmName, RSAParameters rsaParameters)
at System.Security.Cryptography.Rsa.Tests.SignVerify.VerifyHashSignature_SHA256_2048()
System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_ECB128_NoPadding_3 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.<>c__DisplayClass12_0.<CreateCryptoTransform>b__0()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Byte[] rgbKey, Byte[] rgbIV, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.AesCng.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.AesEncryptDirectKey(Aes aes, Byte[] key, Byte[] iv, Byte[] plainBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.TestAesTransformDirectKey(CipherMode cipherMode, PaddingMode paddingMode, Byte[] key, Byte[] iv, Byte[] plainBytes, Byte[] cipherBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_ECB128_NoPadding_3()
System.Security.Cryptography.Rsa.Tests.ImportExport.UnusualExponentImportExport [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at System.Security.Cryptography.RSACng.ImportKeyBlob(Byte[] rsaBlob, Boolean includePrivate)
at System.Security.Cryptography.RSACng.ImportParameters(RSAParameters parameters)
at System.Security.Cryptography.Rsa.Tests.ImportExport.UnusualExponentImportExport()
System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_CBC192_NoPadding_2 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.<>c__DisplayClass12_0.<CreateCryptoTransform>b__0()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Byte[] rgbKey, Byte[] rgbIV, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.AesCng.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.AesEncryptDirectKey(Aes aes, Byte[] key, Byte[] iv, Byte[] plainBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.TestAesTransformDirectKey(CipherMode cipherMode, PaddingMode paddingMode, Byte[] key, Byte[] iv, Byte[] plainBytes, Byte[] cipherBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_CBC192_NoPadding_2()
System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.WrongKeyFailDecrypt [FAIL]
Assert.Throws() Failure
Expected: typeof(System.Security.Cryptography.CryptographicException)
Actual: typeof(System.DllNotFoundException): Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateDecryptor()
at System.Security.Cryptography.AesCng.CreateDecryptor()
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.<>c__DisplayClass27_1.<WrongKeyFailDecrypt>b__0()
System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.RandomKeyRoundtrip_256 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor()
at System.Security.Cryptography.AesCng.CreateEncryptor()
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.RandomKeyRoundtrip(Aes aes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.RandomKeyRoundtrip_256()
System.Security.Cryptography.Encryption.Aes.Tests.AesContractTests.ValidateOffsetAndCount [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor()
at System.Security.Cryptography.AesCng.CreateEncryptor()
at System.Security.Cryptography.Encryption.Aes.Tests.AesContractTests.ValidateOffsetAndCount()
System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_CBC192_NoPadding [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.<>c__DisplayClass12_0.<CreateCryptoTransform>b__0()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Byte[] rgbKey, Byte[] rgbIV, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.AesCng.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.AesEncryptDirectKey(Aes aes, Byte[] key, Byte[] iv, Byte[] plainBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.TestAesTransformDirectKey(CipherMode cipherMode, PaddingMode paddingMode, Byte[] key, Byte[] iv, Byte[] plainBytes, Byte[] cipherBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_CBC192_NoPadding()
System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_ECB256_NoPadding [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.<>c__DisplayClass12_0.<CreateCryptoTransform>b__0()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Byte[] rgbKey, Byte[] rgbIV, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.AesCng.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.AesEncryptDirectKey(Aes aes, Byte[] key, Byte[] iv, Byte[] plainBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.TestAesTransformDirectKey(CipherMode cipherMode, PaddingMode paddingMode, Byte[] key, Byte[] iv, Byte[] plainBytes, Byte[] cipherBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_ECB256_NoPadding()
System.Security.Cryptography.EcDsa.Tests.ECDsaTests.VerifyData_MaxOffset_ZeroLength_NoThrow(ecdsa: ECDsaCng { Key = (throws DllNotFoundException), KeySize = 521, LegalKeySizes = [KeySizes { ... }, KeySizes { ... }] }) [FAIL]
System.DllNotFoundException : Unable to load DLL 'BCrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.BCrypt.BCryptOpenAlgorithmProvider(SafeBCryptAlgorithmHandle& phAlgorithm, String pszAlgId, String pszImplementation, BCryptOpenAlgorithmProviderFlags dwFlags)
at Interop.BCrypt.BCryptAlgorithmCache.GetCachedBCryptAlgorithmHandle(String hashAlgorithmId, BCryptOpenAlgorithmProviderFlags flags)
at Internal.Cryptography.HashProviderCng..ctor(String hashAlgId, Byte[] key)
at Internal.Cryptography.CngCommon.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsaCng.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Byte[] data, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.EcDsa.Tests.ECDsaTests.VerifyData_MaxOffset_ZeroLength_NoThrow(ECDsa ecdsa)
System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.DecryptKnownECB192 [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateDecryptor()
at System.Security.Cryptography.AesCng.CreateDecryptor()
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.TestAesDecrypt(CipherMode mode, Byte[] key, Byte[] iv, Byte[] encryptedBytes, Byte[] expectedAnswer)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.DecryptKnownECB192()
System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.RandomKeyRoundtrip_Default [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor()
at System.Security.Cryptography.AesCng.CreateEncryptor()
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.RandomKeyRoundtrip(Aes aes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.RandomKeyRoundtrip_Default()
System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_CBC128_NoPadding [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.<>c__DisplayClass12_0.<CreateCryptoTransform>b__0()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Byte[] rgbKey, Byte[] rgbIV, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.AesCng.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.AesEncryptDirectKey(Aes aes, Byte[] key, Byte[] iv, Byte[] plainBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.TestAesTransformDirectKey(CipherMode cipherMode, PaddingMode paddingMode, Byte[] key, Byte[] iv, Byte[] plainBytes, Byte[] cipherBytes)
at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.VerifyKnownTransform_CBC128_NoPadding()
System.Security.Cryptography.EcDsa.Tests.ECDsaTests.Roundtrip_WithOffset(ecdsa: ECDsaCng { Key = (throws DllNotFoundException), KeySize = 521, LegalKeySizes = [KeySizes { ... }, KeySizes { ... }] }) [FAIL]
System.DllNotFoundException : Unable to load DLL 'BCrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.BCrypt.BCryptOpenAlgorithmProvider(SafeBCryptAlgorithmHandle& phAlgorithm, String pszAlgId, String pszImplementation, BCryptOpenAlgorithmProviderFlags dwFlags)
at Interop.BCrypt.BCryptAlgorithmCache.GetCachedBCryptAlgorithmHandle(String hashAlgorithmId, BCryptOpenAlgorithmProviderFlags flags)
at Internal.Cryptography.HashProviderCng..ctor(String hashAlgId, Byte[] key)
at Internal.Cryptography.CngCommon.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsaCng.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.EcDsa.Tests.ECDsaTests.Roundtrip_WithOffset(ECDsa ecdsa)
System.Security.Cryptography.EcDsa.Tests.ECDsaTests.VerifyDataByteArraySpan_UnsupportedHashAlgorithm_ThrowsCryptographicException(ecdsa: ECDsaCng { Key = (throws DllNotFoundException), KeySize = 521, LegalKeySizes = [KeySizes { ... }, KeySizes { ... }] }) [FAIL]
Assert.Throws() Failure
Expected: typeof(System.Security.Cryptography.CryptographicException)
Actual: typeof(System.DllNotFoundException): Unable to load DLL 'BCrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.BCrypt.BCryptOpenAlgorithmProvider(SafeBCryptAlgorithmHandle& phAlgorithm, String pszAlgId, String pszImplementation, BCryptOpenAlgorithmProviderFlags dwFlags)
at Interop.BCrypt.BCryptAlgorithmCache.GetCachedBCryptAlgorithmHandle(String hashAlgorithmId, BCryptOpenAlgorithmProviderFlags flags)
at Internal.Cryptography.HashProviderCng..ctor(String hashAlgId, Byte[] key)
at Internal.Cryptography.CngCommon.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsaCng.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.VerifyData(Byte[] data, Int32 offset, Int32 count, Byte[] signature, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.EcDsa.Tests.ECDsaTests.<>c__DisplayClass33_0.<VerifyDataByteArraySpan_UnsupportedHashAlgorithm_ThrowsCryptographicException>b__0()
System.Security.Cryptography.Encryption.Aes.Tests.AesContractTests.ValidateDecryptorProperties [FAIL]
System.DllNotFoundException : Unable to load DLL 'ncrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.NCrypt.NCryptOpenStorageProvider(SafeNCryptProviderHandle& phProvider, String pszProviderName, Int32 dwFlags)
at Internal.Cryptography.Helpers.OpenStorageProvider(CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider)
at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, CngKeyBlobFormat format)
at Internal.Cryptography.SymmetricImportExportExtensions.ToCngKey(Byte[] key, String algorithm)
at Internal.Cryptography.CngSymmetricAlgorithmCore.ProduceCngKey()
at Internal.Cryptography.BasicSymmetricCipherCng..ctor(Func`1 cngKeyFactory, CipherMode cipherMode, Int32 blockSizeInBytes, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransformCore(Func`1 cngKeyFactory, Byte[] iv, Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateCryptoTransform(Boolean encrypting)
at Internal.Cryptography.CngSymmetricAlgorithmCore.CreateDecryptor()
at System.Security.Cryptography.AesCng.CreateDecryptor()
at System.Security.Cryptography.Encryption.Aes.Tests.AesContractTests.ValidateDecryptorProperties()
System.Security.Cryptography.EcDsa.Tests.ECDsaTests.VerifyDataByteArray_UnsupportedHashAlgorithm_ThrowsCryptographicException(ecdsa: ECDsaCng { Key = (throws DllNotFoundException), KeySize = 521, LegalKeySizes = [KeySizes { ... }, KeySizes { ... }] }) [FAIL]
Assert.Throws() Failure
Expected: typeof(System.Security.Cryptography.CryptographicException)
Actual: typeof(System.DllNotFoundException): Unable to load DLL 'BCrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.BCrypt.BCryptOpenAlgorithmProvider(SafeBCryptAlgorithmHandle& phAlgorithm, String pszAlgId, String pszImplementation, BCryptOpenAlgorithmProviderFlags dwFlags)
at Interop.BCrypt.BCryptAlgorithmCache.GetCachedBCryptAlgorithmHandle(String hashAlgorithmId, BCryptOpenAlgorithmProviderFlags flags)
at Internal.Cryptography.HashProviderCng..ctor(String hashAlgId, Byte[] key)
at Internal.Cryptography.CngCommon.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsaCng.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.VerifyData(Byte[] data, Int32 offset, Int32 count, Byte[] signature, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.VerifyData(Byte[] data, Byte[] signature, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.EcDsa.Tests.ECDsaTests.<>c__DisplayClass32_0.<VerifyDataByteArray_UnsupportedHashAlgorithm_ThrowsCryptographicException>b__0()
System.Security.Cryptography.EcDsa.Tests.ECDsaTests.SignDataByteArray_UnsupportedHashAlgorithm_ThrowsCryptographicException(ecdsa: ECDsaCng { Key = (throws DllNotFoundException), KeySize = 521, LegalKeySizes = [KeySizes { ... }, KeySizes { ... }] }) [FAIL]
Assert.Throws() Failure
Expected: typeof(System.Security.Cryptography.CryptographicException)
Actual: typeof(System.DllNotFoundException): Unable to load DLL 'BCrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.BCrypt.BCryptOpenAlgorithmProvider(SafeBCryptAlgorithmHandle& phAlgorithm, String pszAlgId, String pszImplementation, BCryptOpenAlgorithmProviderFlags dwFlags)
at Interop.BCrypt.BCryptAlgorithmCache.GetCachedBCryptAlgorithmHandle(String hashAlgorithmId, BCryptOpenAlgorithmProviderFlags flags)
at Internal.Cryptography.HashProviderCng..ctor(String hashAlgId, Byte[] key)
at Internal.Cryptography.CngCommon.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsaCng.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Byte[] data, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.EcDsa.Tests.ECDsaTests.<>c__DisplayClass29_0.<SignDataByteArray_UnsupportedHashAlgorithm_ThrowsCryptographicException>b__0()
System.Security.Cryptography.EcDsa.Tests.ECDsaTests.SignVerify_InteroperableSameKeys_RoundTripsUnlessTampered(ecdsa: ECDsaCng { Key = (throws DllNotFoundException), KeySize = 521, LegalKeySizes = [KeySizes { ... }, KeySizes { ... }] }, hashAlgorithm: MD5) [FAIL]
System.DllNotFoundException : Unable to load DLL 'BCrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.BCrypt.BCryptOpenAlgorithmProvider(SafeBCryptAlgorithmHandle& phAlgorithm, String pszAlgId, String pszImplementation, BCryptOpenAlgorithmProviderFlags dwFlags)
at Interop.BCrypt.BCryptAlgorithmCache.GetCachedBCryptAlgorithmHandle(String hashAlgorithmId, BCryptOpenAlgorithmProviderFlags flags)
at Internal.Cryptography.HashProviderCng..ctor(String hashAlgId, Byte[] key)
at Internal.Cryptography.CngCommon.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsaCng.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Byte[] data, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.EcDsa.Tests.ECDsaTests.SignVerify_InteroperableSameKeys_RoundTripsUnlessTampered(ECDsa ecdsa, HashAlgorithmName hashAlgorithm)
System.Security.Cryptography.EcDsa.Tests.ECDsaTests.SignVerify_InteroperableSameKeys_RoundTripsUnlessTampered(ecdsa: ECDsaCng { Key = (throws DllNotFoundException), KeySize = 521, LegalKeySizes = [KeySizes { ... }, KeySizes { ... }] }, hashAlgorithm: SHA1) [FAIL]
System.DllNotFoundException : Unable to load DLL 'BCrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.BCrypt.BCryptOpenAlgorithmProvider(SafeBCryptAlgorithmHandle& phAlgorithm, String pszAlgId, String pszImplementation, BCryptOpenAlgorithmProviderFlags dwFlags)
at Interop.BCrypt.BCryptAlgorithmCache.GetCachedBCryptAlgorithmHandle(String hashAlgorithmId, BCryptOpenAlgorithmProviderFlags flags)
at Internal.Cryptography.HashProviderCng..ctor(String hashAlgId, Byte[] key)
at Internal.Cryptography.CngCommon.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsaCng.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Byte[] data, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.EcDsa.Tests.ECDsaTests.SignVerify_InteroperableSameKeys_RoundTripsUnlessTampered(ECDsa ecdsa, HashAlgorithmName hashAlgorithm)
System.Security.Cryptography.EcDsa.Tests.ECDsaTests.SignVerify_InteroperableSameKeys_RoundTripsUnlessTampered(ecdsa: ECDsaCng { Key = (throws DllNotFoundException), KeySize = 521, LegalKeySizes = [KeySizes { ... }, KeySizes { ... }] }, hashAlgorithm: SHA256) [FAIL]
System.DllNotFoundException : Unable to load DLL 'BCrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.BCrypt.BCryptOpenAlgorithmProvider(SafeBCryptAlgorithmHandle& phAlgorithm, String pszAlgId, String pszImplementation, BCryptOpenAlgorithmProviderFlags dwFlags)
at Interop.BCrypt.BCryptAlgorithmCache.GetCachedBCryptAlgorithmHandle(String hashAlgorithmId, BCryptOpenAlgorithmProviderFlags flags)
at Internal.Cryptography.HashProviderCng..ctor(String hashAlgId, Byte[] key)
at Internal.Cryptography.CngCommon.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsaCng.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Byte[] data, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.EcDsa.Tests.ECDsaTests.SignVerify_InteroperableSameKeys_RoundTripsUnlessTampered(ECDsa ecdsa, HashAlgorithmName hashAlgorithm)
System.Security.Cryptography.EcDsa.Tests.ECDsaTests.SignVerify_InteroperableSameKeys_RoundTripsUnlessTampered(ecdsa: ECDsaCng { Key = (throws DllNotFoundException), KeySize = 521, LegalKeySizes = [KeySizes { ... }, KeySizes { ... }] }, hashAlgorithm: SHA384) [FAIL]
System.DllNotFoundException : Unable to load DLL 'BCrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.BCrypt.BCryptOpenAlgorithmProvider(SafeBCryptAlgorithmHandle& phAlgorithm, String pszAlgId, String pszImplementation, BCryptOpenAlgorithmProviderFlags dwFlags)
at Interop.BCrypt.BCryptAlgorithmCache.GetCachedBCryptAlgorithmHandle(String hashAlgorithmId, BCryptOpenAlgorithmProviderFlags flags)
at Internal.Cryptography.HashProviderCng..ctor(String hashAlgId, Byte[] key)
at Internal.Cryptography.CngCommon.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsaCng.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Byte[] data, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.EcDsa.Tests.ECDsaTests.SignVerify_InteroperableSameKeys_RoundTripsUnlessTampered(ECDsa ecdsa, HashAlgorithmName hashAlgorithm)
System.Security.Cryptography.EcDsa.Tests.ECDsaTests.SignVerify_InteroperableSameKeys_RoundTripsUnlessTampered(ecdsa: ECDsaCng { Key = (throws DllNotFoundException), KeySize = 521, LegalKeySizes = [KeySizes { ... }, KeySizes { ... }] }, hashAlgorithm: SHA512) [FAIL]
System.DllNotFoundException : Unable to load DLL 'BCrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.BCrypt.BCryptOpenAlgorithmProvider(SafeBCryptAlgorithmHandle& phAlgorithm, String pszAlgId, String pszImplementation, BCryptOpenAlgorithmProviderFlags dwFlags)
at Interop.BCrypt.BCryptAlgorithmCache.GetCachedBCryptAlgorithmHandle(String hashAlgorithmId, BCryptOpenAlgorithmProviderFlags flags)
at Internal.Cryptography.HashProviderCng..ctor(String hashAlgId, Byte[] key)
at Internal.Cryptography.CngCommon.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsaCng.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Byte[] data, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.EcDsa.Tests.ECDsaTests.SignVerify_InteroperableSameKeys_RoundTripsUnlessTampered(ECDsa ecdsa, HashAlgorithmName hashAlgorithm)
System.Security.Cryptography.EcDsa.Tests.ECDsaTests.VerifyDataStream_UnsupportedHashAlgorithm_ThrowsCryptographicException(ecdsa: ECDsaCng { Key = (throws DllNotFoundException), KeySize = 521, LegalKeySizes = [KeySizes { ... }, KeySizes { ... }] }) [FAIL]
Assert.Throws() Failure
Expected: typeof(System.Security.Cryptography.CryptographicException)
Actual: typeof(System.DllNotFoundException): Unable to load DLL 'BCrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.BCrypt.BCryptOpenAlgorithmProvider(SafeBCryptAlgorithmHandle& phAlgorithm, String pszAlgId, String pszImplementation, BCryptOpenAlgorithmProviderFlags dwFlags)
at Interop.BCrypt.BCryptAlgorithmCache.GetCachedBCryptAlgorithmHandle(String hashAlgorithmId, BCryptOpenAlgorithmProviderFlags flags)
at Internal.Cryptography.HashProviderCng..ctor(String hashAlgId, Byte[] key)
at Internal.Cryptography.CngCommon.HashData(Stream data, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsaCng.HashData(Stream data, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.VerifyData(Stream data, Byte[] signature, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.EcDsa.Tests.ECDsaTests.<>c__DisplayClass34_0.<VerifyDataStream_UnsupportedHashAlgorithm_ThrowsCryptographicException>b__0()
System.Security.Cryptography.EcDsa.Tests.ECDsaTests.SignDataStream_UnsupportedHashAlgorithm_ThrowsCryptographicException(ecdsa: ECDsaCng { Key = (throws DllNotFoundException), KeySize = 521, LegalKeySizes = [KeySizes { ... }, KeySizes { ... }] }) [FAIL]
Assert.Throws() Failure
Expected: typeof(System.Security.Cryptography.CryptographicException)
Actual: typeof(System.DllNotFoundException): Unable to load DLL 'BCrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.BCrypt.BCryptOpenAlgorithmProvider(SafeBCryptAlgorithmHandle& phAlgorithm, String pszAlgId, String pszImplementation, BCryptOpenAlgorithmProviderFlags dwFlags)
at Interop.BCrypt.BCryptAlgorithmCache.GetCachedBCryptAlgorithmHandle(String hashAlgorithmId, BCryptOpenAlgorithmProviderFlags flags)
at Internal.Cryptography.HashProviderCng..ctor(String hashAlgId, Byte[] key)
at Internal.Cryptography.CngCommon.HashData(Stream data, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsaCng.HashData(Stream data, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Stream data, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.EcDsa.Tests.ECDsaTests.<>c__DisplayClass31_0.<SignDataStream_UnsupportedHashAlgorithm_ThrowsCryptographicException>b__0()
System.Security.Cryptography.EcDsa.Tests.ECDsaTests.SignDataByteArraySpan_UnsupportedHashAlgorithm_ThrowsCryptographicException(ecdsa: ECDsaCng { Key = (throws DllNotFoundException), KeySize = 521, LegalKeySizes = [KeySizes { ... }, KeySizes { ... }] }) [FAIL]
Assert.Throws() Failure
Expected: typeof(System.Security.Cryptography.CryptographicException)
Actual: typeof(System.DllNotFoundException): Unable to load DLL 'BCrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.BCrypt.BCryptOpenAlgorithmProvider(SafeBCryptAlgorithmHandle& phAlgorithm, String pszAlgId, String pszImplementation, BCryptOpenAlgorithmProviderFlags dwFlags)
at Interop.BCrypt.BCryptAlgorithmCache.GetCachedBCryptAlgorithmHandle(String hashAlgorithmId, BCryptOpenAlgorithmProviderFlags flags)
at Internal.Cryptography.HashProviderCng..ctor(String hashAlgId, Byte[] key)
at Internal.Cryptography.CngCommon.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsaCng.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.EcDsa.Tests.ECDsaTests.<>c__DisplayClass30_0.<SignDataByteArraySpan_UnsupportedHashAlgorithm_ThrowsCryptographicException>b__0()
System.Security.Cryptography.EcDsa.Tests.ECDsaTests.CreateKey(keySize: 256) [FAIL]
System.DllNotFoundException : Unable to load DLL 'BCrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.BCrypt.BCryptOpenAlgorithmProvider(SafeBCryptAlgorithmHandle& phAlgorithm, String pszAlgId, String pszImplementation, BCryptOpenAlgorithmProviderFlags dwFlags)
at Interop.BCrypt.BCryptAlgorithmCache.GetCachedBCryptAlgorithmHandle(String hashAlgorithmId, BCryptOpenAlgorithmProviderFlags flags)
at Internal.Cryptography.HashProviderCng..ctor(String hashAlgId, Byte[] key)
at Internal.Cryptography.CngCommon.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsaCng.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Byte[] data, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.EcDsa.Tests.ECDsaTests.CreateKey(Int32 keySize)
System.Security.Cryptography.EcDsa.Tests.ECDsaTests.CreateKey(keySize: 384) [FAIL]
System.DllNotFoundException : Unable to load DLL 'BCrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.BCrypt.BCryptOpenAlgorithmProvider(SafeBCryptAlgorithmHandle& phAlgorithm, String pszAlgId, String pszImplementation, BCryptOpenAlgorithmProviderFlags dwFlags)
at Interop.BCrypt.BCryptAlgorithmCache.GetCachedBCryptAlgorithmHandle(String hashAlgorithmId, BCryptOpenAlgorithmProviderFlags flags)
at Internal.Cryptography.HashProviderCng..ctor(String hashAlgId, Byte[] key)
at Internal.Cryptography.CngCommon.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsaCng.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Byte[] data, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.EcDsa.Tests.ECDsaTests.CreateKey(Int32 keySize)
System.Security.Cryptography.EcDsa.Tests.ECDsaTests.CreateKey(keySize: 521) [FAIL]
System.DllNotFoundException : Unable to load DLL 'BCrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.BCrypt.BCryptOpenAlgorithmProvider(SafeBCryptAlgorithmHandle& phAlgorithm, String pszAlgId, String pszImplementation, BCryptOpenAlgorithmProviderFlags dwFlags)
at Interop.BCrypt.BCryptAlgorithmCache.GetCachedBCryptAlgorithmHandle(String hashAlgorithmId, BCryptOpenAlgorithmProviderFlags flags)
at Internal.Cryptography.HashProviderCng..ctor(String hashAlgId, Byte[] key)
at Internal.Cryptography.CngCommon.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsaCng.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Byte[] data, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.EcDsa.Tests.ECDsaTests.CreateKey(Int32 keySize)
System.Security.Cryptography.EcDsa.Tests.ECDsaTests.SignData_MaxOffset_ZeroLength_NoThrow(ecdsa: ECDsaCng { Key = (throws DllNotFoundException), KeySize = 521, LegalKeySizes = [KeySizes { ... }, KeySizes { ... }] }) [FAIL]
System.DllNotFoundException : Unable to load DLL 'BCrypt.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
Stack Trace:
at Interop.BCrypt.BCryptOpenAlgorithmProvider(SafeBCryptAlgorithmHandle& phAlgorithm, String pszAlgId, String pszImplementation, BCryptOpenAlgorithmProviderFlags dwFlags)
at Interop.BCrypt.BCryptAlgorithmCache.GetCachedBCryptAlgorithmHandle(String hashAlgorithmId, BCryptOpenAlgorithmProviderFlags flags)
at Internal.Cryptography.HashProviderCng..ctor(String hashAlgId, Byte[] key)
at Internal.Cryptography.CngCommon.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsaCng.HashData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.ECDsa.SignData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm)
at System.Security.Cryptography.EcDsa.Tests.ECDsaTests.SignData_MaxOffset_ZeroLength_NoThrow(ECDsa ecdsa)
Finished: System.Security.Cryptography.Cng.Tests
=== TEST EXECUTION SUMMARY ===
System.Security.Cryptography.Cng.Tests Total: 194, Errors: 0, Failed: 114, Skipped: 0, Time: 24,596s
error: One or more tests failed while running tests from 'System.Security.Cryptography.Cng.Tests'. Exit code 114.
Finished: System.Security.Cryptography.X509Certificates.Tests
=== TEST EXECUTION SUMMARY ===
System.Security.Cryptography.X509Certificates.Tests Total: 510, Errors: 0, Failed: 0, Skipped: 0, Time: 35,673s
/run-test.sh: linia 135: 17898 Killed timeout -s SIGKILL 15m ./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing $OuterLoop -notrait category=$xunitOSCategory -notrait Benchmark=true
error: One or more tests failed while running tests from 'System.Security.Cryptography.Primitives.Tests'. Exit code 137.
Test project file ./src/System.Threading.AccessControl/tests/System.Threading.AccessControl.Tests.csproj indicates this test is not supported on NetBSD, skipping
Test project file ./src/System.Threading.Overlapped/tests/System.Threading.Overlapped.Tests.csproj indicates this test is not supported on NetBSD, skipping
Discovering: System.Xml.RW.CustomReader.Tests
Discovering: System.Xml.RW.NameTable.Tests
Discovering: System.Threading.Timer.Tests
Discovering: System.Threading.Tasks.Parallel.Tests
Discovering: System.Xml.RW.FactoryReader.Tests
Discovering: System.Xml.RW.ReaderSettings.Tests
Discovered: System.Threading.Tests
Discovered: System.Threading.Timer.Tests
Starting: System.Threading.Timer.Tests
Discovered: System.Xml.RW.CustomReader.Tests
Info: System.Xml.RW.CustomReader.Tests has no tests to run
Discovered: System.Xml.RW.NameTable.Tests
Starting: System.Threading.Tests
Info: System.Xml.RW.NameTable.Tests has no tests to run
Discovered: System.Xml.RW.FactoryReader.Tests
Discovered: System.Threading.Tasks.Parallel.Tests
Info: System.Xml.RW.FactoryReader.Tests has no tests to run
Finished: System.Threading.Timer.Tests
=== TEST EXECUTION SUMMARY ===
System.Threading.Timer.Tests Total: 27, Errors: 0, Failed: 0, Skipped: 0, Time: 15,550s
Starting: System.Threading.Tasks.Parallel.Tests
Discovered: System.Xml.RW.ReaderSettings.Tests
Info: System.Xml.RW.ReaderSettings.Tests has no tests to run
Discovered: System.Threading.Tasks.Tests
error: One or more tests failed while running tests from 'System.Threading.Tasks.Parallel.Tests'. Exit code 134.
Discovered: System.Xml.RW.CharCheckingReader.Tests
Info: System.Xml.RW.CharCheckingReader.Tests has no tests to run
Starting: System.Threading.Tasks.Tests
System.Threading.Tasks.Tests.TaskSchedulerTests.GetScheduledTasksForDebugger_DebuggerAttached_ReturnsTasksFromCustomSchedulers [SKIP]
"DebuggerIsAttached" returned false.
System.Threading.Tasks.Tests.TaskSchedulerTests.GetTaskSchedulersForDebugger_DebuggerAttached_ReturnsAllSchedulers [SKIP]
"DebuggerIsAttached" returned false.
error: One or more tests failed while running tests from 'System.Threading.Tests'. Exit code 134.
/run-test.sh: linia 135: 27414 Killed timeout -s SIGKILL 15m ./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing $OuterLoop -notrait category=$xunitOSCategory -notrait Benchmark=true
error: One or more tests failed while running tests from 'System.Threading.Tasks.Tests'. Exit code 137.
Discovering: System.Xml.RW.XmlSystemPathResolver.Tests
Discovering: System.Xml.RW.SubtreeReader.Tests
Discovering: System.Xml.RW.XmlReader.ReadContentAs.Tests
Discovering: System.Xml.RW.XmlWriter.Tests
Discovering: System.Xml.RW.XmlReader.Tests
Discovered: System.Xml.RW.WrappedReader.Tests
Discovering: System.Xml.RW.XmlConvert.Tests
Discovering: System.Xml.RW.RwFactory.Tests
Discovered: System.Xml.RW.XmlSystemPathResolver.Tests
Info: System.Xml.RW.WrappedReader.Tests has no tests to run
Starting: System.Xml.RW.XmlSystemPathResolver.Tests
Discovered: System.Xml.RW.XmlReader.Tests
Discovered: System.Xml.RW.XmlWriter.Tests
Discovered: System.Xml.RW.XmlConvert.Tests
Starting: System.Xml.RW.XmlReader.Tests
Starting: System.Xml.RW.XmlWriter.Tests
Info: System.Xml.RW.XmlConvert.Tests has no tests to run
Discovered: System.Xml.RW.RwFactory.Tests
Info: System.Xml.RW.RwFactory.Tests has no tests to run
Finished: System.Xml.RW.XmlSystemPathResolver.Tests