Skip to content

Commit e9ea411

Browse files
committed
Correct namespacing definitions for mlkem braid test
Signed-off-by: Rod Chapman <rodchap@amazon.com>
1 parent 80d95d5 commit e9ea411

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

test/configs/configs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,6 @@ configs:
469469
- path: test/configs/test_mlkem_braid_config.h
470470
description: "Enable ML-KEM Braid API"
471471
defines:
472-
MLK_CONFIG_NAMESPACE_PREFIX: mlk
473472
MLK_CONFIG_ENABLE_MLKEM_BRAID: true
474473
MLK_CONFIG_FILE:
475474
comment: "/* No need to set this -- we _are_ already in a custom config */"

test/configs/test_mlkem_braid_config.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
*
3030
* This configuration differs from the default mlkem/mlkem_native_config.h in
3131
* the following places:
32-
* - MLK_CONFIG_NAMESPACE_PREFIX
3332
* - MLK_CONFIG_ENABLE_MLKEM_BRAID
3433
*/
3534

@@ -79,7 +78,9 @@
7978
*
8079
* This can also be set using CFLAGS.
8180
*/
82-
#define MLK_CONFIG_NAMESPACE_PREFIX mlk
81+
#if !defined(MLK_CONFIG_NAMESPACE_PREFIX)
82+
#define MLK_CONFIG_NAMESPACE_PREFIX MLK_DEFAULT_NAMESPACE_PREFIX
83+
#endif
8384

8485
/**
8586
* MLK_CONFIG_MULTILEVEL_BUILD

0 commit comments

Comments
 (0)