~ubuntu-branches/ubuntu/edgy/dovecot/edgy-security

« back to all changes in this revision

Viewing changes to src/lib/md4.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-06-30 15:13:37 UTC
  • mfrom: (1.10.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060630151337-l772crcoe5hfd4hw
Tags: 1.0.rc1-1ubuntu1
Merge from debian unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
 * memory accesses is just an optimization.  Nothing will break if it
43
43
 * doesn't work.
44
44
 */
45
 
#if defined(__i386__) || defined(__vax__)
 
45
#if defined(__i386__) || defined(__x86_64__) || defined(__vax__)
46
46
#define SET(n) \
47
47
        (*(const uint_fast32_t *)&ptr[(n) * 4])
48
48
#define GET(n) \
65
65
static const void *body(struct md4_context *ctx, const void *data, size_t size)
66
66
{
67
67
        const unsigned char *ptr;
68
 
        uint_fast32_t a, b, c, d;
69
 
        uint_fast32_t saved_a, saved_b, saved_c, saved_d;
 
68
        uint32_t a, b, c, d;
 
69
        uint32_t saved_a, saved_b, saved_c, saved_d;
70
70
 
71
71
        ptr = data;
72
72