[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssl-cvs
Subject:    [CVS] OpenSSL: OpenSSL-fips-0_9_8-stable: openssl/crypto/aes/asm/ aes-...
From:       "Andy Polyakov" <appro () openssl ! org>
Date:       2008-12-27 13:37:45
Message-ID: 20081227133745.F20FD1EAE84E () master ! openssl ! org
[Download RAW message or body]

  OpenSSL CVS Repository
  http://cvs.openssl.org/
  ____________________________________________________________________________

  Server: cvs.openssl.org                  Name:   Andy Polyakov
  Root:   /v/openssl/cvs                   Email:  appro@openssl.org
  Module: openssl                          Date:   27-Dec-2008 14:37:45
  Branch: OpenSSL-fips-0_9_8-stable        Handle: 2008122713374500

  Modified files:           (Branch: OpenSSL-fips-0_9_8-stable)
    openssl/crypto/aes/asm  aes-586.pl aes-x86_64.pl

  Log:
    Sync aes/asm with stable branch.

  Summary:
    Revision    Changes     Path
    1.11.2.1.2.5+2  -1      openssl/crypto/aes/asm/aes-586.pl
    1.10.2.9    +4  -0      openssl/crypto/aes/asm/aes-x86_64.pl
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openssl/crypto/aes/asm/aes-586.pl
  ============================================================================
  $ cvs diff -u -r1.11.2.1.2.4 -r1.11.2.1.2.5 aes-586.pl
  --- openssl/crypto/aes/asm/aes-586.pl	14 Jun 2008 19:52:36 -0000	1.11.2.1.2.4
  +++ openssl/crypto/aes/asm/aes-586.pl	27 Dec 2008 13:37:45 -0000	1.11.2.1.2.5
  @@ -955,8 +955,9 @@
   
       &align	(4);
       &set_label("enc_tail");
  -	&push	($key eq "edi" ? $key : "");	# push ivp
  +	&mov	($s0,$key eq "edi" ? $key : "");
   	&mov	($key,$_out);			# load out
  +	&push	($s0);				# push ivp
   	&mov	($s1,16);
   	&sub	($s1,$s2);
   	&cmp	($key,$acc);			# compare with inp
  @@ .
  patch -p0 <<'@@ .'
  Index: openssl/crypto/aes/asm/aes-x86_64.pl
  ============================================================================
  $ cvs diff -u -r1.10.2.8 -r1.10.2.9 aes-x86_64.pl
  --- openssl/crypto/aes/asm/aes-x86_64.pl	17 Dec 2008 14:23:53 -0000	1.10.2.8
  +++ openssl/crypto/aes/asm/aes-x86_64.pl	27 Dec 2008 13:37:45 -0000	1.10.2.9
  @@ -1198,6 +1198,8 @@
   	ret
   .align	4
   .Lcbc_enc_tail:
  +	mov	%rax,%r11
  +	mov	%rcx,%r12
   	mov	%r10,%rcx
   	mov	$inp,%rsi
   	mov	$out,%rdi
  @@ -1208,6 +1210,8 @@
   	.long	0xF689AAF3		# rep stosb
   	mov	$out,$inp		# this is not a mistake!
   	movq	\$16,$_len		# len=16
  +	mov	%r11,%rax
  +	mov	%r12,%rcx
   	jmp	.Lcbc_enc_loop		# one more spin...
   #----------------------------- DECRYPT -----------------------------#
   .align	16
  @@ .
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
CVS Repository Commit List                     openssl-cvs@openssl.org
Automated List Manager                           majordomo@openssl.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic