diff options
| author | Rouven Weßling <rouven@contentful.com> | 2016-01-29 13:47:47 +0100 |
|---|---|---|
| committer | Nikita Popov <nikic@php.net> | 2016-02-04 11:57:41 +0100 |
| commit | 7e0459e7cef32a143f8c0eb80b8b85e74b19c615 (patch) | |
| tree | a77a833853f69567af3c080324232eb4c739c445 /ext/hash/php_hash_ripemd.h | |
| parent | e93c28053d7d31853f59dc5adf0bfaff52819fb2 (diff) | |
| download | php-git-7e0459e7cef32a143f8c0eb80b8b85e74b19c615.tar.gz | |
Replace usage of php_hash_uint32 and php_hash_uint64 with uint32_t and uint64_t.
Remove the unused php_hash_int32 and php_hash_int64.
Diffstat (limited to 'ext/hash/php_hash_ripemd.h')
| -rw-r--r-- | ext/hash/php_hash_ripemd.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/hash/php_hash_ripemd.h b/ext/hash/php_hash_ripemd.h index e0aca994b6..ae29737756 100644 --- a/ext/hash/php_hash_ripemd.h +++ b/ext/hash/php_hash_ripemd.h @@ -24,26 +24,26 @@ /* RIPEMD context. */ typedef struct { - php_hash_uint32 state[4]; /* state (ABCD) */ - php_hash_uint32 count[2]; /* number of bits, modulo 2^64 (lsb first) */ + uint32_t state[4]; /* state (ABCD) */ + uint32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */ unsigned char buffer[64]; /* input buffer */ } PHP_RIPEMD128_CTX; typedef struct { - php_hash_uint32 state[5]; /* state (ABCD) */ - php_hash_uint32 count[2]; /* number of bits, modulo 2^64 (lsb first) */ + uint32_t state[5]; /* state (ABCD) */ + uint32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */ unsigned char buffer[64]; /* input buffer */ } PHP_RIPEMD160_CTX; typedef struct { - php_hash_uint32 state[8]; /* state (ABCD) */ - php_hash_uint32 count[2]; /* number of bits, modulo 2^64 (lsb first) */ + uint32_t state[8]; /* state (ABCD) */ + uint32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */ unsigned char buffer[64]; /* input buffer */ } PHP_RIPEMD256_CTX; typedef struct { - php_hash_uint32 state[10]; /* state (ABCD) */ - php_hash_uint32 count[2]; /* number of bits, modulo 2^64 (lsb first) */ + uint32_t state[10]; /* state (ABCD) */ + uint32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */ unsigned char buffer[64]; /* input buffer */ } PHP_RIPEMD320_CTX; |
