#include "bearssl_hash.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/** \file bearssl_hmac.h
*
* # HMAC
/**
* \brief Compute the HMAC output.
*
- * The destination buffer MUST be large enough to accomodate the result;
+ * The destination buffer MUST be large enough to accommodate the result;
* its length is at most the "natural length" of HMAC (i.e. the output
* length of the underlying hash function). The context is NOT modified;
* further bytes may be processed. Thus, "partial HMAC" values can be
const void *data, size_t len, size_t min_len, size_t max_len,
void *out);
+#ifdef __cplusplus
+}
+#endif
+
#endif