liboqs-dotnet
                                
                                
                                
                                    liboqs-dotnet copied to clipboard
                            
                            
                            
                        fix Classic McEliece stackoverflow issue by running unit tests with larger stack
The Classic McEliece algorithm requires a larger stack. The unit test project tests all algorithm including the Classic McEliece so the test always crashes and return nothing.
The active test run was aborted. Reason: Test host process crashed : Stack overflow.
   at OpenQuantumSafe.KEM.OQS_KEM_keypair(IntPtr, Byte[], Byte[])
   at OpenQuantumSafe.KEM.keypair(Byte[] ByRef, Byte[] ByRef)
   at dotnetOQSUnitTest.KEMTests.TestKEM(System.String)
   at dotnetOQSUnitTest.KEMTests.TestAllKEMs()
Run the KEM tests in a Thread with 2MB stack seems fix the issue.