aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/aesni/padding.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/aesni/padding.h')
-rw-r--r--include/aesni/padding.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/aesni/padding.h b/include/aesni/padding.h
index f76df16..7f19b18 100644
--- a/include/aesni/padding.h
+++ b/include/aesni/padding.h
@@ -12,6 +12,11 @@
#include <stdlib.h>
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
typedef enum
{
AESNI_PADDING_PKCS7,
@@ -30,3 +35,7 @@ AesNI_StatusCode aesni_fill_with_padding(
void* dest,
size_t padding_size,
AesNI_ErrorDetails*);
+
+#ifdef __cplusplus
+}
+#endif