Made headers compatible with C++.

This commit is contained in:
Thomas Pornin 2017-04-06 01:03:54 +02:00
parent ee15f235c9
commit 042986b989
10 changed files with 80 additions and 0 deletions

View file

@ -28,6 +28,10 @@
#include <stddef.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/** \file bearssl_block.h
*
* # Block Ciphers and Symmetric Ciphers
@ -1802,4 +1806,8 @@ void br_poly1305_ctmulq_run(const void *key, const void *iv,
*/
br_poly1305_run br_poly1305_ctmulq_get(void);
#ifdef __cplusplus
}
#endif
#endif