From c907a788c05ec5a28d24a6f477de891a827f90aa Mon Sep 17 00:00:00 2001 From: Steve Fan <29133953+stevefan1999-personal@users.noreply.github.com> Date: Sat, 18 Apr 2020 18:14:21 +0800 Subject: [PATCH] Update monocypher.h --- src/monocypher.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/monocypher.h b/src/monocypher.h index e014f8d..93e9950 100644 --- a/src/monocypher.h +++ b/src/monocypher.h @@ -57,6 +57,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + //////////////////////// /// Type definitions /// //////////////////////// @@ -351,5 +355,8 @@ void crypto_x25519_inverse(uint8_t blind_salt [32], const uint8_t private_key[32], const uint8_t curve_point[32]); - +#ifdef __cplusplus +} +#endif + #endif // MONOCYPHER_H -- 2.47.3