diff --git a/.github/workflows/build-keytools-windows.yml b/.github/workflows/build-keytools-windows.yml index 718da2a4f..1a5903565 100644 --- a/.github/workflows/build-keytools-windows.yml +++ b/.github/workflows/build-keytools-windows.yml @@ -35,4 +35,4 @@ jobs: with: name: windows-keytools path: | - tools\keytools\*.exe + tools\keytools\x64\Release\*.exe diff --git a/include/wolfboot/wolfboot.h b/include/wolfboot/wolfboot.h index 4ca85d6ca..4bbaeda7a 100644 --- a/include/wolfboot/wolfboot.h +++ b/include/wolfboot/wolfboot.h @@ -135,16 +135,13 @@ extern "C" { #define KEYSTORE_PUBKEY_SIZE_LMS 60 #define KEYSTORE_PUBKEY_SIZE_XMSS 68 -/* ML-DSA pub key size is a function of parameters. - * This needs to be configurable. Default to security - * category 5. */ - +/* ML-DSA pub key size is a function of parameters. */ #define ML_DSA_L2_PUBKEY_SIZE 1312 #define ML_DSA_L3_PUBKEY_SIZE 1952 #define ML_DSA_L5_PUBKEY_SIZE 2592 - -#if defined(SIGN_ML_DSA) && !defined(ML_DSA_LEVEL) +/* Configure using ML_DSA_LEVEL: Default is security category 5. */ +#if defined(WOLFBOOT_SIGN_ML_DSA) && !defined(ML_DSA_LEVEL) #define ML_DSA_LEVEL 5 #endif /* Default to max size for keystore */