summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--aes.h2
-rw-r--r--arcfour.h2
-rw-r--r--blowfish.h2
-rw-r--r--cast128.h2
-rw-r--r--des.h2
-rw-r--r--md5.h2
-rw-r--r--memxor.h2
-rw-r--r--serpent.h2
-rw-r--r--sha1.h2
-rw-r--r--twofish.h2
11 files changed, 14 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 50c67aea..d281ffdb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2001-06-17 Niels Möller <nisse@cuckoo.hack.org>
+ * Use <inttypes.h>, not <stdint.h>.
+
+ * blowfish.h (BLOWFISH_MAX_KEY_SIZE): Fixed, should be 56.
+
* Fixed copyright notices.
* Makefile.am (libnettle_a_SOURCES): Added desinfo.h and
diff --git a/aes.h b/aes.h
index e7298d09..398ac7e6 100644
--- a/aes.h
+++ b/aes.h
@@ -26,7 +26,7 @@
#ifndef NETTLE_AES_H_INCLUDED
#define NETTLE_AES_H_INCLUDED
-#include <stdint.h>
+#include <inttypes.h>
#define AES_BLOCK_SIZE 16
diff --git a/arcfour.h b/arcfour.h
index 49219610..54aee479 100644
--- a/arcfour.h
+++ b/arcfour.h
@@ -26,7 +26,7 @@
#ifndef NETTLE_ARCFOUR_H_INCLUDED
#define NETTLE_ARCFOUR_H_INCLUDED
-#include <stdint.h>
+#include <inttypes.h>
/* Minimum and maximum keysizes, and a reasonable default. In
* octets.*/
diff --git a/blowfish.h b/blowfish.h
index eb346a77..72934da5 100644
--- a/blowfish.h
+++ b/blowfish.h
@@ -26,7 +26,7 @@
#ifndef NETTLE_BLOWFISH_H_INCLUDED
#define NETTLE_BLOWFISH_H_INCLUDED
-#include <stdint.h>
+#include <inttypes.h>
#define BLOWFISH_BLOCK_SIZE 8
diff --git a/cast128.h b/cast128.h
index 9475aea1..0d1e044e 100644
--- a/cast128.h
+++ b/cast128.h
@@ -32,7 +32,7 @@
#ifndef NETTLE_CAST128_H_INCLUDED
#define NETTLE_CAST128_H_INCLUDED
-#include <stdint.h>
+#include <inttypes.h>
#define CAST128_BLOCK_SIZE 8
diff --git a/des.h b/des.h
index 9f7584d0..9c09a5dd 100644
--- a/des.h
+++ b/des.h
@@ -35,7 +35,7 @@
#ifndef NETTLE_DES_H
#define NETTLE_DES_H
-#include <stdint.h>
+#include <inttypes.h>
#define DES_KEY_SIZE 8
#define DES_BLOCK_SIZE 8
diff --git a/md5.h b/md5.h
index c2d7e98c..b376f7db 100644
--- a/md5.h
+++ b/md5.h
@@ -26,7 +26,7 @@
#ifndef NETTLE_MD5_H_INCLUDED
#define NETTLE_MD5_H_INCLUDED
-#include <stdint.h>
+#include <inttypes.h>
#define MD5_DIGEST_SIZE 16
#define MD5_DATA_SIZE 64
diff --git a/memxor.h b/memxor.h
index 16c2829b..25621b19 100644
--- a/memxor.h
+++ b/memxor.h
@@ -5,7 +5,7 @@
#ifndef NETTLE_MEMXOR_H_INCLUDED
#define NETTLE_MEMXOR_H_INCLUDED
-#include <stdint.h>
+#include <inttypes.h>
#include <stdlib.h>
uint8_t *memxor(uint8_t *dst, const uint8_t *src, size_t n);
diff --git a/serpent.h b/serpent.h
index 7a404626..ae8afeb7 100644
--- a/serpent.h
+++ b/serpent.h
@@ -31,7 +31,7 @@
#ifndef NETTLE_SERPENT_H_INCLUDED
#define NETTLE_SERPENT_H_INCLUDED
-#include <stdint.h>
+#include <inttypes.h>
#define SERPENT_BLOCK_SIZE 16
diff --git a/sha1.h b/sha1.h
index 65113563..ab1a88b3 100644
--- a/sha1.h
+++ b/sha1.h
@@ -26,7 +26,7 @@
#ifndef NETTLE_SHA1_H_INCLUDED
#define NETTLE_SHA1_H_INCLUDED
-#include <stdint.h>
+#include <inttypes.h>
#define SHA1_DIGEST_SIZE 20
#define SHA1_DATA_SIZE 64
diff --git a/twofish.h b/twofish.h
index 217b9e30..a33554c5 100644
--- a/twofish.h
+++ b/twofish.h
@@ -32,7 +32,7 @@
#ifndef NETTLE_TWOFISH_H_INCLUDED
#define NETTLE_TWOFISH_H_INCLUDED
-#include <stdint.h>
+#include <inttypes.h>
#define TWOFISH_BLOCK_SIZE 16