Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions integration/liboqs/config_aarch64.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,24 @@
#endif
#endif /* !__ASSEMBLER__ */

/******************************************************************************
* Name: MLK_CONFIG_EXTERNAL_API_QUALIFIER
*
* Description: If set, this option provides an additional function
* qualifier to be added to declarations of mlkem-native's
* public API.
*
* The primary use case for this option are single-CU builds
* where the public API exposed by mlkem-native is wrapped by
* another API in the consuming application. In this case,
* even mlkem-native's public API can be marked `static`.
*
*****************************************************************************/
#if !defined(__ASSEMBLER__)
#include <oqs/common.h>
#define MLK_CONFIG_EXTERNAL_API_QUALIFIER OQS_API
#endif

/******************************************************************************
* Name: MLK_CONFIG_PARAMETER_SET
*
Expand Down
17 changes: 17 additions & 0 deletions integration/liboqs/config_c.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,23 @@
#endif
#endif /* !__ASSEMBLER__ */

/******************************************************************************
* Name: MLK_CONFIG_EXTERNAL_API_QUALIFIER
*
* Description: If set, this option provides an additional function
* qualifier to be added to declarations of mlkem-native's
* public API.
*
* The primary use case for this option are single-CU builds
* where the public API exposed by mlkem-native is wrapped by
* another API in the consuming application. In this case,
* even mlkem-native's public API can be marked `static`.
*
*****************************************************************************/
#if !defined(__ASSEMBLER__)
#include <oqs/common.h>
#define MLK_CONFIG_EXTERNAL_API_QUALIFIER OQS_API
#endif

/******************************************************************************
* Name: MLK_CONFIG_PARAMETER_SET
Expand Down
18 changes: 18 additions & 0 deletions integration/liboqs/config_x86_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,24 @@
#endif
#endif /* !__ASSEMBLER__ */

/******************************************************************************
* Name: MLK_CONFIG_EXTERNAL_API_QUALIFIER
*
* Description: If set, this option provides an additional function
* qualifier to be added to declarations of mlkem-native's
* public API.
*
* The primary use case for this option are single-CU builds
* where the public API exposed by mlkem-native is wrapped by
* another API in the consuming application. In this case,
* even mlkem-native's public API can be marked `static`.
*
*****************************************************************************/
#if !defined(__ASSEMBLER__)
#include <oqs/common.h>
#define MLK_CONFIG_EXTERNAL_API_QUALIFIER OQS_API
#endif

/******************************************************************************
* Name: MLK_CONFIG_PARAMETER_SET
*
Expand Down
Loading