From 3210a70fc0901be76b5d6623f97625e1b8d05d92 Mon Sep 17 00:00:00 2001 From: Moritz Schulte Date: Tue, 17 Jun 2003 17:38:48 +0000 Subject: 2003-06-17 Moritz Schulte * md.c (md_open): Use _gcry_fast_random_poll instead of fast_random_poll. * cipher.c (gcry_cipher_open): Likewise. * random.h (fast_random_poll): Removed macro. * blowfish.c, md4.c, md5.c, rmd160.c, sha1.c, sha256.c, sha512.c, tiger.c: Use Autoconf's WORDS_BIGENDIAN instead of our own BIG_ENDIAN_HOST. 2003-06-16 Moritz Schulte * random.c (getfnc_gather_random): Do not special-case USE_ALL_RANDOM_MODULES, make it the default. * dsa.c: Replace last occurences of old type names with newer names (i.e. replace MPI with gcry_mpi_t). * elgamal.c: Likewise. * primegen.c: Likewise. * pubkey.c: Likewise. * rsa.c: Likewise. --- cipher/tiger.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cipher/tiger.c') diff --git a/cipher/tiger.c b/cipher/tiger.c index f8e6f938..5b0ef9a2 100644 --- a/cipher/tiger.c +++ b/cipher/tiger.c @@ -670,7 +670,7 @@ transform( TIGER_CONTEXT *hd, byte *data ) { u64 a,b,c,aa,bb,cc; u64 x[8]; -#ifdef BIG_ENDIAN_HOST +#ifdef WORDS_BIGENDIAN #define MKWORD(d,n) \ ( ((u64)(d)[8*(n)+7]) << 56 | ((u64)(d)[8*(n)+6]) << 48 \ | ((u64)(d)[8*(n)+5]) << 40 | ((u64)(d)[8*(n)+4]) << 32 \ @@ -800,7 +800,7 @@ tiger_final( void *context ) _gcry_burn_stack (21*8+11*sizeof(void*)); p = hd->buf; -#ifdef BIG_ENDIAN_HOST +#ifdef WORDS_BIGENDIAN #define X(a) do { *(u64*)p = hd->a ; p += 8; } while(0) #else /* little endian */ #define X(a) do { *p++ = hd->a >> 56; *p++ = hd->a >> 48; \ -- cgit v1.2.1