X-Git-Url: https://www.bearssl.org/gitweb//home/git/?p=BearSSL;a=blobdiff_plain;f=inc%2Fbearssl_hash.h;h=3b15ba7ca487fafb56f1be970bb0de5ad5e76664;hp=d06bae4ddc1d13ca6a86150c92ffae198683fc67;hb=966078b3373a273f8417ede42ecab32a414dc109;hpb=db8f1b664524e3fbeea8a0730b2bbe2f0bdcea86 diff --git a/inc/bearssl_hash.h b/inc/bearssl_hash.h index d06bae4..3b15ba7 100644 --- a/inc/bearssl_hash.h +++ b/inc/bearssl_hash.h @@ -29,6 +29,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + /** \file bearssl_hash.h * * # Hash Functions @@ -89,7 +93,7 @@ * - `br_xxx_out(const br_xxx_context *ctx, void *out)` * * Complete the hash computation and write the result in the provided - * buffer. The output buffer MUST be large enough to accomodate the + * buffer. The output buffer MUST be large enough to accommodate the * result. The context is NOT modified by this operation, so this * function can be used to get a "partial hash" while still keeping * the possibility of adding more bytes to the input. @@ -1335,4 +1339,8 @@ void br_ghash_pwr8(void *y, const void *h, const void *data, size_t len); */ br_ghash br_ghash_pwr8_get(void); +#ifdef __cplusplus +} +#endif + #endif