diff options
author | Niels Möller <nisse@lysator.liu.se> | 2004-01-07 23:23:06 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2004-01-07 23:23:06 +0100 |
commit | 121313f4c0ffdb86c6110abe6e8a527483b8b9c4 (patch) | |
tree | 53bd8b5726ef04a6723843758e72e7efbc0e1303 | |
parent | 73e2c0ce9ba9c4d59c96d93a2a2d41b8322cc0cf (diff) | |
download | nettle-121313f4c0ffdb86c6110abe6e8a527483b8b9c4.tar.gz |
* nettle-types.h: New (generated) file, to be used instead of including
<inttypes.h> directly. Updated all users of inttypes.h.
Rev: src/nettle/aes.h:1.7
Rev: src/nettle/aesdata.c:1.3
Rev: src/nettle/arcfour.h:1.5
Rev: src/nettle/base16.h:1.3
Rev: src/nettle/base64.h:1.14
Rev: src/nettle/bignum.h:1.8
Rev: src/nettle/blowfish.h:1.9
Rev: src/nettle/cast128.h:1.5
Rev: src/nettle/cbc.h:1.5
Rev: src/nettle/des.h:1.9
Rev: src/nettle/dsa.h:1.9
Rev: src/nettle/knuth-lfib.h:1.3
Rev: src/nettle/md2.h:1.3
Rev: src/nettle/md4.h:1.3
Rev: src/nettle/md5.h:1.7
Rev: src/nettle/memxor.h:1.3
Rev: src/nettle/nettle-meta.h:1.11
Rev: src/nettle/pkcs1.h:1.3
Rev: src/nettle/realloc.h:1.2
Rev: src/nettle/rsa.h:1.24
Rev: src/nettle/serpent.h:1.7
Rev: src/nettle/sexp.h:1.16
Rev: src/nettle/sha.h:1.4
Rev: src/nettle/twofish.h:1.6
-rw-r--r-- | aes.h | 2 | ||||
-rw-r--r-- | aesdata.c | 3 | ||||
-rw-r--r-- | arcfour.h | 2 | ||||
-rw-r--r-- | base16.h | 2 | ||||
-rw-r--r-- | base64.h | 2 | ||||
-rw-r--r-- | bignum.h | 2 | ||||
-rw-r--r-- | blowfish.h | 2 | ||||
-rw-r--r-- | cast128.h | 2 | ||||
-rw-r--r-- | cbc.h | 2 | ||||
-rw-r--r-- | des.h | 2 | ||||
-rw-r--r-- | dsa.h | 3 | ||||
-rw-r--r-- | knuth-lfib.h | 2 | ||||
-rw-r--r-- | md2.h | 2 | ||||
-rw-r--r-- | md4.h | 2 | ||||
-rw-r--r-- | md5.h | 2 | ||||
-rw-r--r-- | memxor.h | 2 | ||||
-rw-r--r-- | nettle-meta.h | 2 | ||||
-rw-r--r-- | pkcs1.h | 2 | ||||
-rw-r--r-- | realloc.h | 2 | ||||
-rw-r--r-- | rsa.h | 2 | ||||
-rw-r--r-- | serpent.h | 2 | ||||
-rw-r--r-- | sexp.h | 2 | ||||
-rw-r--r-- | sha.h | 2 | ||||
-rw-r--r-- | twofish.h | 2 |
24 files changed, 26 insertions, 24 deletions
@@ -26,7 +26,7 @@ #ifndef NETTLE_AES_H_INCLUDED #define NETTLE_AES_H_INCLUDED -#include <inttypes.h> +#include "nettle-types.h" /* Name mangling */ #define aes_set_encrypt_key nettle_aes_set_encrypt_key @@ -3,11 +3,12 @@ #endif #include <assert.h> -#include <inttypes.h> #include <stdlib.h> #include <stdio.h> #include <string.h> +#include "nettle-types.h" + #if 1 # define BYTE_FORMAT "0x%02x" # define BYTE_COLUMNS 8 @@ -26,7 +26,7 @@ #ifndef NETTLE_ARCFOUR_H_INCLUDED #define NETTLE_ARCFOUR_H_INCLUDED -#include <inttypes.h> +#include "nettle-types.h" /* Name mangling */ #define arcfour_set_key nettle_arcfour_set_key @@ -27,7 +27,7 @@ #ifndef NETTLE_BASE16_H_INCLUDED #define NETTLE_BASE16_H_INCLUDED -#include <inttypes.h> +#include "nettle-types.h" /* Name mangling */ #define base16_encode_single nettle_base16_encode_single @@ -26,7 +26,7 @@ #ifndef NETTLE_BASE64_H_INCLUDED #define NETTLE_BASE64_H_INCLUDED -#include <inttypes.h> +#include "nettle-types.h" /* Name mangling */ #define base64_encode_init nettle_base64_encode_init @@ -29,7 +29,7 @@ #include "nettle-meta.h" #include <gmp.h> -#include <inttypes.h> +#include "nettle-types.h" /* Size needed for signed encoding, including extra sign byte if * necessary. */ @@ -26,7 +26,7 @@ #ifndef NETTLE_BLOWFISH_H_INCLUDED #define NETTLE_BLOWFISH_H_INCLUDED -#include <inttypes.h> +#include "nettle-types.h" /* Name mangling */ #define blowfish_set_key nettle_blowfish_set_key @@ -32,7 +32,7 @@ #ifndef NETTLE_CAST128_H_INCLUDED #define NETTLE_CAST128_H_INCLUDED -#include <inttypes.h> +#include "nettle-types.h" /* Name mangling */ #define cast128_set_key nettle_cast128_set_key @@ -26,7 +26,7 @@ #ifndef NETTLE_CBC_H_INCLUDED #define NETTLE_CBC_H_INCLUDED -#include <inttypes.h> +#include "nettle-types.h" /* Name mangling */ #define cbc_encrypt nettle_cbc_encrypt @@ -35,7 +35,7 @@ #ifndef NETTLE_DES_H_INCLUDED #define NETTLE_DES_H_INCLUDED -#include <inttypes.h> +#include "nettle-types.h" /* Namespace mangling */ #define des_set_key nettle_des_set_key @@ -26,9 +26,10 @@ #ifndef NETTLE_DSA_H_INCLUDED #define NETTLE_DSA_H_INCLUDED -#include <inttypes.h> #include <gmp.h> +#include "nettle-types.h" + #include "sha.h" /* For nettle_random_func */ diff --git a/knuth-lfib.h b/knuth-lfib.h index c8a1f93a..073c9df5 100644 --- a/knuth-lfib.h +++ b/knuth-lfib.h @@ -31,7 +31,7 @@ #ifndef NETTLE_KNUTH_LFIB_H_INCLUDED #define NETTLE_KNUTH_LFIB_H_INCLUDED -#include <inttypes.h> +#include "nettle-types.h" /* Namespace mangling */ #define knuth_lfib_init nettle_knuth_lfib_init @@ -26,7 +26,7 @@ #ifndef NETTLE_MD2_H_INCLUDED #define NETTLE_MD2_H_INCLUDED -#include <inttypes.h> +#include "nettle-types.h" /* Name mangling */ #define md2_init nettle_md2_init @@ -26,7 +26,7 @@ #ifndef NETTLE_MD4_H_INCLUDED #define NETTLE_MD4_H_INCLUDED -#include <inttypes.h> +#include "nettle-types.h" /* Name mangling */ #define md4_init nettle_md4_init @@ -26,7 +26,7 @@ #ifndef NETTLE_MD5_H_INCLUDED #define NETTLE_MD5_H_INCLUDED -#include <inttypes.h> +#include "nettle-types.h" /* Name mangling */ #define md5_init nettle_md5_init @@ -5,8 +5,8 @@ #ifndef NETTLE_MEMXOR_H_INCLUDED #define NETTLE_MEMXOR_H_INCLUDED -#include <inttypes.h> #include <stdlib.h> +#include "nettle-types.h" uint8_t *memxor(uint8_t *dst, const uint8_t *src, size_t n); diff --git a/nettle-meta.h b/nettle-meta.h index ebffd1cb..9a74cb32 100644 --- a/nettle-meta.h +++ b/nettle-meta.h @@ -26,7 +26,7 @@ #ifndef NETTLE_META_H_INCLUDED #define NETTLE_META_H_INCLUDED -#include <inttypes.h> +#include "nettle-types.h" /* Randomness. Used by key generation and dsa signature creation. */ typedef void (*nettle_random_func)(void *ctx, @@ -26,8 +26,8 @@ #ifndef NETTLE_PKCS1_H_INCLUDED #define NETTLE_PKCS1_H_INCLUDED -#include <inttypes.h> #include <gmp.h> +#include "nettle-types.h" /* Name mangling */ #define pkcs1_signature_prefix nettle_pkcs1_signature_prefix @@ -25,7 +25,7 @@ #ifndef NETTLE_REALLOC_H_INCLUDED #define NETTLE_REALLOC_H_INCLUDED -#include <inttypes.h> +#include "nettle-types.h" typedef void *nettle_realloc_func(void *ctx, void *p, unsigned length); @@ -26,8 +26,8 @@ #ifndef NETTLE_RSA_H_INCLUDED #define NETTLE_RSA_H_INCLUDED -#include <inttypes.h> #include <gmp.h> +#include "nettle-types.h" #include "md5.h" #include "sha.h" @@ -31,7 +31,7 @@ #ifndef NETTLE_SERPENT_H_INCLUDED #define NETTLE_SERPENT_H_INCLUDED -#include <inttypes.h> +#include "nettle-types.h" /* Name mangling */ #define serpent_set_key nettle_serpent_set_key @@ -26,8 +26,8 @@ #ifndef NETTLE_SEXP_H_INCLUDED #define NETTLE_SEXP_H_INCLUDED -#include <inttypes.h> #include <stdarg.h> +#include "nettle-types.h" /* Name mangling */ #define sexp_iterator_first nettle_sexp_iterator_first @@ -26,7 +26,7 @@ #ifndef NETTLE_SHA_H_INCLUDED #define NETTLE_SHA_H_INCLUDED -#include <inttypes.h> +#include "nettle-types.h" /* Name mangling */ #define sha1_init nettle_sha1_init @@ -32,7 +32,7 @@ #ifndef NETTLE_TWOFISH_H_INCLUDED #define NETTLE_TWOFISH_H_INCLUDED -#include <inttypes.h> +#include "nettle-types.h" /* Name mangling */ #define twofish_set_key nettle_twofish_set_key |