仿真平台内核初版 -tlib库 包含<sparc arm riscv powerPC>

This commit is contained in:
liuwb
2026-02-07 20:43:43 +08:00
parent de61f9e2b0
commit b3117648be
9748 changed files with 4309137 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,52 @@
using System;
namespace crypto_test
{
public class CryptoTest
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] args)
{
DateTime before = DateTime.Now;
try
{
Org.BouncyCastle.Asn1.Tests.RegressionTest.Main(args);
//Org.BouncyCastle.Bcpg.OpenPgp.Tests.Dsa2Test.?
Org.BouncyCastle.Bcpg.OpenPgp.Tests.RegressionTest.Main(args);
Org.BouncyCastle.Bcpg.OpenPgp.Examples.Tests.AllTests.Main(args);
Org.BouncyCastle.Cms.Tests.AllTests.Main(args);
Org.BouncyCastle.Crypto.Agreement.Tests.AllTests.Main(args);
Org.BouncyCastle.Crypto.Tests.RegressionTest.Main(args);
Org.BouncyCastle.Crypto.IO.Tests.AllTests.Main(args);
Org.BouncyCastle.Math.Tests.AllTests.Main(args);
Org.BouncyCastle.Math.EC.Tests.AllTests.Main(args);
Org.BouncyCastle.Ocsp.Tests.AllTests.Main(args);
//Org.BouncyCastle.Pkcs.Tests.?
Org.BouncyCastle.Pkcs.Tests.EncryptedPrivateKeyInfoTest.Main(args);
Org.BouncyCastle.Pkcs.Tests.Pkcs10Test.Main(args);
Org.BouncyCastle.Pkcs.Tests.Pkcs12StoreTest.Main(args);
//Org.BouncyCastle.OpenSsl.Tests.?
Org.BouncyCastle.OpenSsl.Tests.ReaderTest.Main(args);
Org.BouncyCastle.OpenSsl.Tests.WriterTest.Main(args);
//Org.BouncyCastle.Security.Tests.?
Org.BouncyCastle.Tests.RegressionTest.Main(args);
Org.BouncyCastle.Tsp.Tests.AllTests.Main(args);
//Org.BouncyCastle.X509.Tests.?
}
catch (Exception e)
{
Console.WriteLine("Tests failed with exception: " + e.Message);
Console.WriteLine(e.StackTrace);
}
DateTime after = DateTime.Now;
long elapsedTicks = after.Ticks - before.Ticks;
Console.WriteLine("Done in {0}ms.", elapsedTicks / TimeSpan.TicksPerMillisecond);
}
}
}

View File

@@ -0,0 +1,104 @@
<VisualStudioProject>
<CSHARP
ProjectType = "Local"
ProductVersion = "7.10.3077"
SchemaVersion = "2.0"
ProjectGuid = "{C857AD68-8F1B-4C7A-A76B-3DC03CBE4FB0}"
>
<Build>
<Settings
ApplicationIcon = "App.ico"
AssemblyKeyContainerName = ""
AssemblyName = "crypto-test"
AssemblyOriginatorKeyFile = ""
DefaultClientScript = "JScript"
DefaultHTMLPageLayout = "Grid"
DefaultTargetSchema = "IE50"
DelaySign = "false"
OutputType = "Exe"
PreBuildEvent = ""
PostBuildEvent = ""
RootNamespace = "crypto_test"
RunPostBuildEvent = "OnBuildSuccess"
StartupObject = ""
>
<Config
Name = "Debug"
AllowUnsafeBlocks = "false"
BaseAddress = "285212672"
CheckForOverflowUnderflow = "false"
ConfigurationOverrideFile = ""
DefineConstants = "DEBUG;TRACE"
DocumentationFile = ""
DebugSymbols = "true"
FileAlignment = "4096"
IncrementalBuild = "false"
NoStdLib = "false"
NoWarn = ""
Optimize = "false"
OutputPath = "bin\Debug\"
RegisterForComInterop = "false"
RemoveIntegerChecks = "false"
TreatWarningsAsErrors = "false"
WarningLevel = "4"
/>
<Config
Name = "Release"
AllowUnsafeBlocks = "false"
BaseAddress = "285212672"
CheckForOverflowUnderflow = "false"
ConfigurationOverrideFile = ""
DefineConstants = "TRACE"
DocumentationFile = ""
DebugSymbols = "false"
FileAlignment = "4096"
IncrementalBuild = "false"
NoStdLib = "false"
NoWarn = ""
Optimize = "true"
OutputPath = "bin\Release\"
RegisterForComInterop = "false"
RemoveIntegerChecks = "false"
TreatWarningsAsErrors = "false"
WarningLevel = "4"
/>
</Settings>
<References>
<Reference
Name = "System"
AssemblyName = "System"
HintPath = "..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll"
/>
<Reference
Name = "System.Data"
AssemblyName = "System.Data"
HintPath = "..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll"
/>
<Reference
Name = "System.XML"
AssemblyName = "System.Xml"
HintPath = "..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll"
/>
<Reference
Name = "crypto"
Project = "{38872A5F-E87E-4FAD-B109-8EB7B2E6A4A0}"
Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"
/>
</References>
</Build>
<Files>
<Include>
<File
RelPath = "App.ico"
BuildAction = "Content"
/>
<File
RelPath = "CryptoTest.cs"
SubType = "Code"
BuildAction = "Compile"
/>
</Include>
</Files>
</CSHARP>
</VisualStudioProject>