mz.h   mz.h 
skipping to change at line 17 skipping to change at line 17
This program is distributed under the terms of the same license as zlib. This program is distributed under the terms of the same license as zlib.
See the accompanying LICENSE file for the full text of the license. See the accompanying LICENSE file for the full text of the license.
*/ */
#ifndef MZ_H #ifndef MZ_H
#define MZ_H #define MZ_H
/************************************************************************** */ /************************************************************************** */
/* MZ_VERSION */ /* MZ_VERSION */
#define MZ_VERSION ("3.0.10") #define MZ_VERSION ("4.0.5")
#define MZ_VERSION_BUILD (03000a) #define MZ_VERSION_BUILD (0x040005)
/* MZ_ERROR */ /* MZ_ERROR */
#define MZ_OK (0) /* zlib */ #define MZ_OK (0) /* zlib */
#define MZ_STREAM_ERROR (-1) /* zlib */ #define MZ_STREAM_ERROR (-1) /* zlib */
#define MZ_DATA_ERROR (-3) /* zlib */ #define MZ_DATA_ERROR (-3) /* zlib */
#define MZ_MEM_ERROR (-4) /* zlib */ #define MZ_MEM_ERROR (-4) /* zlib */
#define MZ_BUF_ERROR (-5) /* zlib */ #define MZ_BUF_ERROR (-5) /* zlib */
#define MZ_VERSION_ERROR (-6) /* zlib */ #define MZ_VERSION_ERROR (-6) /* zlib */
#define MZ_END_OF_LIST (-100) #define MZ_END_OF_LIST (-100)
skipping to change at line 115 skipping to change at line 115
#define MZ_HOST_SYSTEM_UNIX (3) #define MZ_HOST_SYSTEM_UNIX (3)
#define MZ_HOST_SYSTEM_WINDOWS_NTFS (10) #define MZ_HOST_SYSTEM_WINDOWS_NTFS (10)
#define MZ_HOST_SYSTEM_RISCOS (13) #define MZ_HOST_SYSTEM_RISCOS (13)
#define MZ_HOST_SYSTEM_OSX_DARWIN (19) #define MZ_HOST_SYSTEM_OSX_DARWIN (19)
/* MZ_PKCRYPT */ /* MZ_PKCRYPT */
#define MZ_PKCRYPT_HEADER_SIZE (12) #define MZ_PKCRYPT_HEADER_SIZE (12)
/* MZ_AES */ /* MZ_AES */
#define MZ_AES_VERSION (1) #define MZ_AES_VERSION (1)
#define MZ_AES_ENCRYPTION_MODE_128 (0x01) #define MZ_AES_MODE_ECB (0)
#define MZ_AES_ENCRYPTION_MODE_192 (0x02) #define MZ_AES_MODE_CBC (1)
#define MZ_AES_ENCRYPTION_MODE_256 (0x03) #define MZ_AES_MODE_GCM (2)
#define MZ_AES_KEY_LENGTH(MODE) (8 * (MODE & 3) + 8) #define MZ_AES_STRENGTH_128 (1)
#define MZ_AES_STRENGTH_192 (2)
#define MZ_AES_STRENGTH_256 (3)
#define MZ_AES_KEY_LENGTH_MAX (32) #define MZ_AES_KEY_LENGTH_MAX (32)
#define MZ_AES_BLOCK_SIZE (16) #define MZ_AES_BLOCK_SIZE (16)
#define MZ_AES_HEADER_SIZE(MODE) ((4 * (MODE & 3) + 4) + 2)
#define MZ_AES_FOOTER_SIZE (10) #define MZ_AES_FOOTER_SIZE (10)
/* MZ_HASH */ /* MZ_HASH */
#define MZ_HASH_MD5 (10) #define MZ_HASH_MD5 (10)
#define MZ_HASH_MD5_SIZE (16) #define MZ_HASH_MD5_SIZE (16)
#define MZ_HASH_SHA1 (20) #define MZ_HASH_SHA1 (20)
#define MZ_HASH_SHA1_SIZE (20) #define MZ_HASH_SHA1_SIZE (20)
#define MZ_HASH_SHA224 (22) #define MZ_HASH_SHA224 (22)
#define MZ_HASH_SHA224_SIZE (28) #define MZ_HASH_SHA224_SIZE (28)
#define MZ_HASH_SHA256 (23) #define MZ_HASH_SHA256 (23)
 End of changes. 3 change blocks. 
7 lines changed or deleted 8 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/