VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Crypto/Streebog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Crypto/Streebog.h')
-rw-r--r--src/Crypto/Streebog.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Crypto/Streebog.h b/src/Crypto/Streebog.h
index 47c792c1..3cb8d8ed 100644
--- a/src/Crypto/Streebog.h
+++ b/src/Crypto/Streebog.h
@@ -12,6 +12,10 @@
#include "Common/Tcdefs.h"
#include "config.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define ALIGN(a) CRYPTOPP_ALIGN_DATA(a)
typedef ALIGN(16) struct _STREEBOG_CTX
@@ -30,4 +34,8 @@ void STREEBOG_init256(STREEBOG_CTX *ctx);
void STREEBOG_add(STREEBOG_CTX *ctx, const byte *msg, size_t len);
void STREEBOG_finalize(STREEBOG_CTX *ctx, byte *out);
+#ifdef __cplusplus
+}
+#endif
+
#endif