List Info

Thread: OpenSSL: openssl/crypto/ md32_common.h




OpenSSL: openssl/crypto/ md32_common.h
country flaguser name
Germany
2007-04-30 12:19:13
  OpenSSL CVS Repository
  http://cvs.openssl.org/
 
____________________________________________________________
________________

  Server: cvs.openssl.org                  Name:   Andy
Polyakov
  Root:   /v/openssl/cvs                   Email:  approopenssl.org
  Module: openssl                          Date:  
30-Apr-2007 19:19:13
  Branch: HEAD                             Handle:
2007043018191200

  Modified files:
    openssl/crypto          md32_common.h

  Log:
    rll does not seem to be available on legacy s390.

  Summary:
    Revision    Changes     Path
    1.41        +5  -7      openssl/crypto/md32_common.h
 
____________________________________________________________
________________

  patch -p0 <<' .'
  Index: openssl/crypto/md32_common.h
 
============================================================
================
  $ cvs diff -u -r1.40 -r1.41 md32_common.h
  --- openssl/crypto/md32_common.h	30 Apr 2007 13:26:05
-0000	1.40
  +++ openssl/crypto/md32_common.h	30 Apr 2007 17:19:12
-0000	1.41
   -64,8 +64,7 
    * HASH_CBLOCK
    *	size of a unit chunk HASH_BLOCK operates on.
    * HASH_LONG
  - *	has to be at lest 32 bit wide, if it's wider, then
  - *	HASH_LONG_LOG2 *has to* be defined along
  + *	has to be at lest 32 bit wide.
    * HASH_CTX
    *	context structure that at least contains following
    *	members:
   -73,8 +72,8 
    *			...
    *			HASH_LONG	Nl,Nh;
    *			either {
  - *			HASH_LONG	data[HASH_LBLOCK];
  - *			unsigned char	data[HASH_CBLOCK];
  + *			  HASH_LONG	data[HASH_LBLOCK];
  + *			  unsigned char	data[HASH_CBLOCK];
    *			};
    *			unsigned int	num;
    *			...
   -98,7 +97,6 
    *	#define DATA_ORDER_IS_LITTLE_ENDIAN
    *
    *	#define HASH_LONG		MD5_LONG
  - *	#define HASH_LONG_LOG2		MD5_LONG_LOG2
    *	#define HASH_CTX		MD5_CTX
    *	#define HASH_CBLOCK		MD5_CBLOCK
    *	#define HASH_UPDATE		MD5_Update
   -178,11 +176,11 
   				: "r"(a), "I"(n));	
   			   ret;				
   			})
  -#  elif defined(__s390__) || defined(__s390x__)
  +#  elif defined(__s390x__)
   #   define ROTATE(a,n) ({ register unsigned int ret;	
   				asm ("rll %0,%1,%2"	
   				: "=r"(ret)		
  -				: "r"(a),
"I"(n):"cc");	
  +				: "r"(a), "I"(n));	
   			  ret;				
   			})
   #  endif
   .
____________________________________________________________
__________
OpenSSL Project                                 http://www.openssl.org
CVS Repository Commit List                    
openssl-cvsopenssl.org
Automated List Manager                          
majordomoopenssl.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )