Merge pull request #6898 from SparkiDev/ed25519_g++

Ed25519: add missing C++ directives for C functions
This commit is contained in:
JacobBarthelmeh
2023-10-20 15:52:12 -06:00
committed by GitHub

View File

@@ -70,6 +70,9 @@ typedef struct {
ge T;
} ge_p3;
#ifdef __cplusplus
extern "C" {
#endif
WOLFSSL_LOCAL int ge_compress_key(byte* out, const byte* xIn, const byte* yIn,
word32 keySz);
@@ -122,6 +125,10 @@ void ge_add(ge_p1p1 *r, const ge_p3 *p, const ge_cached *q);
void ge_sub(ge_p1p1 *r, const ge_p3 *p, const ge_cached *q);
#endif
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* HAVE_ED25519 */
#endif /* WOLF_CRYPT_GE_OPERATIONS_H */