aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/aesni/padding.h
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-06-24 04:34:11 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-06-24 04:34:11 +0300
commitd740ffcd5e356b908159f247715d0d51f6bf1095 (patch)
tree0c74b6cf380494a964037f65f46ebd2f14a742e2 /include/aesni/padding.h
parentrefactoring (diff)
downloadaes-tools-d740ffcd5e356b908159f247715d0d51f6bf1095.tar.gz
aes-tools-d740ffcd5e356b908159f247715d0d51f6bf1095.zip
add missing extern "C" {
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