Skip to content

Commit 35b98e7

Browse files
committed
Fix the Windows keytools artifact upload.
1 parent 29794f2 commit 35b98e7

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/build-keytools-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ jobs:
3535
with:
3636
name: windows-keytools
3737
path: |
38-
tools\keytools\*.exe
38+
tools\keytools\x64\Release\*.exe

include/wolfboot/wolfboot.h

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,16 +135,13 @@ extern "C" {
135135
#define KEYSTORE_PUBKEY_SIZE_LMS 60
136136
#define KEYSTORE_PUBKEY_SIZE_XMSS 68
137137

138-
/* ML-DSA pub key size is a function of parameters.
139-
* This needs to be configurable. Default to security
140-
* category 5. */
141-
138+
/* ML-DSA pub key size is a function of parameters. */
142139
#define ML_DSA_L2_PUBKEY_SIZE 1312
143140
#define ML_DSA_L3_PUBKEY_SIZE 1952
144141
#define ML_DSA_L5_PUBKEY_SIZE 2592
145142

146-
147-
#if defined(SIGN_ML_DSA) && !defined(ML_DSA_LEVEL)
143+
/* Configure using ML_DSA_LEVEL: Default is security category 5. */
144+
#if defined(WOLFBOOT_SIGN_ML_DSA) && !defined(ML_DSA_LEVEL)
148145
#define ML_DSA_LEVEL 5
149146
#endif
150147
/* Default to max size for keystore */

0 commit comments

Comments
 (0)