@@ -30441,7 +30441,7 @@ int test_mldsa_x509_pubkey_sigtype(void)
3044130441 * The two functions below are not runtime tests. Their bodies sit inside
3044230442 * `if (0)` so the compiler parses every reference without emitting any
3044330443 * runtime call. Their job is to fail compilation if the canonical
30444- * wc_MlDsaKey_* / MlDsaKey API in <wolfssl/wolfcrypt/wc_mldsa.h> or the
30444+ * wc_MlDsaKey_* / wc_MlDsaKey API in <wolfssl/wolfcrypt/wc_mldsa.h> or the
3044530445 * legacy alias surface in <wolfssl/wolfcrypt/dilithium.h> drifts in a way
3044630446 * that would silently break a downstream consumer. They live in this test
3044730447 * translation unit (rather than wolfcrypt/src/wc_mldsa.c) so the library
@@ -30462,20 +30462,20 @@ int test_mldsa_x509_pubkey_sigtype(void)
3046230462 #define WOLFSSL_MLDSA_API_CHECK_INLINE static WC_INLINE
3046330463#endif
3046430464
30465- /* Compile-time validation of the canonical wc_MlDsaKey_* / MlDsaKey API. */
30465+ /* Compile-time validation of the canonical wc_MlDsaKey_* / wc_MlDsaKey API. */
3046630466WOLFSSL_MLDSA_API_CHECK_INLINE void wc_mldsa_canonical_api_check(void)
3046730467{
3046830468 if (0) {
30469- MlDsaKey k;
30470- const MlDsaParams *p;
30469+ wc_MlDsaKey k;
30470+ const wc_MlDsaParams *p;
3047130471 const byte buf[1] = { 0 };
3047230472 word32 sz = 0;
3047330473 byte level = 0;
3047430474 int res = 0;
3047530475 WC_RNG *rng = NULL;
3047630476
30477- (void)sizeof(MlDsaKey );
30478- (void)sizeof(MlDsaParams );
30477+ (void)sizeof(wc_MlDsaKey );
30478+ (void)sizeof(wc_MlDsaParams );
3047930479
3048030480 /* Lifecycle / parameters. */
3048130481 (void)wc_MlDsaKey_Init(&k, NULL, INVALID_DEVID);
@@ -30589,7 +30589,7 @@ WOLFSSL_MLDSA_API_CHECK_INLINE void wc_mldsa_canonical_api_check(void)
3058930589WOLFSSL_MLDSA_API_CHECK_INLINE void wc_mldsa_legacy_alias_check(void)
3059030590{
3059130591 if (0) {
30592- MlDsaKey k;
30592+ wc_MlDsaKey k;
3059330593 dilithium_key *kp = (dilithium_key *)0;
3059430594 const wc_dilithium_params *pp = (const wc_dilithium_params *)0;
3059530595 const byte buf[1] = { 0 };
0 commit comments