File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,3 +71,16 @@ A standalone C version of the signing tool is available here: `./tools/keytools/
7171``` sh
7272./tools/keytools/sign --rsa4096 --sha3 test-app/image.bin rsa4096.der 1
7373```
74+
75+ ### Windows Visual Studio
76+
77+ Use the ` wolfBootSignTool.vcxproj ` Visual Studio project to build the ` sign.exe ` tool for use on Windows.
78+
79+
80+ ## Command Line Usage
81+
82+ ```
83+ ./tools/keytools/sign [--ed25519 | --ecc256 | --rsa2048 | --rsa4096 ] [--sha256 | --sha3] [--wolfboot-update] image key.der fw_version
84+ - or - ./tools/keytools/sign [--sha256 | --sha3] [--sha-only] [--wolfboot-update] image pub_key.der fw_version
85+ - or - ./tools/keytools/sign [--ed25519 | --ecc256 | --rsa2048 | --rsa4096 ] [--sha256 | --sha3] [--manual-sign] image pub_key.der fw_version signature.sig
86+ ```
Original file line number Diff line number Diff line change 1+ # Signing Tool
2+
3+ See documentation [ here] ( ../../docs/Signing.md ) .
Original file line number Diff line number Diff line change 7575 </PropertyGroup >
7676 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|x64'" >
7777 <LinkIncremental >true</LinkIncremental >
78+ <TargetName >sign</TargetName >
7879 </PropertyGroup >
7980 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" >
8081 <LinkIncremental >false</LinkIncremental >
8182 <TargetName >sign</TargetName >
8283 </PropertyGroup >
8384 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|x64'" >
8485 <LinkIncremental >false</LinkIncremental >
86+ <TargetName >sign</TargetName >
8587 </PropertyGroup >
8688 <ItemDefinitionGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|Win32'" >
8789 <ClCompile >
103105 </PrecompiledHeader >
104106 <WarningLevel >Level3</WarningLevel >
105107 <Optimization >Disabled</Optimization >
106- <PreprocessorDefinitions >_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions >
108+ <PreprocessorDefinitions >_DEBUG;_CONSOLE;%(PreprocessorDefinitions);WOLFSSL_USER_SETTINGS</PreprocessorDefinitions >
109+ <AdditionalIncludeDirectories >.;../../lib/wolfssl;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories >
107110 </ClCompile >
108111 <Link >
109112 <SubSystem >Console</SubSystem >
136139 <Optimization >MaxSpeed</Optimization >
137140 <FunctionLevelLinking >true</FunctionLevelLinking >
138141 <IntrinsicFunctions >true</IntrinsicFunctions >
139- <PreprocessorDefinitions >NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions >
142+ <PreprocessorDefinitions >NDEBUG;_CONSOLE;%(PreprocessorDefinitions);WOLFSSL_USER_SETTINGS</PreprocessorDefinitions >
143+ <AdditionalIncludeDirectories >.;../../lib/wolfssl;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories >
140144 </ClCompile >
141145 <Link >
142146 <SubSystem >Console</SubSystem >
You can’t perform that action at this time.
0 commit comments