The point of these changes is to reduce the skew between versions. They are not "random".
On Mon, Jun 4, 2012 at 11:12 PM, Andy Polyakov <ap...@openssl.org> wrote: > OpenSSL CVS Repository > http://cvs.openssl.org/ > ____________________________________________________________________________ > > Server: cvs.openssl.org Name: Andy Polyakov > Root: /v/openssl/cvs Email: ap...@openssl.org > Module: openssl Date: 05-Jun-2012 00:12:10 > Branch: HEAD Handle: 2012060422120703 > > Modified files: > openssl/crypto x86cpuid.pl > openssl/crypto/evp e_rc4_hmac_md5.c > openssl/crypto/modes gcm128.c > > Log: > Revert random changes from commit#22606. > > Summary: > Revision Changes Path > 1.7 +1 -2 openssl/crypto/evp/e_rc4_hmac_md5.c > 1.30 +1 -1 openssl/crypto/modes/gcm128.c > 1.27 +1 -1 openssl/crypto/x86cpuid.pl > ____________________________________________________________________________ > > patch -p0 <<'@@ .' > Index: openssl/crypto/evp/e_rc4_hmac_md5.c > ============================================================================ > $ cvs diff -u -r1.6 -r1.7 e_rc4_hmac_md5.c > --- openssl/crypto/evp/e_rc4_hmac_md5.c 3 Jun 2012 21:59:55 -0000 > 1.6 > +++ openssl/crypto/evp/e_rc4_hmac_md5.c 4 Jun 2012 22:12:10 -0000 > 1.7 > @@ -103,8 +103,7 @@ > #if !defined(OPENSSL_NO_ASM) && ( \ > defined(__x86_64) || defined(__x86_64__) || \ > defined(_M_AMD64) || defined(_M_X64) || \ > - defined(__INTEL__) ) && \ > - !(defined(__APPLE__) && defined(__MACH__)) > + defined(__INTEL__) ) > #define STITCHED_CALL > #endif > > @@ . > patch -p0 <<'@@ .' > Index: openssl/crypto/modes/gcm128.c > ============================================================================ > $ cvs diff -u -r1.29 -r1.30 gcm128.c > --- openssl/crypto/modes/gcm128.c 3 Jun 2012 21:59:55 -0000 1.29 > +++ openssl/crypto/modes/gcm128.c 4 Jun 2012 22:12:08 -0000 1.30 > @@ -1752,7 +1752,7 @@ > > GHASH((&ctx),buf.c,sizeof(buf)); > start = OPENSSL_rdtsc(); > - for (i=0;i<100;++i) GHASH(&ctx,buf.c,sizeof(buf)); > + for (i=0;i<100;++i) GHASH((&ctx),buf.c,sizeof(buf)); > gcm_t = OPENSSL_rdtsc() - start; > printf("%.2f\n",gcm_t/(double)sizeof(buf)/(double)i); > } > @@ . > patch -p0 <<'@@ .' > Index: openssl/crypto/x86cpuid.pl > ============================================================================ > $ cvs diff -u -r1.26 -r1.27 x86cpuid.pl > --- openssl/crypto/x86cpuid.pl 3 Jun 2012 21:59:49 -0000 1.26 > +++ openssl/crypto/x86cpuid.pl 4 Jun 2012 22:12:07 -0000 1.27 > @@ -196,7 +196,7 @@ > > &function_begin_B("OPENSSL_far_spin"); > &pushf (); > - &pop ("eax") > + &pop ("eax"); > &bt ("eax",9); > &jnc (&label("nospin")); # interrupts are disabled > > @@ . > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > CVS Repository Commit List openssl-...@openssl.org > Automated List Manager majord...@openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org