Check-in [0d816bdcfc]
Overview
Comment:Include stdint or inttypes depending on platform
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | rfc-6234
Files: files | file ages | folders
SHA1: 0d816bdcfc57cf07a213beb8fd598e05f8732b69
User & Date: rkeene on 2019-11-15 14:59:23
Other Links: branch diff | manifest | tags
Context
2019-11-15
15:07
Integrated RFC 6234 SHA1 implementation changes check-in: fa9ae90eae user: rkeene tags: 0.7.10, trunk
14:59
Include stdint or inttypes depending on platform Closed-Leaf check-in: 0d816bdcfc user: rkeene tags: rfc-6234
08:52
Replace a non-free implementation of SHA1 hash from RFC-3174 by a free one from RFC-6234. check-in: 5504b5dd47 user: sergei tags: rfc-6234
Changes

Modified sha.h from [50b6da60c9] to [7ecfeff9c2].

66
67
68
69
70
71
72



73



74
75
76
77
78
79
80
 *
 *        USE_MODIFIED_MACROS - use alternate form of the SHA_Ch()
 *                         and SHA_Maj() macros that are equivalent
 *                         and potentially faster on many systems
 *
 */




#include <stdint.h>



/*
 * If you do not have the ISO standard stdint.h header file, then you
 * must typedef the following:
 *    name              meaning
 *  uint64_t         unsigned 64-bit integer
 *  uint32_t         unsigned 32-bit integer
 *  uint8_t          unsigned 8-bit integer (i.e., unsigned char)







>
>
>
|
>
>
>







66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
 *
 *        USE_MODIFIED_MACROS - use alternate form of the SHA_Ch()
 *                         and SHA_Maj() macros that are equivalent
 *                         and potentially faster on many systems
 *
 */

#include "config.h"

#ifdef HAVE_STDINT_H
#  include <stdint.h>
#elif defined(HAVE_INTTYPES_H)
#  include <inttypes.h>
#endif
/*
 * If you do not have the ISO standard stdint.h header file, then you
 * must typedef the following:
 *    name              meaning
 *  uint64_t         unsigned 64-bit integer
 *  uint32_t         unsigned 32-bit integer
 *  uint8_t          unsigned 8-bit integer (i.e., unsigned char)