aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/aesni/raw.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/aesni/raw.h')
-rw-r--r--include/aesni/raw.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/aesni/raw.h b/include/aesni/raw.h
index 6ea0c8a..562ac0c 100644
--- a/include/aesni/raw.h
+++ b/include/aesni/raw.h
@@ -10,6 +10,11 @@
#include "data.h"
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
void __fastcall raw_aes128_expand_key_schedule(
AesBlock128 key,
Aes128KeySchedule* key_schedule);
@@ -53,3 +58,7 @@ AesBlock128 __fastcall raw_aes256_encrypt_block(
AesBlock128 __fastcall raw_aes256_decrypt_block(
AesBlock128 cipher,
Aes256KeySchedule* inverted_schedule);
+
+#ifdef __cplusplus
+}
+#endif