mirror of
https://github.com/GerbilSoft/rvthtool.git
synced 2025-06-18 11:35:33 -04:00

Added Google Test v1.8.0 from rom-properties. Reworked cert_verify() to support both RSA-4096 and RSA-2048 signatures and public keys. The function now requires all certificates to use big-endian, so cert_store.c now uses BE32_CONST() to store the values as big-endian. BE32_CONST() is a macro that uses shifting for MSVC and intrinsics for gcc. This is needed because MSVC 2010 doesn't realize that its byteswap intrinsics result in constant values. (Later versions might...) cert.c: New function cert_get_size() that returns the full size of a built-in certificate. CertVerifyTest currently tests the retail ticket and TMD certificates. Both tests pass with all of these changes.
20 lines
696 B
XML
Vendored
20 lines
696 B
XML
Vendored
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup Label="UserMacros">
|
|
<GTestDir>../../../googletest</GTestDir>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup>
|
|
<ClCompile>
|
|
<AdditionalIncludeDirectories>$(GTestDir)/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
</ClCompile>
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
<BuildMacro Include="GTestDir">
|
|
<Value>$(GTestDir)</Value>
|
|
</BuildMacro>
|
|
</ItemGroup>
|
|
</Project>
|