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
1 change: 1 addition & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ IncludeBlocks: Preserve
# as "attributes" so they don't get increasingly indented line after line
BreakBeforeBraces: Allman
InsertBraces: true
IndentExternBlock: NoIndent
WhitespaceSensitiveMacros: ['__contract__', '__loop__' ]
Macros:
# Make this artifically long to avoid function bodies after short contracts
Expand Down
10 changes: 10 additions & 0 deletions mldsa/mldsa_native.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,12 @@
#include <stddef.h>
#include <stdint.h>


#ifdef __cplusplus
extern "C"
{
#endif

/*************************************************
* Name: crypto_sign_keypair_internal
*
Expand Down Expand Up @@ -845,6 +851,10 @@ int MLD_API_NAMESPACE(pk_from_sk)(
#endif
);

#ifdef __cplusplus
}
#endif

/****************************** SUPERCOP API *********************************/

#if !defined(MLD_CONFIG_API_NO_SUPERCOP)
Expand Down