File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525#endif
2626#endif /* !__ASSEMBLER__ */
2727
28+ /******************************************************************************
29+ * Name: MLK_CONFIG_EXTERNAL_API_QUALIFIER
30+ *
31+ * Description: If set, this option provides an additional function
32+ * qualifier to be added to declarations of mlkem-native's
33+ * public API.
34+ *
35+ * The primary use case for this option are single-CU builds
36+ * where the public API exposed by mlkem-native is wrapped by
37+ * another API in the consuming application. In this case,
38+ * even mlkem-native's public API can be marked `static`.
39+ *
40+ *****************************************************************************/
41+ #if !defined(__ASSEMBLER__ )
42+ #include <oqs/common.h>
43+ #define MLK_CONFIG_EXTERNAL_API_QUALIFIER OQS_API
44+ #endif
45+
2846/******************************************************************************
2947 * Name: MLK_CONFIG_PARAMETER_SET
3048 *
Original file line number Diff line number Diff line change 2525#endif
2626#endif /* !__ASSEMBLER__ */
2727
28+ /******************************************************************************
29+ * Name: MLK_CONFIG_EXTERNAL_API_QUALIFIER
30+ *
31+ * Description: If set, this option provides an additional function
32+ * qualifier to be added to declarations of mlkem-native's
33+ * public API.
34+ *
35+ * The primary use case for this option are single-CU builds
36+ * where the public API exposed by mlkem-native is wrapped by
37+ * another API in the consuming application. In this case,
38+ * even mlkem-native's public API can be marked `static`.
39+ *
40+ *****************************************************************************/
41+ #if !defined(__ASSEMBLER__ )
42+ #include <oqs/common.h>
43+ #define MLK_CONFIG_EXTERNAL_API_QUALIFIER OQS_API
44+ #endif
2845
2946/******************************************************************************
3047 * Name: MLK_CONFIG_PARAMETER_SET
Original file line number Diff line number Diff line change 2525#endif
2626#endif /* !__ASSEMBLER__ */
2727
28+ /******************************************************************************
29+ * Name: MLK_CONFIG_EXTERNAL_API_QUALIFIER
30+ *
31+ * Description: If set, this option provides an additional function
32+ * qualifier to be added to declarations of mlkem-native's
33+ * public API.
34+ *
35+ * The primary use case for this option are single-CU builds
36+ * where the public API exposed by mlkem-native is wrapped by
37+ * another API in the consuming application. In this case,
38+ * even mlkem-native's public API can be marked `static`.
39+ *
40+ *****************************************************************************/
41+ #if !defined(__ASSEMBLER__ )
42+ #include <oqs/common.h>
43+ #define MLK_CONFIG_EXTERNAL_API_QUALIFIER OQS_API
44+ #endif
45+
2846/******************************************************************************
2947 * Name: MLK_CONFIG_PARAMETER_SET
3048 *
You can’t perform that action at this time.
0 commit comments