aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/aesni/raw.h
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-06-10 17:09:44 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-06-10 17:09:44 +0300
commit3709911c8ddbb3b7e8e1bbb9109784ec6c625a8a (patch)
tree17aeb9f429bc3fb1ebadf38681ef48cd9f6f5829 /include/aesni/raw.h
parent/SAFESEH for the asm implementation (diff)
downloadaes-tools-3709911c8ddbb3b7e8e1bbb9109784ec6c625a8a.tar.gz
aes-tools-3709911c8ddbb3b7e8e1bbb9109784ec6c625a8a.zip
add extern "C" {
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