summaryrefslogtreecommitdiff
path: root/aes.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2006-11-24 17:27:43 +0100
committerNiels Möller <nisse@lysator.liu.se>2006-11-24 17:27:43 +0100
commit82cb285e0ff3c60f7a2b185803a493067d0d1713 (patch)
tree502eb8a180b0ce443ffcc423916b4f284109b893 /aes.h
parentf2b218bcaba3b7d50cfbad1b1029c954c54a0df6 (diff)
downloadnettle-82cb285e0ff3c60f7a2b185803a493067d0d1713.tar.gz
Added C++ guards.
Rev: src/nettle/aes.h:1.8 Rev: src/nettle/arcfour.h:1.6 Rev: src/nettle/arctwo.h:1.3 Rev: src/nettle/asn1.h:1.3 Rev: src/nettle/base16.h:1.4 Rev: src/nettle/base64.h:1.15 Rev: src/nettle/bignum.h:1.11 Rev: src/nettle/blowfish.h:1.10 Rev: src/nettle/buffer.h:1.6 Rev: src/nettle/cast128.h:1.6 Rev: src/nettle/cbc.h:1.9 Rev: src/nettle/ctr.h:1.3 Rev: src/nettle/des-compat.h:1.13 Rev: src/nettle/des.h:1.11 Rev: src/nettle/dsa.h:1.10 Rev: src/nettle/hmac.h:1.6 Rev: src/nettle/knuth-lfib.h:1.4 Rev: src/nettle/md2.h:1.4 Rev: src/nettle/md4.h:1.4 Rev: src/nettle/md5-compat.h:1.3 Rev: src/nettle/md5.h:1.9 Rev: src/nettle/memxor.h:1.5 Rev: src/nettle/nettle-meta.h:1.15 Rev: src/nettle/nettle-types.h:1.2 Rev: src/nettle/pgp.h:1.8 Rev: src/nettle/pkcs1.h:1.4 Rev: src/nettle/realloc.h:1.3 Rev: src/nettle/rsa-compat.h:1.4 Rev: src/nettle/rsa.h:1.26 Rev: src/nettle/serpent.h:1.8 Rev: src/nettle/sexp.h:1.18 Rev: src/nettle/sha.h:1.7 Rev: src/nettle/testsuite/testutils.h:1.24 Rev: src/nettle/twofish.h:1.7 Rev: src/nettle/yarrow.h:1.12
Diffstat (limited to 'aes.h')
-rw-r--r--aes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/aes.h b/aes.h
index 97d8deef..10c567f3 100644
--- a/aes.h
+++ b/aes.h
@@ -28,6 +28,10 @@
#include "nettle-types.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Name mangling */
#define aes_set_encrypt_key nettle_aes_set_encrypt_key
#define aes_set_decrypt_key nettle_aes_set_decrypt_key
@@ -65,4 +69,8 @@ aes_decrypt(struct aes_ctx *ctx,
unsigned length, uint8_t *dst,
const uint8_t *src);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* NETTLE_AES_H_INCLUDED */