summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/dpxcrypt.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2015-08-24 08:49:38 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2015-08-24 08:49:38 +0000
commit186bbd00ffa404c29caaeeeee89437c127e95df7 (patch)
tree1adffc6952f6d43b9ecd8002064da7189fbeae5d /Build/source/texk/dvipdfm-x/dpxcrypt.h
parent90e1eb12c7fa4c597d0b72e1a8af3186110e2bb2 (diff)
texk/dvipdfm-x: No reason to use 'long' for 32-bit integers
git-svn-id: svn://tug.org/texlive/trunk@38194 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/dpxcrypt.h')
-rw-r--r--Build/source/texk/dvipdfm-x/dpxcrypt.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/dvipdfm-x/dpxcrypt.h b/Build/source/texk/dvipdfm-x/dpxcrypt.h
index 2510feedd28..e6c8f651cd0 100644
--- a/Build/source/texk/dvipdfm-x/dpxcrypt.h
+++ b/Build/source/texk/dvipdfm-x/dpxcrypt.h
@@ -38,7 +38,7 @@ typedef struct {
} MD5_CONTEXT;
void MD5_init (MD5_CONTEXT *ctx);
-void MD5_write(MD5_CONTEXT *ctx, const unsigned char *inbuf, unsigned long inlen);
+void MD5_write(MD5_CONTEXT *ctx, const unsigned char *inbuf, unsigned int inlen);
void MD5_final(unsigned char *outbuf, MD5_CONTEXT *ctx);
typedef struct {
@@ -63,7 +63,7 @@ typedef struct
void SHA256_init (SHA256_CONTEXT *ctx);
void SHA256_write(SHA256_CONTEXT *ctx,
- const unsigned char *inbuf, unsigned long inlen);
+ const unsigned char *inbuf, unsigned int inlen);
void SHA256_final(unsigned char *outbuf, SHA256_CONTEXT *ctx);
void SHA384_init (SHA512_CONTEXT *ctx);
@@ -71,7 +71,7 @@ void SHA384_init (SHA512_CONTEXT *ctx);
#define SHA384_final(b,c) SHA512_final((b),(c))
void SHA512_init (SHA512_CONTEXT *ctx);
void SHA512_write(SHA512_CONTEXT *ctx,
- const unsigned char *inbuf, unsigned long inlen);
+ const unsigned char *inbuf, unsigned int inlen);
void SHA512_final(unsigned char *outbuf, SHA512_CONTEXT *ctx);
/* libgcrypt arcfour */
@@ -82,7 +82,7 @@ typedef struct {
#define AES_BLOCKSIZE 16
-void ARC4 (ARC4_CONTEXT *ctx, unsigned long len, const unsigned char *inbuf, unsigned char *outbuf);
+void ARC4 (ARC4_CONTEXT *ctx, unsigned int len, const unsigned char *inbuf, unsigned char *outbuf);
void ARC4_set_key (ARC4_CONTEXT *ctx, unsigned int keylen, const unsigned char *key);
void AES_ecb_encrypt (const unsigned char *key, size_t key_len,