From 8eee0b1d4c5fe795564f73e759857f3c3975b8f5 Mon Sep 17 00:00:00 2001 From: toddouska Date: Mon, 15 Apr 2013 13:22:11 -0700 Subject: [PATCH] add blake2 headers to dist --- cyassl/ctaocrypt/blake2.h | 7 +++++-- cyassl/ctaocrypt/include.am | 3 +++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/cyassl/ctaocrypt/blake2.h b/cyassl/ctaocrypt/blake2.h index 9023de35b..a506b83da 100644 --- a/cyassl/ctaocrypt/blake2.h +++ b/cyassl/ctaocrypt/blake2.h @@ -27,6 +27,9 @@ #include +#ifdef __cplusplus + extern "C" { +#endif /* in bytes, variable digest size up to 512 bits (64 bytes) */ enum { @@ -47,8 +50,8 @@ CYASSL_API int Blake2bFinal(Blake2b*, byte*, word32); -#if defined(__cplusplus) - } +#ifdef __cplusplus + } #endif #endif /* CTAOCRYPT_BLAKE2_H */ diff --git a/cyassl/ctaocrypt/include.am b/cyassl/ctaocrypt/include.am index 18c3c0d9c..b83a9e035 100644 --- a/cyassl/ctaocrypt/include.am +++ b/cyassl/ctaocrypt/include.am @@ -30,6 +30,9 @@ nobase_include_HEADERS+= \ cyassl/ctaocrypt/sha256.h \ cyassl/ctaocrypt/sha512.h \ cyassl/ctaocrypt/sha.h \ + cyassl/ctaocrypt/blake2.h \ + cyassl/ctaocrypt/blake2-int.h \ + cyassl/ctaocrypt/blake2-impl.h \ cyassl/ctaocrypt/tfm.h \ cyassl/ctaocrypt/types.h \ cyassl/ctaocrypt/visibility.h \