heimdal: update to lorikeet-heimdal rev 801
[samba.git] / source4 / heimdal / lib / hcrypto / aes.h
old mode 100755 (executable)
new mode 100644 (file)
index e91d8e7..eeba5c9
@@ -31,7 +31,7 @@
  * SUCH DAMAGE.
  */
 
-/* $Id: aes.h 17450 2006-05-05 11:11:43Z lha $ */
+/* $Id: aes.h 22958 2008-04-11 11:33:22Z lha $ */
 
 #ifndef HEIM_AES_H
 #define HEIM_AES_H 1
@@ -58,6 +58,10 @@ typedef struct aes_key {
     int rounds;
 } AES_KEY;
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 int AES_set_encrypt_key(const unsigned char *, const int, AES_KEY *);
 int AES_set_decrypt_key(const unsigned char *, const int, AES_KEY *);
 
@@ -68,4 +72,8 @@ void AES_cbc_encrypt(const unsigned char *, unsigned char *,
                     const unsigned long, const AES_KEY *,
                     unsigned char *, int);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif /* HEIM_AES_H */